Changes

Jump to navigation Jump to search
Added working example
Note the ugly ‘?.’ conjunction at the end of the title.
 
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:
 
<texcode>
@article{art1,
title = {{Is this a question?\killstop}},
author = {Author, A.},
pages = {1--2},
journal = {Journal of Something},
volume = {1},
number = {2},
year = {2000}
}
</texcode>
 
The document itself:
 
<texcode>
\def\gobblestop#1#2{#1}
\def\killstop{%
\aftergroup\gobblestop
}
 
\setupbibtex[database={test},sort=author]
\setuppublications[sorttype=bbl,refcommand=authoryear]
\starttext
\cite[art1]
\placepublications[criterium=text]
\stoptext
</texcode>
29

edits

Navigation menu