Viewers for PDF, PS, and DVI ⇒ Alternative DVI Viewers
Alternative DVI Viewers
I like the TeXworks viewer that comes with MiKTeX, but unfortunately it doesn't seem to handle DVI files.
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Re: Alternative DVI Viewers
LaTeX aims more and more for PDF as final output format, be it by compiling directly with PDFLaTeX or indirectly with LaTeX to DVI with subsequent conversion via PS to PDF. And TeXworks accommodates to that with its internal PDF viewer and its settings for PDF producing compiler engines.
Best regards and welcome to the board
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Alternative DVI Viewers
Including just one of the eps files which contains 100 circles increases the compile time by ~1 second, and I can't figure out why. I am using the epstopdf package which converts the eps files during compile, but watching the console output during compile shows this is almost instantaneous.
Not embedding the images by using dvi output means that I can reliably compile in about 1 second, and is the only way I've found to speed up the compile process.
I've tried compiling with/without text and images and achieved the following times:
pdf:
no text, no images: 1 second
text, no images: 1 second
text, images: 6 seconds
dvi(no raster images):
no text, no images: 1 second
text, no images: 1 second
text, images: 1 second
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Alternative DVI Viewers
As far as I know, using the epstopdf package only converts the images once, hence following compilation processes should go faster. On modern TeX distributions (TeX Live 2010 and newer, MiKTeX 2.9) this package is not necessary any more. I still think that you are better with direct compilation by PDFLaTeX.
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Alternative DVI Viewers
I am using the Miktex texify command if that makes a difference (it can output pdf or dvi).
The epstopdf package seems to perform the conversion on every compile, and there are no converted pdf files remaining after the compilation process completes. I am using Miktex 2.9, so is there a better way to include eps files?
Thanks for your you help btw.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Re: Alternative DVI Viewers
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Alternative DVI Viewers
Re: Alternative DVI Viewers
Removing the -c option and adding -q (hide text output) brings the compilation down to 2-3 seconds for pdf. This also has the side effect of allowing pdfs created by epstopdf to remain after compilation, though this does clutter the folders somewhat.
It's still not as fast as dvi, but is a little more usable for me now.
Alternative DVI Viewers
IT gives me (used to) an "Inverse DVI search" (from DVI to the Editor).
That is certainly not possible in pdf/texworks
Alternative DVI Viewers
You are wrong. Almost all LaTeX editors with build in PDF viewers do support forward and inverse search. Usually to do a forward search, right-click on text in the source window and choose the optionjaslam810 wrote:I have yet another reason for using YAP.
IT gives me (used to) an "Inverse DVI search" (from DVI to the Editor).
That is certainly not possible in pdf/texworks
Jump to PDF
. To do an inverse search, right-click in the output window and choose Jump to Source
. Mostly these even work using an external PDF viewer, but surely not with every PDF viewer.