[Dev-luatex] "error" in LuaTeX and Lua
Taco Hoekwater
taco at elvenkind.com
Tue Apr 29 12:05:25 CEST 2008
Jonathan Sauer wrote:
> (A) results in:
>
> This is LuaTeX, Version snapshot-0.25.2-2008041019 (Web2C 7.5.6)
> (Error.tex
> ! LuaTeX error ^^@?V[^^@^^@.
Thanks, fixed this (in repos). The code assumed that there always
was a message.
> (B) results in:
>
> This is LuaTeX, Version snapshot-0.25.2-2008041019 (Web2C 7.5.6)
> (Error.tex
> ! LuaTeX error [string "luas[0]"]:1: .
> l.5 \directlua0{error('')}
> % B
> ?
I've added the stack traceback to the output. It does not become
less confusing, though:
This is LuaTeX, Version snapshot-0.25.3-2008042911 (Web2C 7.5.6)
(error.tex
! LuaTeX error [string "luas[0]"]:1: test error
stack traceback:
[C]: in function 'error'
[string "luas[0]"]:1: in main chunk.
l.4 \directlua0{error('test error')}
% B
?
)
Best wishes,
Taco
More information about the dev-luatex
mailing list