[luatex] First (optional?) arguments of tex.getcount and friends.

Paul Isambert zappathustra at free.fr
Tue May 10 15:42:41 CEST 2011


Hello all,

I have noticed that the function tex.getcount() and similar can take any 
number of arguments and ignore them all but the last. E.g.:

\directlua{
   texio.write_nl(tex.getcount("a string", nothing, node.new(11), 55, 0))
}

returns "1", i.e. the value of count 0, ignoring the string, the nil 
value, the node, and the number.

Is that normal? Am I missing something? My LuaTeX is 0.71.

Best,
Paul


More information about the luatex mailing list