<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>Am 11.02.2011 um 02:39 schrieb Herbert Schulz:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><br>On Feb 10, 2011, at 7:28 PM, Christian Pleul wrote:<br><br><blockquote type="cite"><br></blockquote><blockquote type="cite">Am 09.02.2011 um 22:36 schrieb Herbert Schulz:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">On Feb 9, 2011, at 10:42 AM, Christian Pleul wrote:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Hi,<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">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.<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">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?<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Best<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">--<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre"> </span>Christian<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Howdy,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">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. <br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">You might get it to work automatically if you create an epstopdf.cfg file which contains the line<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">\epstopdfsetup{verbose,update,prepend}<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">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.<br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Thank you! I am now using<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">\usepackage{epstopdf}<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre"> </span>\epstopdfsetup{prepend,update,suffix=-epstopdf}<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">and it works out fine!<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Best,<br></blockquote><blockquote type="cite">--<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre"> </span>Christian<br></blockquote><br>Howdy,<br><br>I actually have an epstopdf.cfg file (in ~/Library/texmf/tex/latex/config/) that has<br><br>% to get old behavior foo.eps->foo.pdf as well as update,prepend<br>\epstopdfsetup{verbose,update,prepend,prefersuffix=false,suffix=}<br>% tif->png<br>\epstopdfDeclareGraphicsRule{.tif}{png}{.png}{convert #1 \OutputFile}<br>\PrependGraphicsExtensions{.tif}<br>% tiff->png<br>\epstopdfDeclareGraphicsRule{.tiff}{png}{.png}{convert #1 \OutputFile}<br>\PrependGraphicsExtensions{.tiff}<br><br>which will give automatic conversion of tif(f)f->png ans well as get the old behavior of foo.eps->foo.pdf, etc., which I like. Note: the tif(f)->png will only run with shell-escape enabled.<br></div></blockquote><br></div><div>Thank you for the excellent hint, Herb!</div><div><br></div><div><br></div>Best,<br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div><div>--</div><div><span class="Apple-tab-span" style="white-space: pre; "> </span>Christian</div><div><br></div><div><br></div><div>-Bill Gates is a very rich man today ... and do you want to know why? The answer is one word: versions.-</div><div><br></div><div>Dave Barry</div></div></span>
</div>
<br></body></html>