[latex3-commits] [git/LaTeX3-latex3-pdfresources] develop, main: reset the colors predefined by xcolor so that they are available for hyperref too (59501ff)
Ulrike Fischer
fischer at troubleshooting-tex.de
Sat Jul 31 13:34:45 CEST 2021
Repository : https://github.com/latex3/pdfresources
On branches: develop,main
Link : https://github.com/latex3/pdfresources/commit/59501ff32eb71e162456b2a3318ba39f986483be
>---------------------------------------------------------------
commit 59501ff32eb71e162456b2a3318ba39f986483be
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Sat Jul 31 13:34:45 2021 +0200
reset the colors predefined by xcolor so that they are available for hyperref too
>---------------------------------------------------------------
59501ff32eb71e162456b2a3318ba39f986483be
firstaid/xcolor-patches-tmp-ltx.sty | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/firstaid/xcolor-patches-tmp-ltx.sty b/firstaid/xcolor-patches-tmp-ltx.sty
index 0861462..9d0e816 100644
--- a/firstaid/xcolor-patches-tmp-ltx.sty
+++ b/firstaid/xcolor-patches-tmp-ltx.sty
@@ -116,3 +116,21 @@
{\noexpand\xcolor@{\@@cls}{\the\toks@}{\@@mod}{\@@clr}}}%
\fi}%
\expandafter\endgroup\@@tmp\xglobal at stop}
+
+%re-predefine the colors
+\definecolorset{rgb/hsb/cmyk/gray}{}{}%
+ {brown,.75,.5,.25/.083333,.66667,.75/0,.25,.5,.25/.5475;%
+ lime,.75,1,0/.20833,1,1/.25,0,1,0/.815;%
+ orange,1,.5,0/.083333,1,1/0,.5,1,0/.595;%
+ pink,1,.75,.75/0,.25,1/0,.25,.25,0/.825;%
+ purple,.75,0,.25/.94444,1,.75/0,.75,.5,.25/.2525;%
+ teal,0,.5,.5/.5,1,.5/.5,0,0,.5/.35;%
+ violet,.5,0,.5/.83333,1,.5/0,.5,0,.5/.205}%
+\definecolorset{cmyk/rgb/hsb/gray}{}{}%
+ {olive,0,0,1,.5/.5,.5,0/.16667,1,.5/.39}
+\definecolorset{gray/rgb/hsb/cmyk}{}{}%
+ {darkgray,.25/.25,.25,.25/0,0,.25/0,0,0,.75;%
+ gray,.5/.5,.5,.5/0,0,.5/0,0,0,.5;%
+ lightgray,.75/.75,.75,.75/0,0,.75/0,0,0,.25}
+
+\endinput
More information about the latex3-commits
mailing list.