hi,
i´v updated to miktex 2.5, and since then each time i try to compile a dvi file, it is not created - but the according pdf file.
any suggestions?
General ⇒ latex=>DVI just creates pdf file [solved]
-
- Posts: 3
- Joined: Sat Feb 17, 2007 10:21 am
latex=>DVI just creates pdf file [solved]
Last edited by ulli.winter on Sun Feb 18, 2007 11:51 pm, edited 1 time in total.
-
- Posts: 3
- Joined: Sat Feb 17, 2007 10:21 am
Re: latex=>DVI just creates pdf file
ok...
it was some strange template whicht caused the compiler to do so....
it was some strange template whicht caused the compiler to do so....
-
- Posts: 2
- Joined: Fri Feb 23, 2007 6:34 pm
latex=>DVI just creates pdf file [solved]
So how did you fix the problem?
I've got the same problem here with MikTeX 2.5.2580 and TeXnicCenter 1 Beta 7.01.
In LaTeX => DVI mode it seems to create a pdf and no dvi. The log says
Which doesn't make much sense as I want a DVI...
I've got the same problem here with MikTeX 2.5.2580 and TeXnicCenter 1 Beta 7.01.
In LaTeX => DVI mode it seems to create a pdf and no dvi. The log says
Code: Select all
This is pdfeTeX, Version 3.141592-1.30.6-2.2 (MiKTeX 2.5) (preloaded format=latex 2007.2.23) 23 FEB 2007 17:32
entering extended mode
[...]
Output written on out.pdf (7 pages, 59291 bytes).
Last edited by streawkceur on Fri Feb 23, 2007 6:53 pm, edited 1 time in total.
-
- Posts: 3
- Joined: Sat Feb 17, 2007 10:21 am
Re: latex=>DVI just creates pdf file [solved]
i used the report template...
in it a lot of
"\newif\ifpdf
\ifx\pdfoutput\undefined
\pdffalse %%normales LaTeX wird ausgeführt
\else
\pdfoutput=1
\pdftrue %%pdfLaTeX wird ausgeführt
\fi"
stuff
seems to decide by itself whether it creates a dvi or pdf
to make it short...
i deleted all "*pdf*" stuff
)
in it a lot of
"\newif\ifpdf
\ifx\pdfoutput\undefined
\pdffalse %%normales LaTeX wird ausgeführt
\else
\pdfoutput=1
\pdftrue %%pdfLaTeX wird ausgeführt
\fi"
stuff
seems to decide by itself whether it creates a dvi or pdf
to make it short...
i deleted all "*pdf*" stuff

-
- Posts: 2
- Joined: Fri Feb 23, 2007 6:34 pm
latex=>DVI just creates pdf file [solved]
I've had this code in my sources:
It seems as LaTeX would automatically create a PDF when the package hyperref is loaded with the option pdftex.
But this package should only be loaded when we're running pdflatex. So apperently the pdflatex-detection (ifpdf) seems to be wrong.
So I removed the code for the detection and just loaded this package, which does the same:
Now the code at the bottom works and I get DVI and PDF as wanted. 
Code: Select all
% will be used further below.
\newif\ifpdf
\ifx\pdfoutput\undefined
\pdffalse % we are not running pdflatex
\else
\pdfoutput=1 % we are running pdflatex
%\pdfcompresslevel=9 % compression level for text and image;
\pdftrue
\fi
...
\ifpdf
\usepackage[pdftex,pdfauthor={\autor},pdftitle={\titel}]{hyperref}
\fi
But this package should only be loaded when we're running pdflatex. So apperently the pdflatex-detection (ifpdf) seems to be wrong.
So I removed the code for the detection and just loaded this package, which does the same:
Code: Select all
\usepackage{ifpdf}
