参考书目 & \include

参考书目 & \include

我正在分头处理一个大项目,我决定最好的方法是分别编写每个章节,然后在主文档中使用 \include 命令。但是,我还需要参考书目。我考虑过使用 thebibliography 环境,但我很困惑。我需要在哪里执行此操作?在主文档中?如果是这样,我是否仍然可以在每个单独的文档上使用 \cite 函数?

先感谢您。

答案1

您也可以在子文件中进行所有引用。只需使用如下所示的结构:

% arara: pdflatex

\input{header} % header.tex in the same folder containing your preamble
%\includeonly{chapter/Chapter1} % optional to compile just one file

\begin{document}
\include{chapter/Chapter1}
\include{chapter/Chapter2}
\begin{thebibliography}{}
\bibitem{atuning}Volker Wollny (Hrsg.): {\textit Amiga--Tuning}.
                 Interest--Verlag, Augsburg, 1996.
\end{thebibliography}
\end{document}

相关内容