Working on a large document? Producing output can take quite some time, but with the following tricks you can save some of it…
Add the following two lines to your preamble and Latex will not produce any output pages, while still checking that your syntax is correct and working.
\usepackage{syntonly} \syntaxonly
Just comment out the second line if you want to see the output file:
\usepackage{syntonly} % \syntaxonly