With the following versions of ConTeXt, LuaTeX, and t-bib:
MTXrun | main context file: /opt/context/beta/tex/texmf-context/tex/context/base/context.tex
MTXrun | current version: 2009.04.21 16:11
This is LuaTeX, Version beta-0.40.0-2009042222 luatex.web >= v2344
%D \module
%D [ file=t-bib,
%D version=2009.04.17,
Using the following in a file named bibliography.bib:
@TechReport{WhoAmI2009,
author = {Who Am I},
title = {Foo, Bar, Baz},
institution = {Boo},
year = {2009},
number = {42},
month = {January}
}
With the following as my test file:
\usemodule[bib]
\usemodule[bibltx]
\setupbibtex[database=./bibliography]
\setuppublications[sorttype=bbl,criterium=all]
\setuppublications[numbering=short,autohang=yes,refcommand=key]
\starttext
\input knuth \cite[WhoAmI2009]
\stoptext
I get the following error:
! Undefined control sequence.
<argument> ... [\bibrefprefix ][\sectionseparator
]
\expanded ...\long \xdef \@@expanded {\noexpand #1
}\@@expanded
\preparebibreflist ...refix ][\sectionseparator ]}
\storeitem
\gotobiblink ...brefprefix \preparebibreflist {#2}
\global \bibreffoundfalse ...
\next1 #1,->\dobibkeyref {#1}
\doprocesscommaitem
\doprocesscommalist ...item \gobbleoneargument #1,
]\relax \global \advance \...
...
l.9 \stoptext
If I change \cite[WhoAmI2009] to \cite[short][WhoAmI2009], then the document will build without errors if there are no intermediate files but without actually inserting the citation key: I just get the empty pair []. If there are intermediate files, then I get the familiar:
! Undefined control sequence.
<argument> ... [\bibrefprefix ][\sectionseparator
]
\expanded ...\long \xdef \@@expanded {\noexpand #1
}\@@expanded
\preparebibreflist ...refix ][\sectionseparator ]}
\storeitem
\gotobiblink ...brefprefix \preparebibreflist {#2}
\global \bibreffoundfalse ...
\next1 #1,->\dobibshortref {#1}
\doprocesscommaitem
\doprocesscommalist ...item \gobbleoneargument #1,
]\relax \global \advance \...
...
l.8 \input knuth \cite[short][WhoAmI2009]
I hope this helps!
Kevin
Thomas A. Schmitz wrote:a test file would be handy indeed as i have no clue how to invoke the bug
1. The problem with the bib module persists. I don't get any errors anymore about undefined control sequences, the bbl file is loaded, but no output is produced. I hope I can produce a minimal test file tomorrow, unless you already have a test.
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________