Finding bugs in latex documents that will not compile

From Docswiki
Revision as of 13:46, 13 May 2019 by Adk44 (talk | contribs) (Created page with "When you try to compile a latex document that contains an error - the compilation will halt with an (often cryptic) error message and a '''?''' prompt. At this point, you can...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

When you try to compile a latex document that contains an error - the compilation will halt with an (often cryptic) error message and a ? prompt. At this point, you can jump right to the line containing the error in your document by simply entering edit at the prompt i.e.

? edit

This launches vi and takes you straight there! When you're done, just save and exit and try compiling again. Repeat if necessary.