Solved

.dvi files and how to view them

Posted on 2000-02-22
7
357 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
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 

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

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.

803 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