[tex-live] pretest: epstopdf overwrites existing files

Heiko Oberdiek oberdiek at uni-freiburg.de
Wed Jul 8 01:43:11 CEST 2009


On Tue, Jul 07, 2009 at 06:09:53PM -0500, Karl Berry wrote:

>     Unless foo.eps is given explicitly (i.e. with extension) in which case
>     foo.SUFFIX.pdf should be generated and used even if foo.pdf exists
> 
> Why?   Even though the user is clearly confused in this case (.eps in
> doc, running pdflatex), it still seems to me that if they have a
> foo.pdf, it is probably the "equivalent" of foo.eps and is what the user
> would expect to be used.

Why foo.pdf exists then? It could still be the source: latex/dvips
doesn't support PDF, thus foo.eps could be the generated file.

> (Heiko, is it even possible to do different things in the
> explicit-extension and no-explicit-extension cases?  I think you said it
> was, but ...)

No. The explicit extension always triggers its rule.
Differences happens by the extension search order, if no extension
is given. Then the file that is found first triggers the rule,
choosen by the file's extension.

If someone uses EPS files as original files. And there are some
PDF files that should be ignored, then setting
  \epstopdfsetup{prefersuffix}
helps.

Yours sincerely
  Heiko <oberdiek at uni-freiburg.de>


More information about the tex-live mailing list