[OS X TeX] Sending the same input to latex, htlatex and pdflatex

Morten Høgholm morten.hoegholm at gmail.com
Wed Jan 18 15:14:25 EST 2006


On Wed, 18 Jan 2006 21:12:13 +0100, Marcel Turcotte  
<turcotte at site.uottawa.ca> wrote:

> Hello everyone,
>
> I recently moved (back) to Mac OS.  On Solaris, I used to be
> able to send the same document to latex,htlatex and pdflatex.
>
> I was isolating the statements specific to pdflatex using something
> like this:
>
> \ifx\pdfoutput\undefined
> \usepackage[dvips]{hyperref}
> \else
> \usepackage[pdftex,colorlinks]{hyperref}
> \pdfcatalog{ /PageMode /UseNone }
> \fi

False test for pdf mode. See  
<http://www.tex.ac.uk/cgi-bin/texfaq2html?label=ifpdf>.
-- 
Morten
------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the MacOSX-TeX mailing list