9 Oct
2007
9 Oct
'07
9:04 a.m.
Hello,
\directlua 0{ if ("ab" ~= "cb") then do texio.write_nl("not equal") end end } \bye
results in ! LuaTeX error [string "luas[0]"]:1: ')' expected near '\'.
This is with yesterday's svn.
Try \directlua 0{\unexpanded{...}} \bye. \directlua expands its arguments completely, thus also expands the ~, which is active in at least PlainTeX, LaTeX and Context. @Taco: Perhaps a note in the manual about expansion in \directlua (and most likely \latelua) would be useful.
eythan
Jonathan