[OS X TeX] Timing problem resolved

Bruno Voisin bvoisin at mac.com
Wed Mar 15 03:36:00 EST 2006


Le 15 mars 06 à 09:26, Joanna Rycko a écrit :

> Am 14.03.2006 um 22:58 schrieb Bruno Voisin:
>
>> \DeclareGraphicsExtensions{.jpg,.pdf}  % for pdfTeX
>> %\DeclareGraphicsExtensions{.eps}  % for TeX + dvips + GhostScript
>
> If you use the package "ifthen", you can write it as follows:
>
> \ifpdf
>    \DeclareGraphicsExtensions{.jpg,.pdf}
> \else
>    \DeclareGraphicsExtensions{.eps}
> \fi
>
> Then it won't be necessary to remove and put the comments, every  
> time you change the compiler between LaTeX and pdfLaTeX.

Do you mean the package "ifpdf", by any chance?

In any case, thanks for the tip. I was aware of this switch ifpdf,  
but I simply hadn't thought of using it here. Silly me!

Bruno------------------------- 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