summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/oberdiek/xcolor-patch.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/oberdiek/xcolor-patch.sty')
-rw-r--r--Master/texmf-dist/tex/latex/oberdiek/xcolor-patch.sty15
1 files changed, 13 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/oberdiek/xcolor-patch.sty b/Master/texmf-dist/tex/latex/oberdiek/xcolor-patch.sty
index be19b84bc73..1f753e7f015 100644
--- a/Master/texmf-dist/tex/latex/oberdiek/xcolor-patch.sty
+++ b/Master/texmf-dist/tex/latex/oberdiek/xcolor-patch.sty
@@ -27,10 +27,11 @@
%% hycolor.sty, hycolor.pdf, hycolor.ins, hycolor.drv,
%% xcolor-patch.sty, hycolor-test1.tex, hycolor-test2.tex,
%% hycolor-test3.tex, hycolor-test-xcol1.tex,
-%% hycolor-test-xcol2.tex, hycolor-test-xcol3.tex.
+%% hycolor-test-xcol2.tex, hycolor-test-xcol3.tex,
+%% hycolor-test-xcol4.tex.
%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{xcolor-patch}[2008/08/01 xcolor patch]
+\ProvidesPackage{xcolor-patch}[2008/09/08 xcolor patch]
\@ifpackageloaded{xcolor}{%
\@firstofone
}{%
@@ -188,6 +189,16 @@
}%
}%
\fi
+ \@ifundefined{XC@frameb@x }{%
+ \expandafter\let\csname XC@frameb@x \endcsname\XC@frameb@x
+ \edef\XC@frameb@x{%
+ \noexpand\protect
+ \expandafter\noexpand\csname XC@frameb@x \endcsname
+ }%
+ \expandafter\ifx\csname XC@frameb@x \endcsname\@frameb@x
+ \let\@frameb@x\XC@frameb@x
+ \fi
+ }{}%
}
\endinput
%%