Re: [2.96.1] problem: latex generates pdf rather than dvi
Thomas Esser <[email protected]>
| Newsgroups | gmane.comp.tex.tetex.beta |
|---|---|
| Message-ID | <[email protected]> |
> \ifx\pdfoutput\undefined
> \usepackage[dvips]{graphicx}
> % \usepackage[dvips,a4paper,breaklinks]{hyperref}
> \else
> \usepackage[pdftex]{graphicx}
> \usepackage[pdftex,a4paper,pageanchor,hyperfigures,breaklinks,%
> colorlinks,citecolor=blue,urlcolor=red,linkcolor=magenta]{hyperref
> }
> \pdfcompresslevel=9
> \fi
Make this
\usepackage{ifpdf}
\ifpdf
\usepackage[dvips]{graphicx}
\else
\usepackage[pdftex]{graphicx}
...
\fi
IMHO, it is wrong to assume that the user wants pdf output if the pdftex
engine is detected. It is in the documentation of pdftex for *ages*
(forever I think) that pdftex can well be used to produce dvi output.
Thomas