[tex-live] epstopdf.sty 2008 vs 2009
Heiko Oberdiek
oberdiek at uni-freiburg.de
Thu Aug 13 15:22:11 CEST 2009
On Thu, Aug 13, 2009 at 12:41:06PM +0200, Daniel Becker wrote:
> the following testfile, which used to work with TL2008, doesn't work
> with TL2009 (pdflatex):
>
> ! Package pdftex.def Error: File `testbild-tif-converted-to.png' not
> found.
>
> Does one need to use \DeclareGraphicsRule now differently because of
> the update of epstopdf.sty?
Yes, or other options, see package documentation.
> \usepackage{epstopdf}
> \DeclareGraphicsRule{.tif}{png}{.png}{`convert #1 `dirname #1`/
> `basename #1 .tif`.png}
> \PrependGraphicsExtensions{.tif}
There are new options and new defaults since version 2009/07/12 v2.0.
Especially option `suffix' appends "-tif-converted-to" to the
basename of your image. But the output file is available as \OutputFile.
I would use
\usepackage{epstopdf}[2009/07/12]
\epstopdfDeclareGraphicsRule{.tif}{png}{.png}{%
convert #1 \OutputFile
}
\AppendGraphicsExtensions{.tif}
Yours sincerely
Heiko <oberdiek at uni-freiburg.de>
More information about the tex-live
mailing list