Boston University
Mathematics and Statistics
Mathematics and Statistics
Overview People Courses Programs of Study Seminars Special Programs Events Research Jobs
Mathematics and Statistics
next up previous contents
Next: Using runtex to Up: Using Runtex to Previous: Using Runtex to
 

Using Runtex to Preview a Document

To preview the LaTeX document homework.tex which was created in the last section on the screen , use:

math joe % runtex -preview -latex homework
---- running latex on homework ----
This is TeX, C Version 3.14t3
(homework.tex
LaTeX Version 2.09 <25 March 1992>
(/usr/local/lib/tex/inputs/article.sty
Standard Document Style `article' <14 Jan 92>.
(/usr/local/lib/tex/inputs/art10.sty))
No file homework.aux.
(homework.aux) )
Output written on homework.dvi (1 page, 264 bytes).
Transcript written on homework.log.

(The -latex option in the command above is necessary only when processing a LaTeX document).

The previewer that appears will vary according to what kind of terminal you are on. If you are using a VT220, a simple screen view of the document will appear. It is not a good representation of the actual document because a VT220 is not a graphics terminal. If you are using a windowing system on a Sun workstation, a more detailed view of the document will appear on the screen. In the above example, xdvi is used. This is a previewer used with the X Window System. For previewing the result of your TeX document on the screen, we suggest you use one of the workstations in the graphics lab with a windowing system.

Below is an example of how to use runtex to process a LaTeX file called testfile.tex and preview the first five pages of it on the screen:
math joe % runtex -latex -pages 1:5 -preview testfile



Tim Kohl
 
September 2004
Mathematics and Statistics
Boston University