[OS X TeX] Search order graphics extension

Herbert Schulz herbs at wideopenwest.com
Wed Feb 9 16:36:16 EST 2011


On Feb 9, 2011, at 10:42 AM, Christian Pleul wrote:

> Hi,
> 
> I use TeX Live and pdflatex. When a png file is available with the same name it firstly includes that before an eps file is inserted.
> 
> 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?
> 
> 
> Best
> --
> 	Christian

Howdy,

Most likely because the default behavior is to append the extra graphics extension to the list. You can add the file extension to the file name in the \includegraphics command. 

You might get it to work automatically if you create an epstopdf.cfg file which contains the line

\epstopdfsetup{verbose,update,prepend}

and place it into ~/Library/texmf/tex/latex/config/ (you may have to create at least part of this train of folders) and see if that works.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)






More information about the MacOSX-TeX mailing list