Mittwoch, 2. Februar 2011

LaTeX: Syntax Check Only

For large documents, it can be quite cumbersome to build the whole document. But on the other hand, when you don’t compile your document for a long time, it can be quite hard to fix tons of syntax errors. I recently came across this blog posts, which kind of solves this problem. The idea is to do the syntax check only during the compilation of your document without actually building the output file. This saves a lot of time and you can fix syntax errors early.

The only thing you need to get it working is to add the following to lines to your preamble:

\usepackage{syntonly}
\syntaxonly

That’s it. Smiley