skip to content

Part III (MMath/MASt)

LaTeX using PWF linux Computers

This note describes how to process LaTeX documents on the University PWF computers running linux, using the emacs editor.

LaTeX is available on PWF computers running either Windows or linux. Windows is the default operating system; to start a computer in linux mode first shutdown Windows (press Ctrl+Alt+Delete and select Shutdown+restart) and select linux in the startup menu.

  1. First configure emacs to use the xdvi previewer. Create a file .emacs in your HOME directory containing the text

     (setq tex-dvi-view-command "xdvi") (setq tex-dvi-print-command "dvips") 
  2. To start up emacs select the Red Hat > Run Program... startup menu and type emacs.

  3. Create a .tex input file using C-x C-f and add your LaTeX text. Check that the file mode shown in the mode line at the bottom of the window is LaTeX. If not, make sure the file starts with a \documentclass statement, close the file and re-open it.

  4. Process the file using the TeX > TeX file menu.

  5. Preview the file using the TeX > TeX View menu.

Updated on 24 March 2004