[luatex] Lua interface to \errmessage ?

Manuel Pégourié-Gonnard mpg at elzevir.fr
Thu May 20 17:50:21 CEST 2010


Unless I'm mistaken, there is currently no Lua interface to TeX's primitive
\errmessage (and \errhelp). Of course, there is Lua's error(), but it doesn't
exactly allow to generate nice-looking messages :-)

Did I miss something? Is there anything like this planned? (A function like
tex.errmessage(<string> message, [<string> long_help]) would be great, for example.)


PS: using tex.sprint("\errmessage{...}") won't work, eg, inside an \edef.

More information about the luatex mailing list