[NTG-context] bug with \cite in latest beta (2011.04.13)

Reviczky, Adam adam.reviczky at kcl.ac.uk
Sat Apr 16 08:53:20 CEST 2011


So does anybody have a working example with 2011.04.13 for the cite?

Using this example gives me a luatex error, and it used to work with earlier beta's:

% sample.bib: http://wiki.contextgarden.net/sample_bib
%%%
\setupbibtex[database={sample},sort=author]
% apa works, but I don't want apa
% \setuppublications[alternative=apa]
% neither num or default doesn't work
\setuppublications[alternative=num]

\starttext
% \cite[][Eijkhout1991] works, but produces not a numbered output
\cite[Eijkhout1991]
\placepublications[criterium=all]
\stoptext
%%%

The error I get is:
! LuaTeX error /usr/share/texmf/tex/context/base/bibl-tra.lua:192: attempt to compare number with string
stack traceback:
	/usr/share/texmf/tex/context/base/bibl-tra.lua:192: in function 'resolve'
	<main ctx instance>:1: in main chunk.

Adam


More information about the ntg-context mailing list