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
Filipe Guimarães
That’s a nice hint. Is there a way to see an output only with the text? I think it’d save time not to include the pictures, and I still could see the output text (that is necessary for me).
tom
Yes, you can use “draft” as optional argument in your documentclass command.
E.g.
See my post on that topic: http://texblog.wordpress.com/tag/draft/
Tom.
Filipe Guimarães
Thanks, Tom! (I was not following your (nice and useful) blog back then)
Maxime Gaudin
Nice ! Very useful for my git hooks, so I can check syntax (and syntax only) before commiting on my repository !
Thanks