[Dev-luatex] possible bug: tokenlist_to_luastring

Taco Hoekwater taco at elvenkind.com
Thu Oct 4 21:24:54 CEST 2007


James Quirk wrote:
> Hi,
> 
> With luatex-beta-0.11.2 when I run:
> 
> \directlua 0 {
>    local t = node.new('whatsit',8)
>    t.mode  = 1
>    t.data  = "1 0 0 rgb"
>    print (t.data)
> }
> \bye
> 
> I get the output:
> 
> \BAD.1 0 0 rgb
> 
> After investigating the matter, it seems that the routine 
> tokenlist_to_luastring is trying to output the reference count 
> set up by the routine tokenlist_from_lua. Hence the appearance
> of \BAD. Is this a bug? Or am I missing something?
> If it's the latter then I apologise.

I believe that is a bug. I'll check it out tomorrow.

Best wishes,
Taco



More information about the dev-luatex mailing list