双重参考书目,位于末尾和任何章节

双重参考书目,位于末尾和任何章节

大家好,我很难做章节参考书目。附件中有编译后的 pdf 和源代码。我希望有每个章节的参考书目,以及我已经有的最终参考书目。你能帮助我吗? https://dl.dropboxusercontent.com/u/15269862/main1.pdf https://dl.dropboxusercontent.com/u/15269862/questions.rar

最小示例:

\begin{filecontents*}{references.bib}
@BOOK{childs_temperature,
  title = {Practical Temperature Measurement},
  publisher = {Butterworth - Heinemann},
  year = {2001},
  author = {Childs, Peter R N},
  address = {Great Britain},
  edition = {1},
  isbn = {0 7506 5080 X}
  }

  @PHDTHESIS{hashemian,
  author = {Hashemian, Hashem Mehrdad},
  title = {Measurements of dynamic temperatures and pressures in nuclear power plants},
  school = {{The University of Western Ontario}},
  year = {2011},
  type = {PhD {T}hesis}
  }
\end{filecontents*}

\documentclass{report}
\usepackage[style=alphabetic,backend=bibtex]{biblatex}
\addbibresource{references.bib}
\begin{document}
\begin{refsection}
\chapter{First chapter}
\section{Foo}
Some text \cite{childs_temperature}.
\printbibliography
\end{refsection}

\begin{refsection}
\chapter{Second chapter}
\section{Bar}
Some text \cite{hashemian}.
\printbibliography[heading=subbibliography]
\end{refsection}


\printbibliography{}
\end{document}

答案1

使用biblatex及其包选项refsegment=chapter,您可以在每章末尾添加这样的命令

\printbibliography[heading=subbibliography,segment=N]

其中 N 必须设置为章节号。该选项heading=subbibliography只是将此书目设为节级书目。

裸目录\printbibliography应该给你一个整体的、章节级别的参考书目。

这是我在 2013 年 5 月使用过的,所以我猜是biblatex2.5 或 2.6 版。2.8 版 (第 49 页) 的文档似乎表明它仍然有效。

在您的示例中,其工作原理如下:

\begin{filecontents*}{references.bib}
@BOOK{childs_temperature,
  title = {Practical Temperature Measurement},
  publisher = {Butterworth - Heinemann},
  year = {2001},
  author = {Childs, Peter R N},
  address = {Great Britain},
  edition = {1},
  isbn = {0 7506 5080 X}
  }

  @PHDTHESIS{hashemian,
  author = {Hashemian, Hashem Mehrdad},
  title = {Measurements of dynamic temperatures and pressures in nuclear power plants},
  school = {{The University of Western Ontario}},
  year = {2011},
  type = {PhD {T}hesis}
  }
\end{filecontents*}

\documentclass{report}
\usepackage[style=alphabetic,backend=bibtex,refsegment=chapter]{biblatex}
\addbibresource{references.bib}
\begin{document}

\chapter{First chapter}
\section{Foo}
Some text \cite{childs_temperature}.
\printbibliography[heading=subbibliography,segment=\thechapter]

\chapter{Second chapter}
\section{Bar}
Some text \cite{hashemian}.
\printbibliography[heading=subbibliography,segment=\thechapter]

\printbibliography
\end{document}

相关内容