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

David Kastrup dak at gnu.org
Thu Dec 13 18:18:24 CET 2007


Heiko Oberdiek <oberdiek at uni-freiburg.de> writes:

> On Thu, Dec 13, 2007 at 02:40:07PM +0100, Taco Hoekwater wrote:
>
>> General remark: suck attempts to squeeze tex input to behave
>> like lua source code are hard to debug and even harder to
>> predict. It is much less confusing if you create either an
>> environment like
>> 
>>    \startluacode
>>    ..
>>    \stopluacode
>> 
>> with appropriate catcode changes, 
>
> And \endlinechar=10 \catcode10=12 to enable the Lua parser
> seeing multiple lines instead of one merged huge line.

What's the beef with that?  Except inside of strings (where \n will work
fine), the Lua parser does not consider line endings to be different
from spaces.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum



More information about the dev-luatex mailing list