1

I am looking at printing bibliography at end of each chapter, where only cited contents need to be printed in it. But I am getting all the contents printed at the end of each chapter. I am using

\documentclass{report}
\usepackage[backend=biber,style=numeric,autocite=plain,sorting=none]{biblatex}
\addbibresource{report.bib}
\begin{document}
\chapter{Chapter 1}
Test\cite{1}
\printbibliography[heading=subbibliography]
\chapter{Chapter 2}
Test\cite{2}\cite{3}
\printbibliography[heading=subbibliography]
\end{document}
tex
  • 3,445
  • See also https://tex.stackexchange.com/q/202281/35864, https://tex.stackexchange.com/q/199336/35864 – moewe May 01 '19 at 16:03

1 Answers1

0

Giving

\usepackage[backend=biber, refsegment=chapter, defernumbers=true]{biblatex}
\printbibliography[segment=1,heading=subbibliography]

Solved the problem

tex
  • 3,445
  • 1
    It might be more convenient to let biblatex figure out the segment number automatically: segment=\the\value{refsegment}. (This should work in most set-ups, but might go wrong if the bibliography heading initiates a new segment of its own.) If the chapters are more self-contained one could look into using refsections instead of refsegment. refsections keep their contents completely separate, which would mean that the numbering would restart at 1 for each chapter. – moewe May 01 '19 at 16:06