LaTeX forum ⇒ TeXworksCreate the DVI but not the PS or PDF Topic is solved

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

Create the DVI but not the PS or PDF

Postby tex548 » Wed Oct 10, 2012 2:32 am

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


User avatar
Site Moderator
Posts: 9204
Joined: Fri Feb 02, 2007 12:06 pm

Postby localghost » Wed Oct 10, 2012 9:53 am

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
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1

User avatar
Stefan Kottwitz
Site Admin
Posts: 9595
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Wed Oct 10, 2012 10:02 am


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 (30.12 KiB) Viewed 15514 times

tool.png (24.36 KiB) Viewed 15514 times

Choose an existing tool and click the Edit button to see how it's done for different engines.

Stefan admin

Posts: 2
Joined: Wed Oct 10, 2012 2:25 am

Postby tex548 » Wed Oct 10, 2012 4:36 pm

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.

Return to “TeXworks”

Who is online

Users browsing this forum: No registered users and 1 guest