Next: The XDVI Previewer Up: Document Creation and Previewing Previous: Plain Text   Contents

## TEXand LATEX

TEX is full facility type-setting program capable of producing documents of high quality. LATEX is a special version of TEX which has standard document layouts built in which makes it easier to use when producing new documents in these layouts. The document you are reading now uses LATEX. For both TEX and LATEX work you create a file with any editor which consists of the document and commands, all of which start with the character `'.

As a simple illustration of LATEX, log onto PPLXGEN and type:-

cp west/tex_examples/example.tex ./
Type out example.tex to see what it contains. Now pass it through LATEX by:-
latex example
This will display a few lines on the screen and produce the file example.dvi DVI stands for DeVice Independent - you will see why soon). The document starts with a table of contents but that will not be shown the first time you process the file; LATEX builds it but too late to add it to the output. However it stores the table in the file example.aux and running LATEX a second time will produce the table.

You can preview the results using XDVI.

Subsections

Next: The XDVI Previewer Up: Document Creation and Previewing Previous: Plain Text   Contents
n west (IT Staff) 2009-01-08