Improve company productivity with a Business Account.Sign Up


.dvi files and how to view them

Posted on 2000-02-22
Medium Priority
Last Modified: 2013-11-13
I am just starting to use LaTeX and my version outputs files with the extension .dvi. I want to know what this type of document is and how to view it. Cheers inn advance and apologies as this is not strictly a Linux question.
Question by:bobhope021500
  • 2
  • 2
  • 2
  • +1

Expert Comment

ID: 2546071
DVI (DeVice Independent) is the output file that contains positions and types of the letters in the resulting document.

Under Linux, you can view it with xdvi, kdvi, or a similar viewer.

Expert Comment

ID: 2546551
Your next question is gonna be how to print them, isn't it?

Look at dvips for that. It comes with latex.

Expert Comment

ID: 2549683
Another question would probably be: "How can I control my settings"

There is a config tool for TeX called texconfig. (I don't know the exact name for it but look it up with locate)

You can set your ptinter etcetera.

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.


Author Comment

ID: 2550825
Well, with the little hint from joe_h that I should look for a .dvi viewer, I looked at Freshmeat and but didn't find anything. However, I did find a dvi to pdf converter and I have a pdf viewer, so that was alright. Printing isn't a problem in this format.
I'm not sure what you mean by "control settings". At the minute I am using emacs as the editor to write the docs, but as it only seems to have plugins for TeX and not LaTeX I am using the command line to compile the files. This will do me for now, as I have spent too long trying to get a method sorted for this tool.
If there are any hints or tips anyone wants to add they are more than welcome, but the question is to whom do I award the points? Hmm . . .
I don't think the last "proposed answer" is applicable, but the comment from joe_h is the closest thing to an answer I have had.

Accepted Solution

Reinier earned 120 total points
ID: 2551105
Usually xdvi comes with the latex package. Under RedHat you have to install tetex-xdvi-0.9-6.i386.rpm or newer. dvips is in the tetex-dvips-0.9-6 RPM. kdvi comes with the kdegraphics RPM.

BTW, I have never seen a site that didn't have xdvi when latex was also installed. Go bug your sysadmin about that. Translating dvi to pdf for viewing and printing is rediculous.

For better support of TeX and LaTeX in emacs consider installing the auctex extensions:
It will give you syntax colorring and a much enhanced latex mode in emacs.

Expert Comment

ID: 2551204
The TeX User Group is at - there, you will find everything you need and much, much more.
Including a more detailed description of .dvi format than I gave you in my previous comment.

Author Comment

ID: 2565969
Yep, it all makes sense now. I have been away from this site as I have lost my internet access temporarily (long story, to do with money). My system administrator is me, as I tend to work from home. I can now view either .ps, .pdf, or .dvi files and all is O.K. - cheers.

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Fine Tune your automatic Updates for Ubuntu / Debian
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to moveā€¦
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

579 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question