next up previous
Next: Stopping LaTeX When Up: Running a Sample Previous: Where to locate

How to run LaTeX

To run LaTeX on the input file file, simply enter the following command:

latex file
If the file has the extension .tex then you can omit the extension when running LaTeX. i.e. to run LaTeX on the input file file.tex, you can use either of the following commands:
latex file or latex file.tex

If all goes well, this should generate a number of files, including the following:

If all did not go well, then you'll find yourself at a LaTeX prompt, and if you're lucky, then there will be an error report printed out just above the prompt which you can match to one of the errors listed in chapter eight of the LaTeX User's Guide, where you can find more detailed information on interpreting these messages.



Brian Edmonds
Mon Jan 15 08:45:54 PST 1996