Sadly that didn't help at all (neither on my thesis file nor on the minimal example). I'm attaching the minimal example with the logs. Adam PS: I've changed the line 191 and regenerated the formats. ________________________________________ From: Hans Hagen [pragma@wxs.nl] Sent: 16 April 2011 22:29 To: mailing list for ConTeXt users Cc: Reviczky, Adam Subject: Re: [NTG-context] bug with \cite in latest beta (2011.04.13) On 16-4-2011 8:53, Reviczky, Adam wrote:
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.
Does changing the line before it helps? 191: if first and last then -- also test on last must be some weird border case. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------