Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 383
  • Last Modified:

.dvi files and how to view them

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
bobhope021500
Asked:
bobhope021500
  • 2
  • 2
  • 2
  • +1
1 Solution
 
joe_hCommented:
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
 
ReinierCommented:
Your next question is gonna be how to print them, isn't it?

Look at dvips for that. It comes with latex.
0
 
toneusCommented:
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
Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

 
bobhope021500Author Commented:
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
 
ReinierCommented:
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
 
joe_hCommented:
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
 
bobhope021500Author Commented:
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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 2
  • 2
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now