Biblatex 使用关键词的多重参考书目不起作用

Biblatex 使用关键词的多重参考书目不起作用

我正在尝试打印单独的参考书目以供图表参考,但只有其中一个参考书目打印在文档末尾。

文档中的警告:

Keyword 'primary' not found on input line 8.
Empty bibliography on input line 8.

最小工作示例:

\documentclass{article} 
\usepackage{biblatex} 
\addbibresource{bib.bib}

\begin{document} 
Hello\cite{KandR} and Goodbye\cite{CUEDCplusplus}

\printbibliography[keyword=primary, title={Primary references}]
\printbibliography[notkeyword=primary, title={Other references}]
\end{document}

书目目录

@book{KandR,
   author  = {Kernighan, Brian W. and Ritchie, Dennis M.},
   title  = {The C Programming Language Second Edition},
   publisher = {Prentice-Hall, Inc.},
   year = {1988}
}

@online{CUEDCplusplus,
   keyword={primary},
   author  = {Love, T.P.},
   title   = {CUED C++},
   url = {http://www-h.eng.cam.ac.uk/help/tpl/languages/C++.html},
   urlyear = {2010}
}

结果截图 仅打印一份参考书目

答案1

那应该是keywords(带有 s!)在 bib 文件中:

 keywords={primary}

相关内容