Hello,

Here's a long-standing problem I have with BibTeX databases in ConTeXt
Mk IV (I'm currently using version 2011.10.01). If there are multiple
publications with the same authors and year, they get suffixes a, b,
etc. as is usually expected in bibliographies. Unfortunately these
suffixes appear even if only one of the works is actually cited.
Minimal example:

==> test.bib <==
@book{book2,
  title = {The second book},
  author = {Ann Author},
  year = {2000},
}

@book{book1,
  title = {The first book},
  author = {Ann Author},
  year = {2000},
}

==> test.tex <==
\setupbibtex[database={test},sort=author]
\setuppublications[sorttype=bbl,refcommand=authoryear]
\starttext
% \cite[book1] % uncomment to demonstrate ordering problem
\cite[book2]
\placepublications[criterium=text]
\stoptext

This gives a citation of Author (2000a) despite there being no Author
(2000b). A related problem is that even when both suffixes are used,
they are applied in the order of the original .bib file rather than in
the order of the typeset bibliography. So if \cite[book1] is
uncommented in the above example, the bibliography contains Author
(2000b) followed by Author (2000a).

I'm guessing that problem is that the whole BibTeX file is processed
into ConTeXt's \startpublication...stoppublication syntax, not just
the cited works. I can't see a way around the this, other than
creating a custom .bib file for each document with the problematic
entries removed or re-ordered. Does anyone have any suggestions?

Thanks,

Pont
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to