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]
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?
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
-
- Posts: 3
- Joined: Sat Feb 17, 2007 10:21 am
Re: latex=>DVI just creates pdf file
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]
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).
-
- Posts: 3
- Joined: Sat Feb 17, 2007 10:21 am
Re: latex=>DVI just creates pdf file [solved]
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]
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}
