From 41de1e5120870c2ce046895debaabc76d2e428bc Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 14 Nov 2020 22:13:03 +0000 Subject: graphicx-psmin (14nov20) git-svn-id: svn://tug.org/texlive/trunk@56931 c570f23f-e606-0410-a88d-b1316a301751 --- .../source/latex/graphicx-psmin/graphicx-psmin.dtx | 23 ++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) (limited to 'Master/texmf-dist/source/latex/graphicx-psmin') diff --git a/Master/texmf-dist/source/latex/graphicx-psmin/graphicx-psmin.dtx b/Master/texmf-dist/source/latex/graphicx-psmin/graphicx-psmin.dtx index ecd5f2f6683..1e09bf4fde6 100644 --- a/Master/texmf-dist/source/latex/graphicx-psmin/graphicx-psmin.dtx +++ b/Master/texmf-dist/source/latex/graphicx-psmin/graphicx-psmin.dtx @@ -15,9 +15,9 @@ % file into a directory searched by LaTeX: % graphicx-psmin.sty % -%% ---------------------------------- -%% Copyright (C) 2005 Hendri Adriaens -%% ---------------------------------- +%% --------------------------------------- +%% Copyright (C) 2005-2020 Hendri Adriaens +%% --------------------------------------- %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -68,7 +68,9 @@ The author is grateful to Thomas Greer and Uwe Kern for help and suggestions. Many thanks to Akira Kakuto for providing a dvips patch which makes this package possible. The author is greatly indebted to Karl Berry for support and for providing a test environment for the -dvips patch on the TUG server. +dvips patch on the TUG server. Finally a word of thanks for David Carlisle +for providing a fix to make the package work with the latest \pf{graphicx} +package. \PrintChangesX\PrintIndexX \end{document} % @@ -78,7 +80,7 @@ dvips patch on the TUG server. % % \GetFileInfo{graphicx-psmin.sty} % -% \CheckSum{301} +% \CheckSum{310} % % \CharacterTable % {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -101,7 +103,7 @@ dvips patch on the TUG server. %\texttt{/macros/latex/contrib/graphicx-psmin}. See \texttt{graphicx-psmin.dtx} %for information on installing \pf{graphicx-psmin} into your \TeX\ or \LaTeX\ %distribution and for the license of this package.}} -%\author{\mktitledecor Hendri Adriaens\\\url{http://stuwww.uvt.nl/~hendri}} +%\author{\mktitledecor Hendri Adriaens} %\date{\fileversion\ (\filedate)} %\maketitle % @@ -277,7 +279,7 @@ dvips patch on the TUG server. %<*graphicx-psmin> \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesPackage{graphicx-psmin} - [2005/09/20 v1.1 single PostScript graphics inclusion (HA)] + [2020/11/14 v1.2 single PostScript graphics inclusion (HA)] \DeclareOption*{\PassOptionsToPackage\CurrentOption{graphicx}} \ProcessOptions\relax \RequirePackage{graphicx} @@ -475,6 +477,7 @@ dvips patch on the TUG server. % \end{macrocode} % \end{macro} % \begin{macro}{\gxpsm@checkfile} +% \changes{v1.2}{2020/11/14}{Changes to work with the latest \pf{graphicx} package} % \marg{file}\marg{actions}\\ % This is part of \pf{graphics}' |\Ginclude@graphics| which checks a % graphic file in the graphics path. We perform \meta{actions} when @@ -483,7 +486,11 @@ dvips patch on the TUG server. % \begin{macrocode} \def\gxpsm@checkfile#1#2{% \let\input@path\Ginput@path - \filename@parse{#1}% + \ifx\unquote@name\@undefined + \filename@parse{#1}% + \else + \expandafter\filename@parse\expandafter{\detokenize{#1}}% + \fi \ifx\filename@ext\relax \@for\Gin@temp:=\Gin@extensions\do{% \ifx\Gin@ext\relax -- cgit v1.2.3