23 Feb
2011
23 Feb
'11
4:37 p.m.
Heiko said: Yes, you example and some testing shows, that it isn't tex.print, but \directlua seems to remove \par if it has its original meaning. \def\par{bar} \directlua{ foo = 1} Then Lua sees "barfoo = 1". Actually, have I just noticed, \par is removed if it is unexpandable, whatever its definition: \bgroup \protected\def\par{par} \directlua{texio.write_nl("foo\par")} \egroup prints "foo". And it is a feature, Taco says. Best, Paul