GeneralCan't output to DVI after upgrade (always PDF)

General information and discussion about TeXnicCenter
Post Reply
kulnor
Posts: 3
Joined: Fri Mar 23, 2007 2:28 pm

Can't output to DVI after upgrade (always PDF)

Post by kulnor »

Hi,
I recently upgrade to 1 Beta 7.01 and can no longer produce a DVI output. Even if I select the DVI profile, the application always calls the pdfeTex and generates a PDF file instead. Any auggestion?
thanks
Pascal

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
Paulo
Posts: 7
Joined: Fri Feb 16, 2007 1:28 pm

Re: Can't output to DVI after upgrade (always PDF)

Post by Paulo »

Have yo defined your output profiles <ALT+F7> for DVI??
kulnor
Posts: 3
Joined: Fri Mar 23, 2007 2:28 pm

Re: Can't output to DVI after upgrade (always PDF)

Post by kulnor »

Yes, my LaTex => DVI profiles looks like:
Run LaTex in this profile: checked
Stop compilation if LaTex error occures: unchecked (also just noticed a typo in the dialog: should read Stop compilation "occurs")
Path to LaTex compiler: C:\Program Files\MiKTeX 2.5\miktex\bin\latex.exe
Command line argument: --src -interaction=nonstopmode "%Wm"

When I run, I get:
==== output profile Latex => DVI ====
This is pdfeTeX, version 3.141592-1.30.6-2-2 (MiKTex 2.5 Beta 7)
etc....

output written on myfilename.pdf

so this ends up producing a PDF file....
Are the command line parameters wrong?
thanks
*P
kulnor
Posts: 3
Joined: Fri Mar 23, 2007 2:28 pm

Can't output to DVI after upgrade (always PDF)

Post by kulnor »

Found the source of my problem....
the new release adds the following code when creating new document which leads to the PDF output.... just need to comment out....

Code: Select all

\newif\ifpdf
\ifx\pdfoutput\undefined
	\pdffalse              %%normal LaTeX is executed
\else
	\pdfoutput=1           
	\pdftrue               %%pdfLaTeX is executed
\fi
Post Reply