-interaction <mode>
Starts the so-called interaction mode, which can be specified as
batchmode, nonstopmode, scrollmode or errorstopmode. The meaning of
these options is the same as for that of the corresponding \commands.
Which is to say that placing \batchmode as the first line in your document would have the same effect.
If you didn’t know about those commands, here’s what they do (from TeX usage tips):
The modes make TeX behave in the following way:
errorstopmode stops on all errors, whether they are about errors in the
source code or non-existent files.
scrollmode doesn't stop on errors in the source but requests input when a
more serious error like like a missing file occurs.
In the somewhat misnamed nonstopmode, TeX does not request input after
serious errors but stops altogether.
batchmode prevents all output in addition to that (intended for use in
automated scripts). In all cases, all errors are written to the log file
(yourtexfile.log).
-halt-on-error(your link) and-interaction=nonstopmode(Martin Scharrer) seems to be what I'm looking for. – Tim N Mar 13 '11 at 17:05-halt-on-errorexits on error. Exactly what I'm after. Ignoring or not printing errors is not helpful. Especially when make then thinks everything's up to date. I've never used the interactive thing. Imo shouldn't be default. – jozxyqk Feb 15 '14 at 11:53^d, modify source, and compile again. – lmat - Reinstate Monica May 01 '20 at 11:43