Crash Course in LaTeX

Basics: Errors While Compiling

What do you do if you get an error when compiling?
  1. Read the screen, especially toward the end of the output.  You can usually tell where the error occured, and often you can see what the error is.
  2. Press x (the X key) and press enter.  This will close the compiler and let you get back to editing the document source. You may have to do this a couple of times.
  3. Correct the mistake you made and try again.

Tips for avoiding errors:

Common errors: