Running a Sample File

Before preparing your own documents, you may want to get acquainted with LATEX by running it on a sample input file. First make your own copy of the file sample.tex by typing the following OS/2 or DOS command:

     copy c:\emtex\texinput\sample.tex
(You may have to use a different drive letter. This and all other commands are ended by typing return.) A copy of the file sample.tex is now in your current directory; you can edit it just like any other file. If you destroy or mess up your copy, typing the above command again gets you a fresh one.

Next, run LATEX on the file sample.tex by typing:

     latex sample
When LATEX has finished, it will have produced the file sample.dvi in your directory. You can print this file by typing a command like
     prthplj sample
See the dvidrv manual for details.

After your output has been printed, you can delete sample.dvi by typing

     del sample.dvi