[latex3-commits] [git/LaTeX3-latex3-latex2e] color: Correct passing data from \DefineNamedColor to l3color (5b0f0b59)

Joseph Wright joseph.wright at morningstar2.co.uk
Sat Aug 8 21:24:54 CEST 2020


Repository : https://github.com/latex3/latex2e
On branch  : color
Link       : https://github.com/latex3/latex2e/commit/5b0f0b59ab2b191bd583a9e721cc910b4f8313de

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

commit 5b0f0b59ab2b191bd583a9e721cc910b4f8313de
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Sat Aug 8 20:24:54 2020 +0100

    Correct passing data from \DefineNamedColor to l3color
    
    Just use the fallback model data; this will be 'safe'.


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

5b0f0b59ab2b191bd583a9e721cc910b4f8313de
 required/graphics/color.dtx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/required/graphics/color.dtx b/required/graphics/color.dtx
index 909082a5..0b8d4b9b 100644
--- a/required/graphics/color.dtx
+++ b/required/graphics/color.dtx
@@ -613,7 +613,7 @@
       {\@ifundefined{col@#2}{}%
         {\PackageInfo{color}{Redefining color #2 in named color model}}%
       \csname color@#3\endcsname\@tempa{#4}%
-    \@expl at color@set@@nnn{#1}{#2}{#3}%
+    \@expl at color@set@@nnn{#2}{#3}{#4}%
       \csname define at color@#1\endcsname{#2}\@tempa
       \c at lor@usename{#2}}}}
 \@onlypreamble\DefineNamedColor





More information about the latex3-commits mailing list.