我知道cite
和biblatex
是不兼容的。此外, natbib
我bibtex.
查看了许多关于每章都有 bib 的问答,但除了 这正在处理多个 bib。我只有一个大 bib 和 5 个章节(单独的 .tex 文件)。
我想生成按章节排列的参考文献,而不是在最后生成一个。这是我的结构,我正在使用Pdflatex + bibtex + pdflatex*2 + viewpdf
:
目前,它在末尾生成了一个参考文献,但如果我想按章节生成该参考文献,并将 bib 行放在每个章节的 tex 文件末尾,它会给出错误。这个任务应该很简单,但事实并非如此。
\usepackage[cite]
\usepackage ...
\makeindex
\include{foreword}
\include{preface}
\tableofcontents
\mainmatter%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\include{part}
\selectlanguage{english}
\include{1-survey/survey}
\input{2-}
\input{3-}
\input{4-}
\input{5-}
\selectlanguage{english}
\backmatter%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\printindex
\bibliographystyle{plain}
\bibliography{bib/survey}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\end{document}
现在,正如biblatex 参考,biblatex
能够通过以下结构提供多个引用:
\documentclass{...}
\usepackage[...]{biblatex}
\addbibresource{bibfile.bib}
\begin{document}
\cite{...}
...
\printbibliography
\end{document}
我已经评论了我的include{cite}
并添加了那些而不是\bibliography
并且我收到此错误:
Process started
This is BibTeX, Version 0.99d (TeX Live 2015) The top-level auxiliary file:
book.aux A level-1 auxiliary file: foreword.aux A level-1 auxiliary file:
preface.aux A level-1 auxiliary file: acronym.aux A level-1 auxiliary file:
part.aux A level-1 auxiliary file: 1-survey/definitions.aux A level-1
auxiliary file: 4-/definitions.aux A level-1 auxiliary file:
5-/definitions.aux I found no \citation commands---while reading file book.aux
I found no \bibdata command---while reading file book.aux I found no \bibstyle
command---while reading file book.aux (There were 3 error messages)
有没有办法不改变我的编译流程?显然pdflatex
在latex
使用上存在差异。