Script started on Tue Jan 28 15:08:00 2003 This is a script showing how I am able to use a LaTeX document. This is on a Linux environment, but there are LaTeX programs that work with the MicroSoft operating systems. First, edit the file. I like to use the vi editor. [mweeks@mymachine ~/temp]$ vi example.tex Now, use the "latex" command to change the file from text into a formatted document. This is a bit like compiling a program. There are several warnings printed the first time, so I run it a second time to make sure everything is OK. (It reminds me of a 2-pass assembler). [mweeks@mymachine ~/temp]$ latex example This is TeX, Version 3.14159 (Web2C 7.3.1) (example.tex LaTeX2e <2000/06/01> Babel and hyphenation patterns for american, french, german, ngerman, i talian, nohyphenation, loaded. (/usr/share/texmf/tex/latex/base/article.cls Document Class: article 2000/05/19 v1.4b Standard LaTeX document class (/usr/share/texmf/tex/latex/base/size10.clo)) (/usr/share/texmf/tex/latex/graphics/graphics.sty (/usr/share/texmf/tex/latex/graphics/trig.sty) (/usr/share/texmf/tex/latex/config/graphics.cfg) (/usr/share/texmf/tex/latex/graphics/dvips.def)) No file example.aux. LaTeX Warning: Citation `Weste93' on page 1 undefined on input line 39. LaTeX Warning: Citation `LiY88' on page 1 undefined on input line 40. LaTeX Warning: Citation `BiS92' on page 1 undefined on input line 41. LaTeX Warning: Reference `fig:phasor1' on page 1 undefined on input line 44. LaTeX Warning: Reference `sec:intro' on page 1 undefined on input line 58. [1] [2] (example.aux) LaTeX Warning: There were undefined references. LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right. ) Output written on example.dvi (2 pages, 5080 bytes). Transcript written on example.log. [mweeks@mymachine ~/temp]$ latex example This is TeX, Version 3.14159 (Web2C 7.3.1) (example.tex LaTeX2e <2000/06/01> Babel and hyphenation patterns for american, french, german, ngerman, i talian, nohyphenation, loaded. (/usr/share/texmf/tex/latex/base/article.cls Document Class: article 2000/05/19 v1.4b Standard LaTeX document class (/usr/share/texmf/tex/latex/base/size10.clo)) (/usr/share/texmf/tex/latex/graphics/graphics.sty (/usr/share/texmf/tex/latex/graphics/trig.sty) (/usr/share/texmf/tex/latex/config/graphics.cfg) (/usr/share/texmf/tex/latex/graphics/dvips.def)) (example.aux) [1] [2] (example.aux) ) Output written on example.dvi (2 pages, 5056 bytes). Transcript written on example.log. [mweeks@mymachine ~/temp]$ It seems to have worked. The file "example.dvi" was generated, and I can view this file with the following command: [mweeks@mymachine ~/temp]$ xdvi example Since it looks good, I will convert it to postscript format. Most printer understand postscript. [mweeks@mymachine ~/temp]$ dvips example -o example.ps This is dvips(k) 5.86 Copyright 1999 Radical Eye Software (www.radicaleye.com) ' TeX output 2003.01.28:1509' -> example.ps . [1] [2] [mweeks@mymachine ~/temp]$ Now I will print it on "zorro". [mweeks@mymachine ~/temp]$ lpr -Pzorro example.ps [mweeks@mymachine ~/temp]$ Also, if I want to convert it to Adobe's portable document file format, the following command does this. [mweeks@mymachine ~/temp]$ ps2pdf example.ps example.pdf [mweeks@mymachine ~/temp]$ exit Script done on Tue Jan 28 15:10:11 2003