summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/oberdiek/epstopdf.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-09-05 22:54:26 +0000
committerKarl Berry <karl@freefriends.org>2009-09-05 22:54:26 +0000
commit874ece84a0d160db419570dff359a6e4c3c44063 (patch)
tree4ee6c8290f49de79ad922ba8f839da431c78aaad /Master/texmf-dist/source/latex/oberdiek/epstopdf.dtx
parent427bf11201b13e9a0778a390b930f70f8b697b8e (diff)
oberdiek update (5sep09)
git-svn-id: svn://tug.org/texlive/trunk@15145 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/oberdiek/epstopdf.dtx')
-rw-r--r--Master/texmf-dist/source/latex/oberdiek/epstopdf.dtx72
1 files changed, 35 insertions, 37 deletions
diff --git a/Master/texmf-dist/source/latex/oberdiek/epstopdf.dtx b/Master/texmf-dist/source/latex/oberdiek/epstopdf.dtx
index 210c8b54421..bfbf9e757f6 100644
--- a/Master/texmf-dist/source/latex/oberdiek/epstopdf.dtx
+++ b/Master/texmf-dist/source/latex/oberdiek/epstopdf.dtx
@@ -150,7 +150,7 @@ and the derived files
%</driver>
% \fi
%
-% \CheckSum{907}
+% \CheckSum{909}
%
% \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
@@ -506,29 +506,26 @@ and the derived files
\catcode46 12 % .
\catcode58 12 % :
\catcode64 11 % @
+ \catcode123 1 % {
+ \catcode125 2 % }
\expandafter\let\expandafter\x\csname ver@epstopdf.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{epstopdf}{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{epstopdf}{The package is already loaded}%
- \endgroup
- \expandafter\endinput
\fi
\endgroup
% \end{macrocode}
@@ -544,6 +541,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
@@ -633,29 +632,26 @@ and the derived files
\catcode46 12 % .
\catcode58 12 % :
\catcode64 11 % @
+ \catcode123 1 % {
+ \catcode125 2 % }
\expandafter\let\expandafter\x\csname ver@epstopdf-base.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{epstopdf-base}{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{epstopdf-base}{The package is already loaded}%
- \endgroup
- \expandafter\endinput
\fi
\endgroup
% \end{macrocode}
@@ -671,6 +667,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