On 2013-07-12 at 13:46:38 +0100, T T wrote:
On 12 July 2013 10:36, Patrick Gundlach
wrote: Hi,
is it possible to programatically set the exit status of the LuaTeX run?
say something like this:
tex.exitstatus = 1
or \exitstatus=1 \bye
\directlua{os.exit(1)}
Or the other way round: tex.print([[\batchmode\errmessage{}\csname @@end\endcsname\end]]) Well, neither \directlua{} nor tex.print() is needed. ;) Regards, Reinhard -- ---------------------------------------------------------------------------- Reinhard Kotucha Phone: +49-511-3373112 Marschnerstr. 25 D-30167 Hannover mailto:reinhard.kotucha@web.de ---------------------------------------------------------------------------- Microsoft isn't the answer. Microsoft is the question, and the answer is NO. ----------------------------------------------------------------------------