biblatex 按章節引用和未引用的參考文獻列表

biblatex 按章節引用和未引用的參考文獻列表

3.11.3: Multiple Bibliographies我正在使用 部分中的範例Biblatex 文檔。我想將它與這個例子取得每個部分citeduncited參考書目。

它不起作用,我不知道為什麼。這是一個例子:

\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}

內容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}}

這給了我cited參考資料,但沒有產生一個future reading部分:

在此輸入影像描述

如何成功地將這兩個範例結合起來產生每個部分citeduncited參考清單?

答案1

問題似乎是由於環境範圍而出現的refsection,它看不到您的\nocite命令。將所述命令移到環境中或抑制環境對我來說很有效。

相關內容