TeXworksCreate the DVI but not the PS or PDF

Information and discussion about TeXworks, an integrated LaTeX environment for several platforms
Post Reply
tex548
Posts: 2
Joined: Wed Oct 10, 2012 2:25 am

Create the DVI but not the PS or PDF

Post by tex548 »

I would like to know how to configure Texworks to create a dvi file without automatically generating the ps or pdf file.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

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: Create the DVI but not the PS or PDF

Post by localghost »

Due to its built-in PDF viewer TeXworks primarily aims at producing PDF with corresponding preconfigured typesetting profiles. Are there any good reasons that you want to create DVI? This format is only intermediate and not made for viewing. Nevertheless you can open a command line and compile with LaTeX instead of PDFLaTeX.


Best regards and welcome to the board
Thorsten
User avatar
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

Create the DVI but not the PS or PDF

Post by Stefan Kottwitz »

Hi,

welcome to the board!

Also I sometimes need to compile in DVI mode. At first I used the command line, just typing latex filename at the command prompt for producing the DVI file, later I configured TeXworks for this. You can easily add further typesetting tools such as LaTeX in dvi mode: in the main menu, click Edit / Preferences, choose Typesetting, and go to Processing Tools. There you can add a latex call by clicking the + button:
preferences.png
preferences.png (30.12 KiB) Viewed 21866 times
tool.png
tool.png (24.36 KiB) Viewed 21866 times
Choose an existing tool and click the Edit button to see how it's done for different engines.

Stefan
LaTeX.org admin
tex548
Posts: 2
Joined: Wed Oct 10, 2012 2:25 am

Create the DVI but not the PS or PDF

Post by tex548 »

localghost wrote:Are there any good reasons that you want to create DVI?
Yes, the difference between creating a PDF and creating a DVI can be the difference between 5 minutes and 5 seconds for a large document with EPS figures. Although DVI viewers require more processing than PDF viewers to display pages, this extra wait time is much less than if you were to convert to PDF. The extra second of load time per page for DVI viewers is easily tolerable for those who only want to look at a page or two before applying more edits.

In fact, this is (was, at least) the default functionality of Kile. A smart DVI viewer is packaged with Kile for the editing stages and only at the end would you convert to PDF.
Post Reply