[latex3-commits] [git/LaTeX3-latex3-latex3] master: Print color in unknown-color message (fixes #640) (0a5f822bb)

Joseph Wright joseph.wright at morningstar2.co.uk
Fri Oct 11 08:48:02 CEST 2019


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/0a5f822bbc58ec7f5c87b7fa4e82053d4f747470

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

commit 0a5f822bbc58ec7f5c87b7fa4e82053d4f747470
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Fri Oct 11 07:47:39 2019 +0100

    Print color in unknown-color message (fixes #640)


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

0a5f822bbc58ec7f5c87b7fa4e82053d4f747470
 l3experimental/CHANGELOG.md        | 4 ++++
 l3experimental/l3color/l3color.dtx | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/l3experimental/CHANGELOG.md b/l3experimental/CHANGELOG.md
index bf5f13f9c..d58a2c19e 100644
--- a/l3experimental/CHANGELOG.md
+++ b/l3experimental/CHANGELOG.md
@@ -7,6 +7,10 @@ this project uses date-based 'snapshot' version identifiers.
 
 ## [Unreleased]
 
+### Fixed
+
+- Error message for unknown colors (see #640)
+
 ## [2019-09-28]
 
 ### Changed
diff --git a/l3experimental/l3color/l3color.dtx b/l3experimental/l3color/l3color.dtx
index 1ada17de4..9975af314 100644
--- a/l3experimental/l3color/l3color.dtx
+++ b/l3experimental/l3color/l3color.dtx
@@ -476,7 +476,7 @@
           { \@@_parse_loop_init:Nnn #1 {#2} {#3} }
       }
       {
-        \__kernel_msg_error:nnn { color } { unknown-color } {#3}
+        \__kernel_msg_error:nnn { color } { unknown-color } {#2}
         \tl_set_eq:NN \l_@@_current_tl \l_@@_named_black_tl
       }
   }





More information about the latex3-commits mailing list