[tex-live] pretest: epstopdf overwrites existing files

George N. White III gnwiii at gmail.com
Sun Jul 5 23:38:03 CEST 2009

On Sun, Jul 5, 2009 at 3:13 PM, Uwe Siart<uwe.siart at tum.de> wrote:
> Angelo Graziosi <angelo.graziosi at alice.it> writes:
>> I agree fully. Restoring the old behavior seems the wisest thing to
>> do.
> The feature can be beneficial for many users and is worth being kept.
> But it should not be active by default.

Would either of you feel the same if the "append" option was turned on
so existing .pdf files are not overwritten?

If the objection is to using \write18, a change to texmf.cnf could be used
for sites/systems that don't want \wirite18.  If I set my texmf.cnf to
exclude epstopdf from the shell_escape_commands list, I get:

! Package pdftex.def Error: File `golfer.pdf' not found.

See the pdftex.def package documentation for explanation.
Type  H <return>  for immediate help.

l.8 \includegraphics[width=0.6\linewidth]{golfer}

? X

"texdoc pdftex.def" doesn't find anything at present.  The log
file has:

Package grfext Info: Graphics extension search list:
(grfext)             [.png,.pdf,.jpg,.mps,.jpeg,.jbig2,.jb2,.PNG,.PDF,.JPG,.JPE
(grfext)             \AppendGraphicsExtensions on input line 326.
Package grfext Info: Graphics extension search list:
(grfext)             [.eps,.png,.pdf,.jpg,.mps,.jpeg,.jbig2,.jb2,.PNG,.PDF,.JPG
(grfext)             \PrependGraphicsExtensions on input line 25.

Many of the users who want this feature have .EPS and or .PDF files,
so there will be
probably discussions over why .EPS is ignored while .eps is used
instead of the .PDF
file the user expected to see.

George N. White III <aa056 at chebucto.ns.ca>
Head of St. Margarets Bay, Nova Scotia

More information about the tex-live mailing list