[Dev-luatex] .BEILMOPS or how I stopped worrying and love Open Source

David Kastrup dak at gnu.org
Thu Dec 13 20:42:05 CET 2007


Taco Hoekwater <taco at elvenkind.com> 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
  }

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum


More information about the dev-luatex mailing list