[texworks] [XeTeX] Overfull boxes return status of 0 in XeTeX
Philip Taylor
P.Taylor at Rhul.Ac.Uk
Sun Mar 13 15:51:25 CET 2016
Wilfred van Rooijen wrote:
> It seems that the source code from TeXworks is available, so it should
> be possible to add a feature to "turn overfull boxes into some sort of
> error but not quite". You'd have to talk to the TeXworks people.
Only by inspecting the log file; please see below.
> On a linux computer, you could implement your own request by making an
> alias: make an executable file called "xelatex" and add it to the search
> path before the latex path; then, this new "xelatex" is really a script
> (shell script, or python, can be anything) which calls xelatex (with the
> absolute path to avoid confusion). When the xelatex run finishes, the
> script inspects the log file and provides a non-zero exit status on
> certain errors and warnings.
Yes, it is the "inspecting the log file" that I am trying to avoid, in
the interests of efficiency; an inspection of the log file should be
required (as it currently is) only if the status code returned by *TeX
is non-zero.
More information about the texworks
mailing list