4

I'm using the example in section 3.11.3: Multiple Bibliographies of the Biblatex Documentation. I want to combine it with this example to get per-section cited and uncited bibliographies.

It's not working, and I'm not sure why. Here's an example:

\documentclass{report}
\usepackage[defernumbers=true,sorting=none]{biblatex}
\DeclareBibliographyCategory{cited}
\AtEveryCitekey{\addtocategory{cited}{\thefield{entrykey}}}

\addbibresource{foo.bib}
\nocite{*}

\begin{document}
\begin{refsection}
Hello, World~\cite{foo}.
\printbibliography[title={My References},heading=subbibliography,category=cited]
\printbibliography[title={Future Reading},heading=subbibliography,notcategory=cited]
\end{refsection}
\end{document}

The contents of foo.bib:

@techreport{foo,
    Author = {Nault, R. M.},
    Institution = {The World},
    Title = {A report on things that matter.},
    Year = {2005}}

@techreport{bar,
    Author = {Bar, A. F.},
    Institution = {Moon Ltd},
    Title = {Moon-based Research On Moon Rocks},
    Year = {2005}}

This is giving me the cited references, but not producing a future reading section:

enter image description here

How can I successfully combine the two examples to produce a per-section cited and uncited reference list?

5

The problem seems to arise because of the scope of the refsection environment, which does not see your \nocite command. Moving said command into the environment, or suppressing the environment, works for me.

2
  • When I use refsection=chapter to achieve this, as in the MWE here overleaf.com/read/ymwmrckxsbxb -- the "References" and "Further Reading" references aren't correct. To me, it seems that cite and nocite aren't isolated refsectionwise... Will be happy to share any further info. Thanks! – Karthik Raman Apr 30 '20 at 9:11
  • @Christoph is it possible to number arrange the alphabetically (A-Z) and number them sequentially ? Like cited from 1- m and uncited from n+1 to m – Kunal Tiwari Jun 5 '20 at 9:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.