ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* register broken in latest beta!
@ 2010-10-11 16:50 Steffen Wolfrum
  2010-10-11 16:57 ` register broken on steffens machine Hans Hagen
  0 siblings, 1 reply; 8+ messages in thread
From: Steffen Wolfrum @ 2010-10-11 16:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

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.
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: register broken on steffens machine
  2010-10-11 16:50 register broken in latest beta! Steffen Wolfrum
@ 2010-10-11 16:57 ` Hans Hagen
  2010-10-11 17:03   ` Steffen Wolfrum
  0 siblings, 1 reply; 8+ messages in thread
From: Hans Hagen @ 2010-10-11 16:57 UTC (permalink / raw)
  To: Steffen Wolfrum; +Cc: mailing list for ConTeXt users

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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: register broken on steffens machine
  2010-10-11 16:57 ` register broken on steffens machine Hans Hagen
@ 2010-10-11 17:03   ` Steffen Wolfrum
  2010-10-12  9:40     ` Fwd: " Steffen Wolfrum
  2010-10-12 11:10     ` Steffen Wolfrum
  0 siblings, 2 replies; 8+ messages in thread
From: Steffen Wolfrum @ 2010-10-11 17:03 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

[-- Attachment #1: Type: text/plain, Size: 357 bytes --]


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



[-- Attachment #2: index_test.zip --]
[-- Type: application/zip, Size: 10530 bytes --]

[-- Attachment #3: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Fwd:  register broken on steffens machine
  2010-10-11 17:03   ` Steffen Wolfrum
@ 2010-10-12  9:40     ` Steffen Wolfrum
  2010-10-12 11:10     ` Steffen Wolfrum
  1 sibling, 0 replies; 8+ messages in thread
From: Steffen Wolfrum @ 2010-10-12  9:40 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 930 bytes --]


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 <context@st.estfiles.de>
> Datum: 11. Oktober 2010 19:03:24 MESZ
> An: mailing list for ConTeXt users <ntg-context@ntg.nl>
> Kopie: Hans Hagen <pragma@wxs.nl>
> Betreff: Re: [NTG-context] register broken on steffens machine
> Antwort an: mailing list for ConTeXt users <ntg-context@ntg.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
> 
> 

[-- Attachment #2: index_test.zip --]
[-- Type: application/zip, Size: 10530 bytes --]

[-- Attachment #3: Type: text/plain, Size: 512 bytes --]

> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________


[-- Attachment #4: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Fwd: register broken on steffens machine
  2010-10-11 17:03   ` Steffen Wolfrum
  2010-10-12  9:40     ` Fwd: " Steffen Wolfrum
@ 2010-10-12 11:10     ` Steffen Wolfrum
  2010-10-12 11:18       ` Hans Hagen
  1 sibling, 1 reply; 8+ messages in thread
From: Steffen Wolfrum @ 2010-10-12 11:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Taco Hoekwater

[-- Attachment #1: Type: text/plain, Size: 1706 bytes --]



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 <context@st.estfiles.de>
> Datum: 11. Oktober 2010 19:03:24 MESZ
> An: mailing list for ConTeXt users <ntg-context@ntg.nl>
> Kopie: Hans Hagen <pragma@wxs.nl>
> 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
> 
> 

[-- Attachment #2: index_test.zip --]
[-- Type: application/zip, Size: 10530 bytes --]

[-- Attachment #3: Type: text/plain, Size: 4 bytes --]

> 


[-- Attachment #4: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Fwd: register broken on steffens machine
  2010-10-12 11:10     ` Steffen Wolfrum
@ 2010-10-12 11:18       ` Hans Hagen
  2010-10-12 11:45         ` Steffen Wolfrum
  2010-10-12 11:53         ` register broken in latest beta! Steffen Wolfrum
  0 siblings, 2 replies; 8+ messages in thread
From: Hans Hagen @ 2010-10-12 11:18 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Taco Hoekwater, Steffen Wolfrum

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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Fwd: register broken on steffens machine
  2010-10-12 11:18       ` Hans Hagen
@ 2010-10-12 11:45         ` Steffen Wolfrum
  2010-10-12 11:53         ` register broken in latest beta! Steffen Wolfrum
  1 sibling, 0 replies; 8+ messages in thread
From: Steffen Wolfrum @ 2010-10-12 11:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen, Taco Hoekwater


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
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: register broken in latest beta!
  2010-10-12 11:18       ` Hans Hagen
  2010-10-12 11:45         ` Steffen Wolfrum
@ 2010-10-12 11:53         ` Steffen Wolfrum
  1 sibling, 0 replies; 8+ messages in thread
From: Steffen Wolfrum @ 2010-10-12 11:53 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-10-12 11:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-11 16:50 register broken in latest beta! Steffen Wolfrum
2010-10-11 16:57 ` register broken on steffens machine Hans Hagen
2010-10-11 17:03   ` Steffen Wolfrum
2010-10-12  9:40     ` Fwd: " Steffen Wolfrum
2010-10-12 11:10     ` Steffen Wolfrum
2010-10-12 11:18       ` Hans Hagen
2010-10-12 11:45         ` Steffen Wolfrum
2010-10-12 11:53         ` register broken in latest beta! Steffen Wolfrum

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).