register broken in latest beta!
Hi, todays beta gives an error with this test (taken from strc-reg.kmiv at line 35): \starttext \placeregister[index] test \index{aa} test \startregister[index][x]{bb} test \page test \page test \page test \stopregister[index][x] \stoptext ! LuaTeX error ...text/tex/texmf-context/tex/context/base/sort-ini.lua:106: attempt to compare nil with number stack traceback: ...text/tex/texmf-context/tex/context/base/sort-ini.lua:106: in function <...text/tex/texmf-context/tex/context/base/sort-ini.lua:105> ...text/tex/texmf-context/tex/context/base/sort-ini.lua:416: in function 'firstofsplit' ...text/tex/texmf-context/tex/context/base/strc-reg.lua:403: in function 'finalize' ...text/tex/texmf-context/tex/context/base/strc-reg.lua:427: in function 'analyzed' ...text/tex/texmf-context/tex/context/base/strc-reg.lua:789: in function 'process' <main ctx instance>:1: in main chunk. system > error on line 8 in file index_ff.tex: LuaTeX error ... Greetings, Steffen BTW: I found three invalid characters (form feed?) in strc-reg.mkiv: at line 549, 568, 632.
On 11-10-2010 6:50, Steffen Wolfrum wrote:
system> error on line 8 in file index_ff.tex: LuaTeX error ....
runs ok here ... maybe delete the tuc file helps?
I found three invalid characters (form feed?) in strc-reg.mkiv: at line 549, 568, 632.
indeed ff and there are probably lots of them in sources (worked quite nice when we used an editor that used them as markers) ... nothing illegal with them afaik 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 -----------------------------------------------------------------
Am 11.10.2010 um 18:57 schrieb Hans Hagen:
On 11-10-2010 6:50, Steffen Wolfrum wrote:
system> error on line 8 in file index_ff.tex: LuaTeX error ....
runs ok here ... maybe delete the tuc file helps?
I created a new document in an empty folder: error! Attached you may find the zipped folder with all resulting files, please. Steffen
Hans, did you see the files below? What else can be causing that problem ... isn't all related stuff included in the minimal distributions? Steffen Anfang der weitergeleiteten E-Mail:
Von: Steffen Wolfrum
Datum: 11. Oktober 2010 19:03:24 MESZ An: mailing list for ConTeXt users Kopie: Hans Hagen Betreff: Re: [NTG-context] register broken on steffens machine Antwort an: mailing list for ConTeXt users Am 11.10.2010 um 18:57 schrieb Hans Hagen:
On 11-10-2010 6:50, Steffen Wolfrum wrote:
system> error on line 8 in file index_ff.tex: LuaTeX error ....
runs ok here ... maybe delete the tuc file helps?
I created a new document in an empty folder: error!
Attached you may find the zipped folder with all resulting files, please.
Steffen
___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
Hi Taco, as it calls itself "LuaTeX" error ... maybe you could have a look at it and hopefully confirm that error? ! LuaTeX error ...text/tex/texmf-context/tex/context/base/sort-ini.lua:106: attempt to compare nil with number stack traceback: ...text/tex/texmf-context/tex/context/base/sort-ini.lua:106: in function <...text/tex/texmf-context/tex/context/base/sort-ini.lua:105> ...text/tex/texmf-context/tex/context/base/sort-ini.lua:416: in function 'firstofsplit' ...text/tex/texmf-context/tex/context/base/strc-reg.lua:403: in function 'finalize' ...text/tex/texmf-context/tex/context/base/strc-reg.lua:427: in function 'analyzed' ...text/tex/texmf-context/tex/context/base/strc-reg.lua:789: in function 'process' <main ctx instance>:1: in main chunk. system > error on line 7 in file index_ff.tex: LuaTeX error ... I just run attached minimal example with yesterdays minimal distro (see included log file for context/luatex version number). Yours, Steffen Anfang der weitergeleiteten E-Mail:
Von: Steffen Wolfrum
Datum: 11. Oktober 2010 19:03:24 MESZ An: mailing list for ConTeXt users Kopie: Hans Hagen Betreff: Re: register broken on steffens machine Am 11.10.2010 um 18:57 schrieb Hans Hagen:
On 11-10-2010 6:50, Steffen Wolfrum wrote:
system> error on line 8 in file index_ff.tex: LuaTeX error ....
runs ok here ... maybe delete the tuc file helps?
I created a new document in an empty folder: error!
Attached you may find the zipped folder with all resulting files, please.
Steffen
On 12-10-2010 1:10, Steffen Wolfrum wrote:
Hi Taco,
as it calls itself "LuaTeX" error ... maybe you could have a look at it and hopefully confirm that error?
! LuaTeX error ....text/tex/texmf-context/tex/context/base/sort-ini.lua:106: attempt to compare nil with number stack traceback: ...text/tex/texmf-context/tex/context/base/sort-ini.lua:106: in function<...text/tex/texmf-context/tex/context/base/sort-ini.lua:105> ...text/tex/texmf-context/tex/context/base/sort-ini.lua:416: in function 'firstofsplit' ...text/tex/texmf-context/tex/context/base/strc-reg.lua:403: in function 'finalize' ...text/tex/texmf-context/tex/context/base/strc-reg.lua:427: in function 'analyzed' ...text/tex/texmf-context/tex/context/base/strc-reg.lua:789: in function 'process' <main ctx instance>:1: in main chunk.
system> error on line 7 in file index_ff.tex: LuaTeX error ....
should work ok with the latest ... did you delete the tuc file first? btw, this is related to the somewhat weird feature of setting index entries at the end - i might remove that feature if it keeps interfering - ----------------------------------------------------------------- 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 -----------------------------------------------------------------
Am 12.10.2010 um 13:18 schrieb Hans Hagen:
btw, this is related to the somewhat weird feature of setting index entries at the end - i might remove that feature if it keeps interfering -
When I have to deal with documents that were written in MSWord and export them to eg. TEI XML, it looks like this: <anchor type="bookmark-start" xml:id="Keyword"/> ... text, text ... <index> <term>Indexentry</term> <index> <term>Subentry</term> </index> </index> <anchor type="bookmark-end" corresp="#Keyword"/> So, setting the index entrie at the end matches this order quite well ... And as a lot of documents originally are written in MSWord your feature is very useful! Steffen
Am 12.10.2010 um 13:18 schrieb Hans Hagen:
On 12-10-2010 1:10, Steffen Wolfrum wrote:
Hi Taco,
as it calls itself "LuaTeX" error ... maybe you could have a look at it and hopefully confirm that error?
! LuaTeX error ....text/tex/texmf-context/tex/context/base/sort-ini.lua:106: attempt to compare nil with number stack traceback: ...text/tex/texmf-context/tex/context/base/sort-ini.lua:106: in function<...text/tex/texmf-context/tex/context/base/sort-ini.lua:105> ...text/tex/texmf-context/tex/context/base/sort-ini.lua:416: in function 'firstofsplit' ...text/tex/texmf-context/tex/context/base/strc-reg.lua:403: in function 'finalize' ...text/tex/texmf-context/tex/context/base/strc-reg.lua:427: in function 'analyzed' ...text/tex/texmf-context/tex/context/base/strc-reg.lua:789: in function 'process' <main ctx instance>:1: in main chunk.
system> error on line 7 in file index_ff.tex: LuaTeX error ....
should work ok with the latest ...
Yes, with todays beta (ConTeXt ver: 2010.10.12) it works again. Thanks for the fast fix! Steffen
participants (2)
-
Hans Hagen
-
Steffen Wolfrum