[NTG-context] I want cited bib items only in my bibliography
Mikael P. Sundqvist
mickep at gmail.com
Thu Apr 5 10:24:40 CEST 2012
Dear list,
What is the right way today to get only the cited items in the
bibliography? I have some problems doing this. With the test file
% Start mps.tex
\usemodule[bib]
\setupbibtex[database=referenser]
\starttext
Foo~\cite[anno].
\subject{References}
\placepublications[] % I've read somewhere that this should work
%\placepublications[criterium=all]
\stoptext
% Stop mps.tex
I get an [[error 2]] in the pdf file where the citation is supposed to
be. Also, the References list is empty.
If I change \placepublications[] to \placepublications[criterium=all]
I get all entries in my bib file, even the ones that are not cited.
My referenser.bib is given below:
% Start referenser.bib
@book {anno,
AUTHOR = {Anno},
TITLE = {No},
SERIES = {National Bureau of International Bureau's},
VOLUME = {1},
YEAR = {2012},
PAGES = {10},
}
@article {bent,
AUTHOR = {Bent},
TITLE = {Yes},
JOURNAL = {Letters of Letters},
VOLUME = {369},
YEAR = {2013},
NUMBER = {1},
PAGES = {39--69},
}
% Stop referenser.bib
Best regards, Mikael
More information about the ntg-context
mailing list