我目前正在使用apacite
来完成我的论文,我想使用它multibib
来获得两个单独的参考书目。我该怎么做?这是一个 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}
答案1
使用包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}
这将创建一个文件annex.aux
,您也必须对该文件运行 BibTeX。在两个辅助文件都经过 BibTeX 处理后,照常运行 LaTeX 两次,您就会在最终文档中看到这两个参考书目。
使用包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}