[OS X TeX] TL09 and -eps-converted-to.pdf

Herbert Schulz herbs at wideopenwest.com
Fri Dec 4 18:03:42 CET 2009


On Dec 4, 2009, at 10:35 AM, Themis Matsoukas wrote:

> I updated to TL 2009 and and I noticed that the eps-to-pdf conversion is now different. I save my graphs as eps (e.g. fig1.eps), invoke the graphic using \includegraphics{fig1}, and use epstopdf to do the conversion as needed. If the file fig1.pdf does not exist, TL2009 creates a new file with the name fig1-eps-converted-to.pdf (instead of fig1.pdf, in TL08), and this file is apparently used in subsequent compilations. If I just drop fig1.eps on texshop, then I get a file with the name  fig1.pdf;  if this file is present, TL09 uses this file and does not generate a  fig1-eps-converted-to.pdf.  Why the two different names? This is not a problem as much an annoyance because I don't like the longer name (some of my graphics have rather long names to begin with).
> 
> Themis

Howdy,

Folks were worried that someone might take the foo.pdf generated from foo.eps and do a special customization on it and then have it blown away if foo.eps changed. At least that's the argument. Also, epstopdf now uses the default [append] rather than [prepend] so when the package searches for extensions it will find the foo.pdf first if it exists and. if that doesn't exist and it finds foo.eps it will search for foo-eps-converted-to.pdf and see it has to regenerate it because foo.eps was updated.

It is possible to go back to the original behavior (this is what I've done!) by creating a epstopdf-sys.cfg file which contains the line

\epstopdfsetup{update,prepend,prefersuffix=false,suffix=}

and place it in ~/Library/texmf/tex/latex/config thus making things go back to [update,prepend] and removing the suffix (-eps-converted-to).

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)






More information about the macostex-archives mailing list