Changes

Jump to navigation Jump to search
Added notes
A solution was suggested [http://www.tug.org/pipermail/texhax/2009-November/013714.html on the texhax mailing list]; only one of the suggested hacks appears to work with ConTeXt. It requires the modification of the bibliography entries, and the definition of a new command. Below is a working example.
The BibTeX file, test.bib:
<texcode>
</texcode>
The document itself, test.tex:
<texcode>
% bibtex hack starts here
\def\gobblestop#1#2{#1}
\def\killstop{%
\aftergroup\gobblestop
}
% bibtex hack stops here
\setupbibtex[database={test},sort=author]
\stoptext
</texcode>
 
Notes:
 
* I successfully tested this example with ConTeXt MkIV version 2011.10.01
 
* Define the \killstop command before \starttext. The environment file is a good place for it, if you are using one.
 
* Note the modifications necessary to the BibTeX entry itself: an extra pair of braces, and insertion of \killstop at the end.
29

edits

Navigation menu