Generalbiblatex printbibliography continue numbering after each chapter

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
marbocam
Posts: 41
Joined: Thu Dec 19, 2024 11:14 am

biblatex printbibliography continue numbering after each chapter

Post by marbocam »

Hi all,

I'm having an issue trying to get my references numbering to a continuous mode after each chapter, and can't figure out how to fix the issue for the life of me...

Here's my preamble:

Code: Select all

\usepackage[backend=bibtex,style=ieee,natbib=true,maxnames=100,minnames=100, defernumbers=true]{biblatex}
\addbibresource{references.bib}
Then I, for each chapter, do:

Code: Select all

\addcontentsline{toc}{section}{References}
\printbibliography[heading=subbibliography,keyword=chap3]
Originally, I was adding 'resetnumbers=false', but it's just not working... Any idea how I can continue the reference numbering after each chapter?

Thanks in advance!!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
Stefan Kottwitz
Site Admin
Posts: 10359
Joined: Mon Mar 10, 2008 9:44 pm

Re: biblatex printbibliography continue numbering after each chapter

Post by Stefan Kottwitz »

It could be defined in the document class you are using, in your template, some package; this information is missing. The code you showed doesn't cause this.

Try this, click "Run LaTeX here", it's the same settings as you have, except that I removed the defernumbers and keyword options (the code example and bibliography items are from my LaTeX Cookbook):

Code: Select all

\documentclass{report}
\usepackage[backend=bibtex,style=ieee,natbib=true,maxnames=100,minnames=100]{biblatex}
\begin{filecontents}{references.bib}
@book{DK86,
  author = "D.E. Knuth",
  title = "The {\TeX}book",
  publisher = "Addison Wesley",
  year = 1986
}
@article{DK89,
  author = "D.E. Knuth",
  title = "Typesetting Concrete Mathematics",
  journal = "TUGboat",
  volume = 10,
  number = 1,
  pages = "31--36",
  month = apr,
  year = 1989
}
@book{Lamport,
  author = "Leslie Lamport",
  title = "\LaTeX: A Document Preparation System",
  publisher = "Addison Wesley",
  year = 1986
}
\end{filecontents}
\addbibresource{references.bib}
\begin{document}
\chapter{\TeX}
To study \TeX\ in depth, see \autocite{DK86}. For writing math texts,
see \autocite{DK89}.
\chapter{\LaTeX}
The basic reference for \LaTeX\ is \autocite{Lamport}.
\addcontentsline{toc}{section}{References}
\printbibliography[heading=subbibliography]
\end{document}
Perhaps post some more information. A refsection setting may be hiding somewhere.

Stefan
LaTeX.org admin
marbocam
Posts: 41
Joined: Thu Dec 19, 2024 11:14 am

Re: biblatex printbibliography continue numbering after each chapter

Post by marbocam »

It worked!! I just needed to remove 'defernumbers=true' :lol:

Thank you so much, Stefan!!
Post Reply