8 Compiling a document

8.1 Debugging LaTeX source files

Great! We have just created a small latex file. The next step is to make the latex compiler create a .dvi file from it. Compiling via latex-suite is simple. Goto normal mode and press \ll (replace \ with whatever mapleader setting you have). This will call the latex compiler. If all goes well, then the focus should return to the vim window.

Nothing happend? Ouch! You might need to do some additional settings as described here.

Having got a taste for compiling, proceed by deleting the erroneous lines and re-compiling.

The Latex-Suite compiler is capable of much more including selectively filtering out common errors which you might want to ignore for the moment, compiling parts of a document, setting levels of verbosity in the compiler output etc. See here for more.