[Dev-luatex] lpeg/setmaxstack unknown

Paul Isambert zappathustra at free.fr
Thu Feb 14 14:21:00 CET 2013


Patrick Gundlach <patrick at gundla.ch> a écrit:
> Hi,
> 
> this fails:
> 
> \directlua{
>   lpeg.setmaxstack(12345)
> }
> \bye
> 
> 
> 
> 
> ~/TeX/luatex/test$ luatex test
> This is LuaTeX, Version beta-0.70.2-2012062819 (TeX Live 2012)
>  restricted \write18 enabled.
> (./test.tex
> ! LuaTeX error <\directlua >:1: attempt to call field 'setmaxstack' (a nil valu
> e)
> stack traceback:
> 	<\directlua >:1: in main chunk.
> l.3 }
>      
> 
> WTF??? :))
> 
> (seriously: it's in the lpeg documentation - but I guess the 0.70.2 has an old version of lpeg? Perhaps without setmaxstack)?

The function exists in v.0.75.

Best,
Paul


More information about the dev-luatex mailing list