restricted system commands enabled.
**lua-function-calls.tex
(./lua-function-calls.tex[\directlua]:1: boom 1
stack traceback:
[C]: in function 'error'
[\directlua]:1: in function <[\directlua]:1>.
l.7 \luafunction1
\luafunction2 \luafunction3 \luafunction4
The lua interpreter ran into a problem, so the
remainder of this lua chunk will be ignored.
[\directlua]:1: attempt to index a nil value (local 'x')
stack traceback:
[\directlua]:1: in function <[\directlua]:1>.
l.7 \luafunction1 \luafunction2
\luafunction3 \luafunction4
The lua interpreter ran into a problem, so the
remainder of this lua chunk will be ignored.
[\directlua]:1: boom 1
stack traceback:
[C]: in function 'error'
[\directlua]:1: in function <[\directlua]:1>.
l.8 \directlua{tex.print("printed")}\luafunction1
The lua interpreter ran into a problem, so the
remainder of this lua chunk will be ignored.
[0])
Output written on lua-function-calls.dvi (1 page, 132 bytes).