Re: [NTG-context] bug with \cite in latest beta (2011.04.13)
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
On Sat, 16 Apr 2011 07:53:20 +0100
"Reviczky, Adam"
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:
This is a (new) bug with cite; numbered lists are not working. I'll send Hans a report... Thomas
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 -----------------------------------------------------------------
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 -----------------------------------------------------------------
On 16-4-2011 11:51, Reviczky, Adam wrote:
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.
line 157: local current = tonumber(found.entries and found.entries.text) -- tonumber needed i wonder why this surfaces now ----------------------------------------------------------------- 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 -----------------------------------------------------------------
Thanks Hans! That was it, now it works again. Best wishes Adam ________________________________________ From: Hans Hagen [pragma@wxs.nl] Sent: 17 April 2011 15:57 To: Reviczky, Adam Cc: mailing list for ConTeXt users Subject: Re: [NTG-context] bug with \cite in latest beta (2011.04.13) On 16-4-2011 11:51, Reviczky, Adam wrote:
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.
line 157: local current = tonumber(found.entries and found.entries.text) -- tonumber needed i wonder why this surfaces now ----------------------------------------------------------------- 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 -----------------------------------------------------------------
participants (3)
-
Hans Hagen
-
Reviczky, Adam
-
Thomas Schmitz