[OS X TeX] Search order graphics extension

Daniel Becker d.becker at jpberlin.de
Wed Feb 9 21:11:06 CET 2011


Am 09.02.2011 um 17:42 schrieb Christian Pleul:

> Is there a way to change that behavior with pdflatex, so that firstly check for an eps file (if available convert it to pdf), then check for png, jpg what ever the default behavior is?

\usepackage[prepend]{epstopdf}

default is to append eps to the list of possible file-extension. You should also read about the suffix and prefersuffix options of epstopf and adjust them to your needs.

Other strategy: use complete filenames, with the extension

\includegraphics{image.eps}   => triggers an epstopdf-conversion and pdflatex uses that. always

\includegraphics{image.pdf}  => uses image.pdf even if other version image.png or so are available

daniel






More information about the macostex-archives mailing list