From 4c2d95375d031d110b716fe78e664390a7cf7300 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 8 Oct 2020 21:19:58 +0000 Subject: auto-pst-pdf (8oct20) git-svn-id: svn://tug.org/texlive/trunk@56596 c570f23f-e606-0410-a88d-b1316a301751 --- .../tex/latex/auto-pst-pdf/auto-pst-pdf.sty | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'Master/texmf-dist/tex/latex/auto-pst-pdf') diff --git a/Master/texmf-dist/tex/latex/auto-pst-pdf/auto-pst-pdf.sty b/Master/texmf-dist/tex/latex/auto-pst-pdf/auto-pst-pdf.sty index 8ff331eb208..36e3e64b994 100644 --- a/Master/texmf-dist/tex/latex/auto-pst-pdf/auto-pst-pdf.sty +++ b/Master/texmf-dist/tex/latex/auto-pst-pdf/auto-pst-pdf.sty @@ -6,9 +6,9 @@ %% %% auto-pst-pdf.dtx (with options: `package') %% __________________________________ -%% Copyright (C) 2007 Will Robertson +%% Copyright (C) 2007-2020 Will Robertson %% License information appended. -\ProvidesPackage{auto-pst-pdf}[2009/04/26 v0.6 Wrapper for pst-pdf] +\ProvidesPackage{auto-pst-pdf}[2020/10/08 v0.7 Wrapper for pst-pdf] \RequirePackage{ifpdf,xkeyval,ifplatform} \newif\if@app@off@ \newif\if@app@crop@ @@ -104,7 +104,11 @@ \edef\app@rm{\ifwindows del \else rm -- \fi} \newcommand\app@try@rm[1]{% \@for\@tempa:=#1\do{% - \OnlyIfFileExists{\@tempa}{\app@exe{\app@rm "\@tempa"}}}} + \edef\@tempa{\@tempa}% + \ifx\@tempa\@empty\else + \OnlyIfFileExists{\@tempa}{\app@exe{\app@rm "\@tempa"}}% + \fi + }} \def\app@remove@container{\app@try@rm{\app@pics}} \def\app@cleanup{\app@try@rm{\app@rm@files}} \def\app@cmd@latex#1#2{latex \app@latex@opts\space @@ -170,7 +174,8 @@ \includegraphics[#1]{#2}% \end{postscript}} \InputIfFileExists{\jobname-psfrag}{}{} -%% Copyright (C) 2007 by Will Robertson & Johannes Gro^^c3^^9fe +%% Copyright (C) 2007-2020 by Will Robertson & Johannes Große +%% Copyright (C) 2007 Johannes Große %% %% Distributable under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of @@ -179,9 +184,7 @@ %% This work is "maintained" (as per LPPL maintenance status) %% by Will Robertson. %% -%% This work consists of the file auto-pst-pdf.dtx -%% and the derived files auto-pst-pdf.pdf, -%% auto-pst-pdf.sty, and -%% auto-pst-pdf.ins. +%% This work consists of the files auto-pst-pdf.dtx and auto-pst-pdf.ins, +%% and the derived file auto-pst-pdf.sty. %% %% End of file `auto-pst-pdf.sty'. -- cgit v1.2.3