diff options
author | Karl Berry <karl@freefriends.org> | 2020-11-14 22:13:03 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-11-14 22:13:03 +0000 |
commit | 41de1e5120870c2ce046895debaabc76d2e428bc (patch) | |
tree | 0cc46d9bf2080af515d45f064816e8672a2ef419 /Master | |
parent | b7eb5a5ab5749a90bea7023eef18baa283191e3c (diff) |
graphicx-psmin (14nov20)
git-svn-id: svn://tug.org/texlive/trunk@56931 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/latex/graphicx-psmin/README | 4 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/graphicx-psmin/graphicx-psmin.bib | 58 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/graphicx-psmin/graphicx-psmin.pdf | bin | 100347 -> 133194 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/graphicx-psmin/gxpsmpream.ble | 102 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/graphicx-psmin/graphicx-psmin.dtx | 23 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/graphicx-psmin/graphicx-psmin.sty | 14 |
6 files changed, 186 insertions, 15 deletions
diff --git a/Master/texmf-dist/doc/latex/graphicx-psmin/README b/Master/texmf-dist/doc/latex/graphicx-psmin/README index f1c200bc473..e72bc71b536 100644 --- a/Master/texmf-dist/doc/latex/graphicx-psmin/README +++ b/Master/texmf-dist/doc/latex/graphicx-psmin/README @@ -1,4 +1,4 @@ -graphicx-psmin v1.1 +graphicx-psmin v1.2 ------------------- This package is an extension of the standard graphics bundle and @@ -42,7 +42,7 @@ graphicx-psmin into your LaTeX distribution License ------- -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 diff --git a/Master/texmf-dist/doc/latex/graphicx-psmin/graphicx-psmin.bib b/Master/texmf-dist/doc/latex/graphicx-psmin/graphicx-psmin.bib new file mode 100644 index 00000000000..1cc369e28ce --- /dev/null +++ b/Master/texmf-dist/doc/latex/graphicx-psmin/graphicx-psmin.bib @@ -0,0 +1,58 @@ +%% +%% This is file `graphicx-psmin.bib', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% graphicx-psmin.dtx (with options: `bib') +%% +%% --------------------------------------- +%% 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 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% This Current Maintainer of this work is Hendri Adriaens. +%% +%% This work consists of the file graphicx-psmin.dtx and derived file +%% graphicx-psmin.sty. +%% +%% The following files constitute the graphicx-psmin bundle and must be +%% distributed as a whole: readme, graphicx-psmin.pdf, graphicx-psmin.sty +%% and graphicx-psmin.dtx. +%% +@BOOK{companion, + author = {Frank Mittelbach and Michel Goossens and Johannes Braams and David Carlisle and Chris Rowley}, + title = {The {\LaTeX} {C}ompanion, {S}econd {E}dition}, + year = {2004}, + publisher = {{Addison-Wesley}} +} + +@MISC{graphics, + author = {David Carlisle}, + title = {\pf{graphics} bundle}, + howpublished = {\url{CTAN:/macros/latex/required/graphics}} +} + +@MISC{greer, + author = {Thomas Greer}, + title = {Reusable content caching in PostScript}, + howpublished = {\url{http://www.tgreer.com/eps_vdp2.html}} +} + +@MISC{PLRM, + author = {Adobe Systems Incorporated}, + title = {PostScript language reference manual}, + howpublished = {\url{http://www.adobe.com/products/postscript/pdfs/PLRM.pdf}} +} +\endinput +%% +%% End of file `graphicx-psmin.bib'. diff --git a/Master/texmf-dist/doc/latex/graphicx-psmin/graphicx-psmin.pdf b/Master/texmf-dist/doc/latex/graphicx-psmin/graphicx-psmin.pdf Binary files differindex 06c62972843..6a0749d9c9f 100644 --- a/Master/texmf-dist/doc/latex/graphicx-psmin/graphicx-psmin.pdf +++ b/Master/texmf-dist/doc/latex/graphicx-psmin/graphicx-psmin.pdf diff --git a/Master/texmf-dist/doc/latex/graphicx-psmin/gxpsmpream.ble b/Master/texmf-dist/doc/latex/graphicx-psmin/gxpsmpream.ble new file mode 100644 index 00000000000..39dfeda4875 --- /dev/null +++ b/Master/texmf-dist/doc/latex/graphicx-psmin/gxpsmpream.ble @@ -0,0 +1,102 @@ +%% +%% This is file `gxpsmpream.ble', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% graphicx-psmin.dtx (with options: `preamble') +%% +%% --------------------------------------- +%% 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 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% This Current Maintainer of this work is Hendri Adriaens. +%% +%% This work consists of the file graphicx-psmin.dtx and derived file +%% graphicx-psmin.sty. +%% +%% The following files constitute the graphicx-psmin bundle and must be +%% distributed as a whole: readme, graphicx-psmin.pdf, graphicx-psmin.sty +%% and graphicx-psmin.dtx. +%% +\usepackage{url} +\usepackage{graphicx-psmin} +\usepackage{fourier} +\usepackage{xcolor} +\usepackage[multiple]{footmisc} +\usepackage{pst-char} +\usepackage{listings} +\lstnewenvironment{command}{% + \lstset{columns=flexible,frame=single,backgroundcolor=\color{blue!20},% + xleftmargin=\fboxsep,xrightmargin=\fboxsep,escapeinside=`',gobble=1}}{} +\lstnewenvironment{example}{% + \lstset{basicstyle=\footnotesize\ttfamily,columns=flexible,frame=single,% + backgroundcolor=\color{yellow!20},xleftmargin=\fboxsep,% + xrightmargin=\fboxsep,gobble=1}}{} +\def\mktitledecor{% + \rput[tl]{90}(-6.5,-23.56){% + \psline[linewidth=1pt](0,1.5)(\paperheight,1.5)% + \rput[lB](.075\paperheight,.5){\pscharpath[linecolor=blue!50,% + fillcolor=yellow!20,fillstyle=solid,linewidth=.5pt]% + {\Huge\bfseries\sffamily graphicx-psmin}% + }% + \rput[rB](.925\paperheight,.5){\pscharpath[linecolor=blue!50,% + fillcolor=yellow!20,fillstyle=solid,linewidth=.5pt]% + {\Huge\bfseries Documentation}% + }% + \psline[linewidth=1pt](0,0)(\paperheight,0)% + }% +} +\makeatletter +\def\tableofcontents{\@starttoc{toc}} +\renewenvironment{theglossary}{% + \section*{Version history}% + \GlossaryParms \let\item\@idxitem \ignorespaces +}{}% +\def\changes@#1#2#3{% + \protected@edef\@tempa{% + \noexpand\glossary{\textbf{#1}\hfill\emph{(#2)}% + \levelchar + \ifx\saved@macroname\@empty + \space\actualchar\generalname + \else + \expandafter\@gobble\saved@macroname + \actualchar\string\verb\quotechar*% + \verbatimchar\saved@macroname\verbatimchar + \fi + :\levelchar #3}% + }% + \@tempa\endgroup\@esphack +} +\makeatother +\def\PrintChangesX{% + \begingroup + \let\efill\relax + \PrintChanges + \endgroup +} +\def\PrintIndexX{% + \begingroup + \setcounter{IndexColumns}{2}% + \setlength\columnsep{18pt}% + \setlength\columnseprule{.4pt}% + \PrintIndex + \endgroup +} +\def\pf#1{\textsf{#1}} +\DisableCrossrefs +\RecordChanges +\CodelineIndex +\endinput +%% +%% End of file `gxpsmpream.ble'. 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} %</driver> @@ -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 diff --git a/Master/texmf-dist/tex/latex/graphicx-psmin/graphicx-psmin.sty b/Master/texmf-dist/tex/latex/graphicx-psmin/graphicx-psmin.sty index 758b048b6cb..eba09867358 100644 --- a/Master/texmf-dist/tex/latex/graphicx-psmin/graphicx-psmin.sty +++ b/Master/texmf-dist/tex/latex/graphicx-psmin/graphicx-psmin.sty @@ -6,9 +6,9 @@ %% %% graphicx-psmin.dtx (with options: `graphicx-psmin') %% -%% ---------------------------------- -%% 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 @@ -31,7 +31,7 @@ %% \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} @@ -134,7 +134,11 @@ } \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 |