<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_1_1457858464926_57116">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. <br></div><div id="yui_3_16_0_1_1457858464926_57117"><br></div><div id="yui_3_16_0_1_1457858464926_57118">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.</div><div id="yui_3_16_0_1_1457858464926_57304"><br></div><div id="yui_3_16_0_1_1457858464926_57305">Wilfred</div><div><br></div><div id="yui_3_16_0_1_1457858464926_57119"> <br></div><div id="yui_3_16_0_1_1457858464926_57382"><br></div><div id="yui_3_16_0_1_1457858464926_57038"><span></span></div> <div class="qtdSeparateBR"><br><br></div><div style="display: block;" class="yahoo_quoted"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"><font face="Arial" size="2"> On Sunday, March 13, 2016 11:32 PM, Philip Taylor <P.Taylor@Rhul.Ac.Uk> wrote:<br></font></div> <blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;"> <br><br> <div class="y_msg_container"><br clear="none"><br clear="none">Wilfred van Rooijen wrote:<br clear="none"><br clear="none">> Anyway, isn't there some kind of setting in TeXworks for this?<br clear="none"><br clear="none">Not at the moment.<br clear="none"><br clear="none">> Or is there perhaps a command line option for latex "turn warnings<br clear="none">> into errors", like with gcc?<br clear="none"><br clear="none">Also not at the moment, but that is essentially what I am requesting,<br clear="none">except that I don't want warnings to be treated as /full/ errors<br clear="none">(thereby pausing the compilation and demanding user input) but rather to<br clear="none">simply return a non-zero status (if that what the user wants) that can<br clear="none">then be interpreted by an intelligent wrapper such as TeXworks. My<br clear="none">suggestion is :<br clear="none"><br clear="none"> *TeX --return-non-zero-status-on=<set of keywords><br clear="none"><br clear="none">(where *TeX implies any of eTeX, PdfTeX, XeTeX, etc., and <keywords><br clear="none">might include "overfull-boxes", "missing-glyphs", etc.)<div class="yqt0674993087" id="yqtfd15303"><br clear="none"><br clear="none">** Phil.<br clear="none"><br clear="none"><br clear="none"><br clear="none"></div><br><br></div> </blockquote> </div> </div> </div></div></body></html>