diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/oberdiek/pdfcol.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/oberdiek/pdfcol.dtx | 39 |
1 files changed, 19 insertions, 20 deletions
diff --git a/Master/texmf-dist/source/latex/oberdiek/pdfcol.dtx b/Master/texmf-dist/source/latex/oberdiek/pdfcol.dtx index d7648d1cae4..03959d0adb7 100644 --- a/Master/texmf-dist/source/latex/oberdiek/pdfcol.dtx +++ b/Master/texmf-dist/source/latex/oberdiek/pdfcol.dtx @@ -152,7 +152,7 @@ and the derived files %</driver> % \fi % -% \CheckSum{644} +% \CheckSum{645} % % \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 @@ -229,7 +229,7 @@ and the derived files % Otherwise the other interface macros in this section will % be disabled with a message. Also the first use of such a % macro will print a message. The messages are print to -% the \xext{.log} file only if \pdfTeX\ is not used in PDF mode. +% the \xext{log} file only if \pdfTeX\ is not used in PDF mode. % % \begin{declcs}{pdfcolErrorNoStacks} % \end{declcs} @@ -291,29 +291,26 @@ and the derived files \catcode46 12 % . \catcode58 12 % : \catcode64 11 % @ + \catcode123 1 % { + \catcode125 2 % } \expandafter\let\expandafter\x\csname ver@pdfcol.sty\endcsname - \ifcase 0% - \ifx\x\relax % plain + \ifx\x\relax % plain-TeX, first loading + \else + \def\empty{}% + \ifx\x\empty % LaTeX, first loading, + % variable is initialized, but \ProvidesPackage not yet seen \else - \ifx\x\empty % LaTeX + \catcode35 6 % # + \expandafter\ifx\csname PackageInfo\endcsname\relax + \def\x#1#2{% + \immediate\write-1{Package #1 Info: #2.}% + }% \else - 1% + \def\x#1#2{\PackageInfo{#1}{#2, stopped}}% \fi + \x{pdfcol}{The package is already loaded}% + \aftergroup\endinput \fi - \else - \catcode35 6 % # - \catcode123 1 % { - \catcode125 2 % } - \expandafter\ifx\csname PackageInfo\endcsname\relax - \def\x#1#2{% - \immediate\write-1{Package #1 Info: #2.}% - }% - \else - \def\x#1#2{\PackageInfo{#1}{#2, stopped}}% - \fi - \x{pdfcol}{The package is already loaded}% - \endgroup - \expandafter\endinput \fi \endgroup % \end{macrocode} @@ -329,6 +326,8 @@ and the derived files \catcode47 12 % / \catcode58 12 % : \catcode64 11 % @ + \catcode91 12 % [ + \catcode93 12 % ] \catcode123 1 % { \catcode125 2 % } \expandafter\ifx\csname ProvidesPackage\endcsname\relax |