On Mon, May 2, 2022 at 4:11 PM Jérôme LAURENS <[email protected]>
wrote:

> According to the documentation you pointed out, a unique argument can be
> either a string or a table, but nothing about a single number
>
> Notice that the undocumented tex.print(<number>n) prints the number n
> whereas tex.print(<number>n, nil) prints nothing, which is expected despite
> it may feel "a little" out of bounds...
>
>
Numbers are converted to string --  this is quite common in Lua when there
is something to print -- but in this case the catcode regime can be
confusing.
I will add a note.


-- 
luigi

Reply via email to