[Dev-luatex] possible bug: tokenlist_to_luastring

James Quirk jjq at galcit.caltech.edu
Thu Oct 4 20:32:05 CEST 2007


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)

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.

Thanks in advance,


More information about the dev-luatex mailing list