TMA325 Introduction to engineering mathematics

home

How to run latex

These are the commands that you use to create a LaTeX document:

emacs test.tex & (start emacs)
latex test (creates test.dvi, test.log, test.aux)
xdvi test & (view the document on the screen)
dvips test (print the document)
dvips test -PlabGps (print the document in room G)

These commands are also available from the emacs menu under the button "commands".

The command latex operates on the file test.tex and creates test.dvi, test.log, test.aux. The commands xdvi and dvips operate on the file test.dvi. The command dvips converts it to postscript and sends it to the printer.