[OS X TeX] Search order graphics extension
Christian Pleul
chrisptex at googlemail.com
Fri Feb 11 02:28:07 CET 2011
Am 09.02.2011 um 22:36 schrieb Herbert Schulz:
>
> 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.
Thank you! I am now using
\usepackage{epstopdf}
\epstopdfsetup{prepend,update,suffix=-epstopdf}
and it works out fine!
Best,
--
Christian
-Click. Boom. Amazing!-
Steve Jobs, 2006
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/macostex-archives/attachments/20110211/99ab3fe0/attachment.html>
More information about the macostex-archives
mailing list