Re: Determining pdf vs. dvi output at runtime

Thomas Esser <[email protected]>
Newsgroups gmane.comp.tex.tetex.general
Message-ID <[email protected]>
> I gather that in 3.0, \pdfoutput will be defined even when running 'latex' 
> - is this correct?

Yes and the ifpdf package does all that you need in a very proper way.

\usepackage{ifpdf}

\ifpdf
...pdftex in pdf mode
\else
...dvi mode...
\fi

Thomas
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.