[Tex/LaTex] Multiple bibiographies using biblatex, and resetting numbers

biblatexnumberingsubdividing

I am writing a sort of large CV, and I've split my publications into several blocks, using this:

\nocite{*}
\printbibheading[title={Publications}]
\printbibliography[nottype=online,heading=subbibliography,
title={Printed Sources},resetnumbers=true]
\printbibliography[type=online,heading=subbibliography,
title={Online Sources},resetnumbers=true]

which I mostly copied from the biblatex manual. However, the numbers aren't being reset as I want. The numbers in the Online Sources part, for example, go [13], [21], [29], [36] instead of [1], [2], [3], [4] as I'd like them to.

Probably there are options better suited to my purpose than resetnumbers, but I haven't found them yet. Basically I want each sub-bibliography to be numbered starting at [1], and increasing in increments of 1. Ideas or advice?

Best Answer

If you want to use the option resetnumbers=true when printing specific bibliographies, you have to define the option defernumbers=true globally.

This means that you have to load biblatex with the mentioned option, e.g.

\usepackage[defernumbers=true,backend=biber]{biblatex}

MWE just to test it

\documentclass{article}
\usepackage[defernumbers=true,backend=biber]{biblatex}

\addbibresource{biblatex-examples.bib}

\begin{document}

\nocite{*}
\printbibheading[title={Publications}]
\printbibliography[nottype=online,heading=subbibliography,
title={Printed Sources},resetnumbers=true]
\printbibliography[type=online,heading=subbibliography,
title={Online Sources},resetnumbers=true]

\end{document}

Output with defernumbers=true

enter image description here

and without it

enter image description here