4

I’m currently using apacite for my thesis and I would like to use multibib in order to have two separate bibliographies. How can I do that ? This a MWE :

\documentclass[12pt,a4paper,twoside=semi,footinclude=true,headinclude=true]{scrbook}
\usepackage[parts,pdfspacing,dottedtoc]{classicthesis}
\usepackage[numberedbib,nosectionbib]{apacite}
\usepackage{hyperref}
\begin{document} 
\backmatter
\section{Conclusion générale}
\bibnewpage 
\nocite{*}
{\raggedright 
\bibliographystyle{apacite} 
\bibliography{mabiblio}}
\end{document}
  • Have you marked the entries for the documentation annex part in a certain way? Or are they all in an extra file? – Johannes_B Dec 28 '15 at 13:53
  • I forgot the last part : the annexes. I modified my MWE. The documentation annex is in the same document. – domi Dec 28 '15 at 14:26
  • What i meant was: Did you mark the bibliography entries in a certain way, or are they in an extra bib-file? – Johannes_B Dec 28 '15 at 14:41
  • For the moment, I have got just one bib file (\nocite{*}). – domi Dec 28 '15 at 14:52
  • But you need some marker for the entries, that shall be printed in the annex. – Johannes_B Dec 28 '15 at 14:53
4
+50

Using package multibib:

\begin{filecontents}{domiMain.bib}
    @article{cc,
        author= {Crazy Capybara},
        year= {2015},
    }
\end{filecontents}
\begin{filecontents}{domiAnnex.bib}
    @article{bb,
        author= {Busy Bee},
        year= {2015},
    }
\end{filecontents}
\documentclass{article}
\usepackage{apacite}
\usepackage{multibib}
\newcites{annex}{Annex Stuff}
\bibliographystyle{apa}
\begin{document}
\section{usual stuff}
\nocite{*}
\bibliography{domiMain}
\appendix
\section{other stuff}
\nociteannex{*}
\bibliographystyleannex{apa}
\bibliographyannex{domiAnnex}
\end{document}

This will create a file annex.aux that you have to run BibTeX over as well. After both aux files have been processed by BibTeX, run LaTeX twice as usual and you see both bibliographies in your final document.


Using package biblatex:

%\RequirePackage{filecontents}
\begin{filecontents}{\jobname.bib}
    @article{cc,
        author= {Crazy Capybara},
        date= {2014},
    }
    @article{bb,
        author= {Busy Bee},
        date= {2015},
        keywords = {appendix}
    }
\end{filecontents}
\documentclass{article}
\usepackage[style=apa]{biblatex}
\DeclareLanguageMapping{english}{english-apa}
\addbibresource{\jobname.bib}
\begin{document}
\section{usual stuff}
\nocite{*}
\printbibliography[notkeyword=appendix]
\appendix
\section{other stuff}
\printbibliography[keyword=appendix]
\end{document}
|improve this answer|||||
  • I'm sorry but I understand very slowly. I'm not sure that your suggestions suit my needs. If I'm right, the two solutions you propose me imply that I have to use the \cite command in the main body of my text whereas I just need one section including the references I effectively cite and a section with references I don't cite in my text. Is that right ? – domi Dec 31 '15 at 10:56
  • 1
    The one you don't cite won't be included in any bibliography. You can add them using \nocite{*}, which will simply add all to the bibliography. The key is to separate the ones you cited from the ones not cited (which should be included in the annex), meaning either 1) slit the database (multibib) or 2) add a keywords field and use package biblatex. Either way, you have to change the input in some way or another. – Johannes_B Dec 31 '15 at 12:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.