Don’t make me manually abort a LaTeX compile when there’s an error

With MikTeX, pdflatex has this command-line option: -interaction=MODE Set the interaction mode; MODE must be one of: batchmode, nonstopmode, scrollmode, errorstopmode. Edit suggested by @9999years: Those values are equivalent to a set of LaTeX \commands that provide the same functionality. From TeX usage tips: The modes make TeX behave in the following way: errorstopmode stops … Read more