Contents:










Oddments:




More:




About this document

9. Hands-On: A

The aims of this hands-on session are for you to:


  1. Change directory to hands_on_A:
            cd hands_on_A


  2. You will find a file called letter_one.tex. (To see this type
            ls -l
    and hit return.) Compile this using the command
            latex letter_one
    or
            latex letter_one.tex
    (LaTeX adds the suffix .tex by default.) Preview the result by using xdvi:
            xdvi letter_one &
    Next convert to postscript:
            dvips letter_one.dvi
    and view the result using ghostview
            gv letter_one.ps &


  3. Make some simple changes to the text of letter_one.tex by using gedit, or other editor (Emacs!), recompile and preview the new version.

  4. Next we move onto a Plain TeX file containing some mathematics. You will find another TeX source file, this one called maths.tex, in hands_on_A. First compile the file:
            tex maths.tex      # ...tex not latex this time...
    (N.B. Not latex maths.tex.) Then (pre-)view it:
            xdvi maths.dvi &
    Finally convert it to postscript and view this:
     
            dvips maths.dvi
    then
     
            gv maths.ps &


  5. Make some simple changes to maths.tex by using gedit, recompile and preview the new version.




...previousup (conts)next...