13 Dec
2007
13 Dec
'07
8:18 p.m.
On Thu, Dec 13, 2007 at 08:42:05PM +0100, David Kastrup wrote:
Taco Hoekwater
writes: Heiko Oberdiek wrote:
\catcode`\{=1 \catcode`\}=2 \directlua0{ do local foo error("Error in third line") end } \endlinechar=10 %
Also:
\directlua0{ do local foo -- not used error("File gives an error because the comment does not end") end }
Well, it's LuaTeX, not Luaweb or so. So just use
\directlua0{ do local foo % not used error("File gives an error because the comment does end") end }
local s = "abc.def.ghi"
string.gsub(s, "%.", "/") % ups
;-)
Yours sincerely
Heiko