[latex3-commits] [latex3/xcolor] changekeyhandler: remove pdfresources patch for now (cbc52bf)

github at latex-project.org github at latex-project.org
Mon Oct 9 23:03:50 CEST 2023


Repository : https://github.com/latex3/xcolor
On branch  : changekeyhandler
Link       : https://github.com/latex3/xcolor/commit/cbc52bf7e27e2cfd880a76fe7149be8556dd1f42

>---------------------------------------------------------------

commit cbc52bf7e27e2cfd880a76fe7149be8556dd1f42
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Mon Oct 9 23:03:50 2023 +0200

    remove pdfresources patch for now


>---------------------------------------------------------------

cbc52bf7e27e2cfd880a76fe7149be8556dd1f42
 xcolor.dtx | 13 ++-----------
 1 file changed, 2 insertions(+), 11 deletions(-)

diff --git a/xcolor.dtx b/xcolor.dtx
index 73fa75b..ff53caa 100644
--- a/xcolor.dtx
+++ b/xcolor.dtx
@@ -4869,11 +4869,9 @@
 \def\XC at definecolor[#1]#2%
  {\@testopt{\XC at definec@lor[#1]{#2}}\colornameprefix}
 %    \end{macrocode}
-% |\@expl at xcolor@set@@nonn| prepares color for the l3color support.
 %    \begin{macrocode}
-\providecommand\@expl at xcolor@set@@nonn[4]{}
 \def\XC at definec@lor[#1]#2[#3]#4#5%
- {\@expl at xcolor@set@@nonn{#2}{#4}{#5}{#1}%
+ {%
   \begingroup
   \XC at sdef\@@cls{#1}\XC at edef\@@nam{#2}\edef\colornameprefix{#3}%
   \XC at logdef\@@nam
@@ -5041,17 +5039,10 @@
 %    \begin{macrocode}
 \def\colorlet{\@testopt{\XC at colorlet}{}}
 %    \end{macrocode}
-% |\@expl at xcolor@set@@ne| prepares colors also for l3color.
-% As the old patch defined it with |\cs_new| we have to undefine it again temporarly.
 %    \begin{macrocode}
-\IfDocumentMetadataTF
- {\@ifundefined{@expl at xcolor@set@@ne}{\AtEndOfPackage{\let\@expl at xcolor@set@@ne\undefined}{}}{}}
- {}
-\providecommand\@expl at xcolor@set@@ne[2]{}
 \def\XC at colorlet[#1]#2{\@testopt{\XC at col@rlet[#1]{#2}}{}}
 \def\XC at col@rlet[#1]#2[#3]#4%
- {\@expl at xcolor@set@@ne{#2}{#4}%
-  \begingroup
+ {\begingroup
   \edef\@@cls{#1}\XC at edef\@@nam{#2}\XC at sdef\@@mod{#3}\XC at edef\@@clr{#4}%
 %    \end{macrocode}
 %





More information about the latex3-commits mailing list.