BibTeX, biblatex and biber ⇒ How to make two bibliographies with apacite package ?
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Re: How to make two bibliographies with apacite package ?
A surgeon cannot fix a broken leg without looking at it and a mechanic can't fix a broken car without looking at it.
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
How to make two bibliographies with apacite package ?
Code: Select all
\begin{filecontents}{domiMain.bib}
@book{Abram2001,
author = {Abram, Jan},
title = {Le langage de Winnicott. {D}ictionnaire explicatif des termes winnicottiens},
Translator = {Athanassiou-Popesco, Cléopâtre},
publisher = {Éditions Popesco},
address = {Paris, France},
year = {2001},
originalyear = {1996},
}
@book{Alain1996,
author = {Alain},
title = {Souvenirs concernant {J}ules {L}agneau},
publisher = {Éditions Gallimard},
address = {Paris, France},
pages = {153-265},
year = {1996},
originalyear = {1925},
}
@book{Althusser2014,
author = {Althusser, Louis},
title = {Initiation à la philosophie pour les non-philosophes},
publisher = {Presses Universitaires de France},
address = {Paris, France},
year = {2014},
}
\end{filecontents}
\begin{filecontents}{domiAnnex.bib}
@article{bb,
author= {Busy Bee},
year= {2015},
}
\end{filecontents}
\documentclass{book}
\usepackage{apacite}
\usepackage{multibib}
\newcites{annex}{Annex Stuff}
\bibliographystyle{apa}
\begin{document}
\tableofcontents
\chapter{Argumentaire}
blabla \cite{Abram2001}
\nocite{*}
\bibliography{domiMain}
\appendix
\nociteannex{*}
\bibliographystyleannex{apa}
\bibliographyannex{domiAnnex}
\end{document}
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
How to make two bibliographies with apacite package ?
Code: Select all
\RequirePackage{filecontents}
\begin{filecontents}{domiMain.bib}
@book{Abram2001,
author = {Abram, Jan},
title = {Le langage de Winnicott. {D}ictionnaire explicatif des termes winnicottiens},
Translator = {Athanassiou-Popesco, Cléopâtre},
publisher = {Éditions Popesco},
address = {Paris, France},
year = {2001},
originalyear = {1996},
}
@book{Alain1996,
author = {Alain},
title = {Souvenirs concernant {J}ules {L}agneau},
publisher = {Éditions Gallimard},
address = {Paris, France},
pages = {153-265},
year = {1996},
originalyear = {1925},
}
@book{Althusser2014,
author = {Althusser, Louis},
title = {Initiation à la philosophie pour les non-philosophes},
publisher = {Presses Universitaires de France},
address = {Paris, France},
year = {2014},
}
\end{filecontents}
\begin{filecontents}{domiAnnex.bib}
@article{bb,
author= {Busy Bee},
year= {2015},
}
\end{filecontents}
\documentclass{book}
\usepackage{apacite}
\usepackage{natbib}
\usepackage{multibib}
\newcites{annex}{Annex Stuff}
\bibliographystyle{apa}
\begin{document}
\tableofcontents
\chapter{Argumentaire}
blabla \cite{Abram2001}
\nocite{*}
\bibliography{domiMain}
\appendix
\nociteannex{*}
\bibliographystyleannex{apa}
\bibliographyannex{domiAnnex}
\end{document}
Code: Select all
\RequirePackage{filecontents}
\begin{filecontents}{domiMain.bib}
@book{Abram2001,
author = {Abram, Jan},
title = {Le langage de Winnicott. {D}ictionnaire explicatif des termes winnicottiens},
Translator = {Athanassiou-Popesco, Cléopâtre},
publisher = {Éditions Popesco},
address = {Paris, France},
year = {2001},
originalyear = {1996},
}
@book{Alain1996,
author = {Alain},
title = {Souvenirs concernant {J}ules {L}agneau},
publisher = {Éditions Gallimard},
address = {Paris, France},
pages = {153-265},
year = {1996},
originalyear = {1925},
}
@book{Althusser2014,
author = {Althusser, Louis},
title = {Initiation à la philosophie pour les non-philosophes},
publisher = {Presses Universitaires de France},
address = {Paris, France},
year = {2014},
}
@article{bb,
author= {Busy Bee},
year= {2015},
keywords = {annex},
}
\end{filecontents}
\documentclass{book}
\usepackage[utf8]{inputenc}
\usepackage[style=apa]{biblatex}
\DeclareLanguageMapping{english}{english-apa}
\addbibresource{domiMain.bib}
\begin{document}
\tableofcontents
\chapter{Argumentaire}
blabla \cite{Abram2001}
\printbibliography[notkeyword=annex]
\nocite{bb}
\printbibliography[keyword=annex,title={Extra stuff}]
\end{document}
How to make two bibliographies with apacite package ?
Finally, it works, but I had to modify the command in this way : \citep{Abram2001} (p is here in bold to emphasize it, mais not in the latex code).
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
How to make two bibliographies with apacite package ?
Re: How to make two bibliographies with apacite package ?
1. according to APA norms, I have to indicate place published : publisher. For instance : Paris, France : Éditions Gallimard. But instead of this, I obtain : Éditions Gallimard, Paris, France. How to change that ?
2. Nor the entry called "References" nor the one called "Annex Stuff" appears in the table of contents.
What should I do ? (I mean: instead of stopping there and switch to a basic text editor...)
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
How to make two bibliographies with apacite package ?
Code: Select all
%\RequirePackage{filecontents}
\begin{filecontents}{domiMain.bib}
@book{Abram2001,
author = {Abram, Jan},
title = {Le langage de Winnicott. {D}ictionnaire explicatif des termes winnicottiens},
Translator = {Athanassiou-Popesco, Cléopâtre},
publisher = {Éditions Popesco},
address = {Paris, France},
year = {2001},
originalyear = {1996},
}
@book{Alain1996,
author = {Alain},
title = {Souvenirs concernant {J}ules {L}agneau},
publisher = {Éditions Gallimard},
address = {Paris, France},
pages = {153-265},
year = {1996},
originalyear = {1925},
}
@book{Althusser2014,
author = {Althusser, Louis},
title = {Initiation à la philosophie pour les non-philosophes},
publisher = {Presses Universitaires de France},
address = {Paris, France},
year = {2014},
}
@article{bb,
author= {Busy Bee},
year= {2015},
keywords = {annex},
}
\end{filecontents}
\documentclass{book}
\usepackage[utf8]{inputenc}
\usepackage[style=apa]{biblatex}
\DeclareLanguageMapping{english}{english-apa}
\addbibresource{domiMain.bib}
\begin{document}
\tableofcontents
\chapter{Argumentaire}
blabla \cite{Abram2001}
\printbibliography[notkeyword=annex,heading=bibintoc]
\nocite{bb}
\printbibliography[keyword=annex,title={Extra
stuff},heading=bibintoc]
\end{document}
Re: How to make two bibliographies with apacite package ?
What can I do ?
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
How to make two bibliographies with apacite package ?
biblatex for idiots (The second part in Joseph's answer) as well as Cofigure my editor to avoid undefined references.
When it works on WriteLaTeX and Overleaf, but not on your machine, you are doing something different.