so, this is enoying because at some point I managed to do it, but now I can't figure it out... I need to restart the reference numbering after each chapter, but can't seem to achieve it..
Here's my code with a hopefully working example:
Code: Select all
\documentclass{report}
\usepackage[backend=bibtex,style=ieee,natbib=true,maxnames=100,minnames=100,defernumbers=true,citestyle=numeric-comp]{biblatex}
\begin{filecontents}{references.bib}
@book{DK86,
author = "D.E. Knuth",
title = "The {\TeX}book",
publisher = "Addison Wesley",
year = 1986,
keywords={chap1}
}
@article{DK89,
author = "D.E. Knuth",
title = "Typesetting Concrete Mathematics",
journal = "TUGboat",
volume = 10,
number = 1,
pages = "31--36",
month = apr,
year = 1989,
keywords={chap1}
}
@book{Lamport,
author = "Leslie Lamport",
title = "\LaTeX: A Document Preparation System",
publisher = "Addison Wesley",
year = 1986,
keywords={chap2}
}
\end{filecontents}
\addbibresource{references.bib}
\begin{document}
\chapter{\TeX}
To study \TeX\ in depth, see \autocite{DK86}. For writing math texts,
see \autocite{DK89}.
\addcontentsline{toc}{section}{References}
\printbibliography[heading=subbibliography,resetnumbers,keyword=chap1]
\chapter{\LaTeX}
The basic reference for \LaTeX\ is \autocite{Lamport}.
\addcontentsline{toc}{section}{References}
\printbibliography[heading=subbibliography,resetnumbers,keyword=chap2]
\end{document}