
3.11.3: Multiple Bibliographies
私はのセクションの例を使用していますBiblatex ドキュメント. 組み合わせたいこの例セクションごとcited
およびuncited
参考文献を取得します。
動作しませんが、その理由はよく分かりません。例を示します。
\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
セクションは生成しません。
2 つの例をうまく組み合わせて、セクションごとのcited
参考uncited
文献リストを作成するにはどうすればよいでしょうか?
答え1
refsection
問題は、コマンドが認識されない環境のスコープが原因で発生するようです\nocite
。このコマンドを環境に移動するか、環境を抑制すると、うまくいきます。