[NTG-context] Incompatibility bib num style / reference prefix option

Morgan Brassel morgan.brassel at free.fr
Sat Mar 15 17:27:21 CET 2008


Hi,

I think I discovered a bug in the 'num' alternative of the bib module. It 
seems to be incompatible with the prefix=+ option of referencing. The 
following example gives an unknow reference:

% tex file
\usemodule[bib]
\setupbibtex[database=biblio]
\setuppublications[alternative=num]
\setuphead[chapter][prefix=+] % <<<< OK if commented
\starttext
\chapter[chap:one]{One} % <<<< OK if commented
Text \cite[test] text.
\completepublications
\stoptext

% bib file biblio.bib
@BOOK{test,
  title = {T},
  publisher = {P},
  year = {Y},
  author = {A}
}

By the way, the 'num' alternative also gives an unknow reference when 
\completepublications is not present, while the default alternative is OK. Is 
there a particular reason for this? Thanks.

Greetings,
Morgan


More information about the ntg-context mailing list