Indiana University
University Information Technology Services
  
What are archived documents?
Login>>
Login

Login is for authorized groups (e.g., UITS, OVPIT, and TCC) that need access to specialized Knowledge Base documents. Otherwise, simply use the Knowledge Base without logging in.

Close

In Unix, how can I view a TeX or LaTeX document without printing it?

In Unix, the usual process for creating and printing TeX and LaTeX documents is to edit some source file (foo.tex, for example), then to compile it as you would a program, for example:

tex foo.tex

You'll then have a DVI formatted output (e.g., foo.dvi), which you can convert to PostScript and print. For instructions, see Unix printing using enscript, dvips, and psduplex.

The problem with this sequence is that it uses lots of paper if you print many copies in the process of correcting mistakes.

If you are working in an X Window System environment and you would like to avoid wasting paper, use Ghostview. Ghostview is a PostScript viewer that you can use to see your TeX output on the computer screen. To use Ghostview, in a terminal window, enter:

ghostview foo.ps

Versions of Ghostview are available for both MS-DOS and Mac OS. Ghostview is not the only option available, but it is the one UITS currently supports.

At Indiana University, for personal or departmental Linux or Unix systems support, see At IU, how do I get support for Linux or Unix?

This is document acuc in domain all.
Last modified on August 22, 2008.

Comments/Questions/Corrections

Use this form to offer suggestions, corrections, and additions to the Knowledge Base. We welcome your input!

If you are affiliated with Indiana University and would like assistance with a specific computing problem, please use the Ask a Consultant form, or contact your campus Support Center.

Contact Information

Note: We will reply to your comment at this address. If your message concerns a problem receiving email, please enter an alternate email address.