[luatex] Strange behavior of tex.print.

Patrick Gundlach patrick at gundla.ch
Fri Apr 29 07:46:06 CEST 2011


Hi Paul,

> The manual states about tex.print(n, <strings>) that ``if n is not a valid catcode table, then it is ignored, and the currently active catcode regime is used instead.'' However (with catcode table 1 not initialized):
> 
> tex.print(1, "a", "\relax")
> 
> returns ``aflflelax'' (with the ``fl'' ligature, i.e. character 13 in CM). So: is that a bug, an inaccuracy in the manual, or have I misunderstood something? My LuaTeX is v.0.66.

I am not awake yet: isn't this due to the single backslash? \r = 13 so that the chars 97,13,101,... get printed. I can't explain the f before the e, so my attempt is probably wrong.

Patrick




More information about the luatex mailing list