<div dir="ltr">2016-03-13 18:34 GMT+01:00 Philip Taylor <span dir="ltr"><<a href="mailto:P.Taylor@rhul.ac.uk" target="_blank">P.Taylor@rhul.ac.uk</a>></span>:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class=""><br>
<br>
Zdenek Wagner wrote:<br>
<br>
> In MS-DOS, Windows, and OS/2 the script interpreter is recognized by a<br>
> file extension.<br>
<br>
</span>Er, yes; but does that help ? Does that in any way allow (say) TeXworks<br>
to use a script written in Lua, if its own internal scripting language<br>
is other than Lua ?<br></blockquote><div><br></div><div>In the very same way as TeX is called. It has to start a shell (cmd.exe in Windows) and ask it to start the lua interpreter and execute the lua script. If you want to analyze the log file immediatelly, I would write a lua script that would run tex, then looked into the log file and then generate an output and/or status code for the front end. The script would know the TeX command and the file name, hence it would know the name of the log file. You can invent command lines parameters for the script itself so that you can ask it to extract various pieces of information from the log to the console. One of my scripts extracts information on all overful \hboxes and the underful \hbox with the greatest badness. <br></div></div><br><br><br clear="all"><div><div class="gmail_signature">Zdeněk Wagner<br><a href="http://ttsm.icpf.cas.cz/team/wagner.shtml" target="_blank">http://ttsm.icpf.cas.cz/team/wagner.shtml</a><br><a href="http://icebearsoft.euweb.cz" target="_blank">http://icebearsoft.euweb.cz</a></div></div>
<br><br></div></div>