Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm trying to print a sperate bibliography for references for figures but only one of the bibliographies prints at the end of the document.

Warnings in the document:

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

Minimal working example:

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

bib.bib

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

Screenshot of the result Only one bibliography prints

share|improve this question
2  
+1 for the MWE. –  domwass Feb 9 '12 at 9:32
add comment

1 Answer

up vote 12 down vote accepted

That should be keywords (with s!) in the bib-file:

 keywords={primary}
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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