[OS X TeX] Search order graphics extension
herbs at wideopenwest.com
Wed Feb 9 22:36:16 CET 2011
On Feb 9, 2011, at 10:42 AM, Christian Pleul wrote:
> 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?
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
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.
(herbs at wideopenwest dot com)
More information about the macostex-archives