晚上好。
我正在写论文,我想在每一章中放一个参考书目。为此,我使用这个包\usepackage{chapterbib}
,并在每一章的末尾定义相关的参考书目。
但是当我编译时,我会在每章末尾重复第一个参考书目,并且知道我给每个参考书目都赋予了一个特定的名称。
你能帮助我吗?谢谢
答案1
bibunits
如果你必须使用旧的 BiBTeX,我会使用包,例如(调用这个test.tex
)
\documentclass{report}
\usepackage[sectionbib]{bibunits}
\usepackage{url}
\begin{document}
\title{My Thesis}
\author{A N Other}
\maketitle
\begin{bibunit}[ieeetr]
\chapter{Intro}
Text \cite{flynn2009}
\putbib[test]
\end{bibunit}
\begin{bibunit}[vancouver]
\chapter{Research}
Text \cite{flynn2013}
\putbib[test]
\end{bibunit}
\begin{bibunit}[acm]
\chapter{Conclusion}
Text \cite{flynn2016}
\putbib[test]
\end{bibunit}
\end{document}
运行一些可以自动化该过程的东西,例如latexmk
,使用它作为你的 test.bib,例如latexmk -gg -pdf -bibtex test
@inproceedings{flynn2009,
author = {Peter Flynn},
title = {{Why writers don't use \textsc{xml}:
The usability of editing software for structured documents}},
series = {{Balisage---The Markup Conference (11--14 August)}},
year = {2009},
address = {Montr\'{e}al, \textsc{qc}},
publisher = {Balisage Series on Markup Technologies},
volume = {3},
url = {http://www.balisage.net/Proceedings/vol3/html/Flynn01/BalisageVol3-Flynn01.html}
}
@inproceedings{flynn2013,
author = {Peter Flynn},
title = {{Markup to generate markup to generate markup}},
subtitle = {Using \textsc{xml} to create and maintain
\LaTeX{} packages and classes},
series = {{Balisage---The Markup Conference (6--9 August 2013)}},
year = {2013},
address = {Montréal, \textsc{qc}},
publisher = {Balisage Series on Markup Technologies},
volume = {10},
url = {http://www.balisage.net/Proceedings/vol10/html/Flynn01/BalisageVol10-Flynn01.html}
}
@book{flynn2016,
author = {Peter Flynn},
title = {{Formatting Information}},
publisher = {Silmaril},
address = {Cork, Ireland},
year = {2016},
month = {April},
url = {http://latex.silmaril.ie/formattinginformation/}
}
磷