Solved

.dvi files and how to view them

Posted on 2000-02-22
7
359 Views
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.
0
Comment
Question by:bobhope021500
  • 2
  • 2
  • 2
  • +1
7 Comments
 
LVL 2

Expert Comment

by:joe_h
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.
0
 
LVL 2

Expert Comment

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

Look at dvips for that. It comes with latex.
0
 
LVL 1

Expert Comment

by:toneus
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.

success!
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 

Author Comment

by:bobhope021500
ID: 2550825
Well, with the little hint from joe_h that I should look for a .dvi viewer, I looked at Freshmeat and Linuxapps.com 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.
0
 
LVL 2

Accepted Solution

by:
Reinier earned 30 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: http://sunsite.auc.dk/auctex/
It will give you syntax colorring and a much enhanced latex mode in emacs.
0
 
LVL 2

Expert Comment

by:joe_h
ID: 2551204
The TeX User Group is at http://www.tug.org - 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.
0
 

Author Comment

by:bobhope021500
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.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

837 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