Viewing, Printing, and Revising
Postscript and LaTeX Documents
on the SunRays in Fisher Hall
Note: If following these instructions does not work for you, please
contact me (trolson@mtu.edu)
so I can help you and revise the instructions
(last revised Fall '00).
Viewing and Printing from Netscape
The following steps will set your Netscape preferences so that you can
view a postscript file (using ghostview) by simply clicking on the link.
Then you can use the Print command in ghostview to get a hard copy.
- Under the Edit pull-down menu, choose Preferences.
- Choose the category Navigator and subcategory Applications
(Subcategories appear when you click the triangle to the left
of Navigator)
- Look through the applications to find something like ``image/*.ps''
or ``postscript'' or ``Postscript Document''. Select that application
by clicking on it.
- Click the Edit button (under the applications list) to begin editing
that application.
- The suffixes box should include ``ps,eps,eps.Z'' (possibly among
others in a list separated with commas). If the ``ps'' is not there,
be sure to type it in now (without the quotes).
- Under ``Handled By'', click the toggle button for Application
and type in ``ghostview %s''
(the only space is between ``ghostview'' and ``%s'').
- Click OK to complete the editing and OK to close the
Preferences box.
- You are done. Next time you click on a file with a ``.ps'' tag,
ghostview should automatically display the file.
(You may need to re-load Netscape to reset the new Preferences.)
Customizing/Editing a Worksheet
-
Editing the LaTeX (``___.tex'') document
If you know how to use a text editor, you can edit the text of
the downloaded LaTeX document.
Be aware of the following special symbols:
- The backslash `` \ '' indicates a Mathematica
typesetting command.
- The percent sign `` % '' indicates a comment:
Mathematica will ignore the rest of the line
(everything following the percent sign).
-
Running Mathematica to generate the figures
- Download the Mathematica notebook by holding the
shift key and clicking on the link.
- Exit Netscape and go to a free Unix window.
- Type ``mathematica [filename].nb''. Note that the full
filename (including the .nb suffix) is used and that
there are no capital letters.
- Once the notebook has come up on your screen, follow
the directions shown.
- Exit Mathematica by choosing Quit from the
File menu (upper left corner of the notebook).
-
Processing the LaTeX document to get a
postscript (``___.ps'') file
Suppose you have downloaded and edited the file ``w1_1.tex''.
Execute the following commands (at the prompt in a Unix window)
to generate the postscript file ``w1_1.ps'' and view it.
- latex w1_1
will generate the file ``w1_1.dvi''
- dvips w1_1.dvi -o w1_1.ps
will generate the file ``w1_1.ps''
(the ``-o'' option tells the computer what to name the output file)
- ghostview w1_1.ps
brings up the postscript file, w1_1.ps, for viewing and printing
-
Viewing and printing a postscript file
ghostview w1_1.ps
brings up the postscript file, w1_1.ps, for viewing and printing
Tamara Olson
trolson@mtu.edu