[latex3-commits] [git/LaTeX3-latex3-latex3] color-models: Correct color backend naming for separations (12cd0c624)

Joseph Wright joseph.wright at morningstar2.co.uk
Thu Aug 6 11:29:35 CEST 2020


Repository : https://github.com/latex3/latex3
On branch  : color-models
Link       : https://github.com/latex3/latex3/commit/12cd0c62453730dfaf29e87882fd66e27e7b0b33

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

commit 12cd0c62453730dfaf29e87882fd66e27e7b0b33
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Thu Aug 6 10:12:58 2020 +0100

    Correct color backend naming for separations


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

12cd0c62453730dfaf29e87882fd66e27e7b0b33
 l3experimental/l3color/l3color.dtx                 |  2 +-
 .../l3color/testfiles/m3color003.ptex.tlg          | 44 ++++++++++++++++++++--
 l3experimental/l3color/testfiles/m3color003.tlg    |  8 ++--
 .../l3color/testfiles/m3color003.uptex.tlg         | 44 ++++++++++++++++++++--
 .../l3color/testfiles/m3color003.xetex.tlg         | 44 ++++++++++++++++++++--
 5 files changed, 125 insertions(+), 17 deletions(-)

diff --git a/l3experimental/l3color/l3color.dtx b/l3experimental/l3color/l3color.dtx
index ec2d6ea4a..06537b6a7 100644
--- a/l3experimental/l3color/l3color.dtx
+++ b/l3experimental/l3color/l3color.dtx
@@ -1563,7 +1563,7 @@
     \cs_new_eq:cN { @@_parse_mix_ #6 :nw } \@@_parse_mix_gray:nw
     \cs_new:cpn { @@_parse_model_ #6 :w } ##1 , ##2 \s_@@_stop
       { {#6} { \@@_parse_number:n {##1} } }
-    \cs_new_protected:cpx { @@_backend_ #6 :n } ##1
+    \cs_new_protected:cpx { @@_backend_select_ #6 :n } ##1
       {
         \@@_backend_family_separation:nn
           { l3color \int_use:N \g_@@_separation_int } {##1}
diff --git a/l3experimental/l3color/testfiles/m3color003.ptex.tlg b/l3experimental/l3color/testfiles/m3color003.ptex.tlg
index ac73e2876..66b54360c 100644
--- a/l3experimental/l3color/testfiles/m3color003.ptex.tlg
+++ b/l3experimental/l3color/testfiles/m3color003.ptex.tlg
@@ -197,7 +197,16 @@ TEST 7: Creating new models
 Defining \c__color_fallback_BarToneCMYK_tl on line ...
 Defining \__color_parse_mix_BarToneCMYK:nw on line ...
 Defining \__color_parse_model_BarToneCMYK:w on line ...
-Defining \__color_backend_BarToneCMYK:n on line ...
+Defining \__color_backend_select_BarToneCMYK:n on line ...
+! Undefined control sequence.
+\__color_model_separation:w ...mily_separation:nn 
+                                                  {color\int_use:N \g__color...
+l. ...  }
+The control sequence at the end of the top line
+of your error message was never \def'ed. If you have
+misspelled it (e.g., `\hobx'), type `I' and the correct
+spelling (e.g., `I\hbox'). Otherwise just continue,
+and I'll forget about whatever was undefined.
 Defining \__color_convert_BarToneCMYK_cmyk:w on line ...
 Defining \__color_convert_BarToneCMYK_rgb:w on line ...
 Defining \__color_convert_BarToneCMYK_gray:w on line ...
@@ -212,7 +221,16 @@ l. ...  }
 Defining \c__color_fallback_BarToneRGB_tl on line ...
 Defining \__color_parse_mix_BarToneRGB:nw on line ...
 Defining \__color_parse_model_BarToneRGB:w on line ...
-Defining \__color_backend_BarToneRGB:n on line ...
+Defining \__color_backend_select_BarToneRGB:n on line ...
+! Undefined control sequence.
+\__color_model_separation:w ...mily_separation:nn 
+                                                  {color\int_use:N \g__color...
+l. ...  }
+The control sequence at the end of the top line
+of your error message was never \def'ed. If you have
+misspelled it (e.g., `\hobx'), type `I' and the correct
+spelling (e.g., `I\hbox'). Otherwise just continue,
+and I'll forget about whatever was undefined.
 Defining \__color_convert_BarToneRGB_rgb:w on line ...
 Defining \__color_convert_BarToneRGB_cmyk:w on line ...
 Defining \__color_convert_BarToneRGB_gray:w on line ...
@@ -227,7 +245,16 @@ l. ...  }
 Defining \c__color_fallback_BarToneGray_tl on line ...
 Defining \__color_parse_mix_BarToneGray:nw on line ...
 Defining \__color_parse_model_BarToneGray:w on line ...
-Defining \__color_backend_BarToneGray:n on line ...
+Defining \__color_backend_select_BarToneGray:n on line ...
+! Undefined control sequence.
+\__color_model_separation:w ...mily_separation:nn 
+                                                  {color\int_use:N \g__color...
+l. ...  }
+The control sequence at the end of the top line
+of your error message was never \def'ed. If you have
+misspelled it (e.g., `\hobx'), type `I' and the correct
+spelling (e.g., `I\hbox'). Otherwise just continue,
+and I'll forget about whatever was undefined.
 Defining \__color_convert_BarToneGray_cmyk:w on line ...
 Defining \__color_convert_BarToneGray_gray:w on line ...
 Defining \__color_convert_BarToneGray_rgb:w on line ...
@@ -242,7 +269,16 @@ l. ...  }
 Defining \c__color_fallback_BarToneCIELAB_tl on line ...
 Defining \__color_parse_mix_BarToneCIELAB:nw on line ...
 Defining \__color_parse_model_BarToneCIELAB:w on line ...
-Defining \__color_backend_BarToneCIELAB:n on line ...
+Defining \__color_backend_select_BarToneCIELAB:n on line ...
+! Undefined control sequence.
+\__color_model_separation:w ...mily_separation:nn 
+                                                  {color\int_use:N \g__color...
+l. ...  }
+The control sequence at the end of the top line
+of your error message was never \def'ed. If you have
+misspelled it (e.g., `\hobx'), type `I' and the correct
+spelling (e.g., `I\hbox'). Otherwise just continue,
+and I'll forget about whatever was undefined.
 Defining \__color_convert_BarToneCIELAB_cmyk:w on line ...
 Defining \__color_convert_BarToneCIELAB_rgb:w on line ...
 Defining \__color_convert_BarToneCIELAB_gray:w on line ...
diff --git a/l3experimental/l3color/testfiles/m3color003.tlg b/l3experimental/l3color/testfiles/m3color003.tlg
index 02aa386f3..a39605dbb 100644
--- a/l3experimental/l3color/testfiles/m3color003.tlg
+++ b/l3experimental/l3color/testfiles/m3color003.tlg
@@ -187,7 +187,7 @@ TEST 7: Creating new models
 Defining \c__color_fallback_BarToneCMYK_tl on line ...
 Defining \__color_parse_mix_BarToneCMYK:nw on line ...
 Defining \__color_parse_model_BarToneCMYK:w on line ...
-Defining \__color_backend_BarToneCMYK:n on line ...
+Defining \__color_backend_select_BarToneCMYK:n on line ...
 Defining \__color_convert_BarToneCMYK_cmyk:w on line ...
 Defining \__color_convert_BarToneCMYK_rgb:w on line ...
 Defining \__color_convert_BarToneCMYK_gray:w on line ...
@@ -202,7 +202,7 @@ l. ...  }
 Defining \c__color_fallback_BarToneRGB_tl on line ...
 Defining \__color_parse_mix_BarToneRGB:nw on line ...
 Defining \__color_parse_model_BarToneRGB:w on line ...
-Defining \__color_backend_BarToneRGB:n on line ...
+Defining \__color_backend_select_BarToneRGB:n on line ...
 Defining \__color_convert_BarToneRGB_rgb:w on line ...
 Defining \__color_convert_BarToneRGB_cmyk:w on line ...
 Defining \__color_convert_BarToneRGB_gray:w on line ...
@@ -217,7 +217,7 @@ l. ...  }
 Defining \c__color_fallback_BarToneGray_tl on line ...
 Defining \__color_parse_mix_BarToneGray:nw on line ...
 Defining \__color_parse_model_BarToneGray:w on line ...
-Defining \__color_backend_BarToneGray:n on line ...
+Defining \__color_backend_select_BarToneGray:n on line ...
 Defining \__color_convert_BarToneGray_cmyk:w on line ...
 Defining \__color_convert_BarToneGray_gray:w on line ...
 Defining \__color_convert_BarToneGray_rgb:w on line ...
@@ -232,7 +232,7 @@ l. ...  }
 Defining \c__color_fallback_BarToneCIELAB_tl on line ...
 Defining \__color_parse_mix_BarToneCIELAB:nw on line ...
 Defining \__color_parse_model_BarToneCIELAB:w on line ...
-Defining \__color_backend_BarToneCIELAB:n on line ...
+Defining \__color_backend_select_BarToneCIELAB:n on line ...
 Defining \__color_convert_BarToneCIELAB_cmyk:w on line ...
 Defining \__color_convert_BarToneCIELAB_rgb:w on line ...
 Defining \__color_convert_BarToneCIELAB_gray:w on line ...
diff --git a/l3experimental/l3color/testfiles/m3color003.uptex.tlg b/l3experimental/l3color/testfiles/m3color003.uptex.tlg
index ac73e2876..66b54360c 100644
--- a/l3experimental/l3color/testfiles/m3color003.uptex.tlg
+++ b/l3experimental/l3color/testfiles/m3color003.uptex.tlg
@@ -197,7 +197,16 @@ TEST 7: Creating new models
 Defining \c__color_fallback_BarToneCMYK_tl on line ...
 Defining \__color_parse_mix_BarToneCMYK:nw on line ...
 Defining \__color_parse_model_BarToneCMYK:w on line ...
-Defining \__color_backend_BarToneCMYK:n on line ...
+Defining \__color_backend_select_BarToneCMYK:n on line ...
+! Undefined control sequence.
+\__color_model_separation:w ...mily_separation:nn 
+                                                  {color\int_use:N \g__color...
+l. ...  }
+The control sequence at the end of the top line
+of your error message was never \def'ed. If you have
+misspelled it (e.g., `\hobx'), type `I' and the correct
+spelling (e.g., `I\hbox'). Otherwise just continue,
+and I'll forget about whatever was undefined.
 Defining \__color_convert_BarToneCMYK_cmyk:w on line ...
 Defining \__color_convert_BarToneCMYK_rgb:w on line ...
 Defining \__color_convert_BarToneCMYK_gray:w on line ...
@@ -212,7 +221,16 @@ l. ...  }
 Defining \c__color_fallback_BarToneRGB_tl on line ...
 Defining \__color_parse_mix_BarToneRGB:nw on line ...
 Defining \__color_parse_model_BarToneRGB:w on line ...
-Defining \__color_backend_BarToneRGB:n on line ...
+Defining \__color_backend_select_BarToneRGB:n on line ...
+! Undefined control sequence.
+\__color_model_separation:w ...mily_separation:nn 
+                                                  {color\int_use:N \g__color...
+l. ...  }
+The control sequence at the end of the top line
+of your error message was never \def'ed. If you have
+misspelled it (e.g., `\hobx'), type `I' and the correct
+spelling (e.g., `I\hbox'). Otherwise just continue,
+and I'll forget about whatever was undefined.
 Defining \__color_convert_BarToneRGB_rgb:w on line ...
 Defining \__color_convert_BarToneRGB_cmyk:w on line ...
 Defining \__color_convert_BarToneRGB_gray:w on line ...
@@ -227,7 +245,16 @@ l. ...  }
 Defining \c__color_fallback_BarToneGray_tl on line ...
 Defining \__color_parse_mix_BarToneGray:nw on line ...
 Defining \__color_parse_model_BarToneGray:w on line ...
-Defining \__color_backend_BarToneGray:n on line ...
+Defining \__color_backend_select_BarToneGray:n on line ...
+! Undefined control sequence.
+\__color_model_separation:w ...mily_separation:nn 
+                                                  {color\int_use:N \g__color...
+l. ...  }
+The control sequence at the end of the top line
+of your error message was never \def'ed. If you have
+misspelled it (e.g., `\hobx'), type `I' and the correct
+spelling (e.g., `I\hbox'). Otherwise just continue,
+and I'll forget about whatever was undefined.
 Defining \__color_convert_BarToneGray_cmyk:w on line ...
 Defining \__color_convert_BarToneGray_gray:w on line ...
 Defining \__color_convert_BarToneGray_rgb:w on line ...
@@ -242,7 +269,16 @@ l. ...  }
 Defining \c__color_fallback_BarToneCIELAB_tl on line ...
 Defining \__color_parse_mix_BarToneCIELAB:nw on line ...
 Defining \__color_parse_model_BarToneCIELAB:w on line ...
-Defining \__color_backend_BarToneCIELAB:n on line ...
+Defining \__color_backend_select_BarToneCIELAB:n on line ...
+! Undefined control sequence.
+\__color_model_separation:w ...mily_separation:nn 
+                                                  {color\int_use:N \g__color...
+l. ...  }
+The control sequence at the end of the top line
+of your error message was never \def'ed. If you have
+misspelled it (e.g., `\hobx'), type `I' and the correct
+spelling (e.g., `I\hbox'). Otherwise just continue,
+and I'll forget about whatever was undefined.
 Defining \__color_convert_BarToneCIELAB_cmyk:w on line ...
 Defining \__color_convert_BarToneCIELAB_rgb:w on line ...
 Defining \__color_convert_BarToneCIELAB_gray:w on line ...
diff --git a/l3experimental/l3color/testfiles/m3color003.xetex.tlg b/l3experimental/l3color/testfiles/m3color003.xetex.tlg
index f3cd5a69b..abb3d04aa 100644
--- a/l3experimental/l3color/testfiles/m3color003.xetex.tlg
+++ b/l3experimental/l3color/testfiles/m3color003.xetex.tlg
@@ -187,7 +187,16 @@ TEST 7: Creating new models
 Defining \c__color_fallback_BarToneCMYK_tl on line ...
 Defining \__color_parse_mix_BarToneCMYK:nw on line ...
 Defining \__color_parse_model_BarToneCMYK:w on line ...
-Defining \__color_backend_BarToneCMYK:n on line ...
+Defining \__color_backend_select_BarToneCMYK:n on line ...
+! Undefined control sequence.
+\__color_model_separation:w ...mily_separation:nn 
+                                                  {color\int_use:N \g__color...
+l. ...  }
+The control sequence at the end of the top line
+of your error message was never \def'ed. If you have
+misspelled it (e.g., `\hobx'), type `I' and the correct
+spelling (e.g., `I\hbox'). Otherwise just continue,
+and I'll forget about whatever was undefined.
 Defining \__color_convert_BarToneCMYK_cmyk:w on line ...
 Defining \__color_convert_BarToneCMYK_rgb:w on line ...
 Defining \__color_convert_BarToneCMYK_gray:w on line ...
@@ -202,7 +211,16 @@ l. ...  }
 Defining \c__color_fallback_BarToneRGB_tl on line ...
 Defining \__color_parse_mix_BarToneRGB:nw on line ...
 Defining \__color_parse_model_BarToneRGB:w on line ...
-Defining \__color_backend_BarToneRGB:n on line ...
+Defining \__color_backend_select_BarToneRGB:n on line ...
+! Undefined control sequence.
+\__color_model_separation:w ...mily_separation:nn 
+                                                  {color\int_use:N \g__color...
+l. ...  }
+The control sequence at the end of the top line
+of your error message was never \def'ed. If you have
+misspelled it (e.g., `\hobx'), type `I' and the correct
+spelling (e.g., `I\hbox'). Otherwise just continue,
+and I'll forget about whatever was undefined.
 Defining \__color_convert_BarToneRGB_rgb:w on line ...
 Defining \__color_convert_BarToneRGB_cmyk:w on line ...
 Defining \__color_convert_BarToneRGB_gray:w on line ...
@@ -217,7 +235,16 @@ l. ...  }
 Defining \c__color_fallback_BarToneGray_tl on line ...
 Defining \__color_parse_mix_BarToneGray:nw on line ...
 Defining \__color_parse_model_BarToneGray:w on line ...
-Defining \__color_backend_BarToneGray:n on line ...
+Defining \__color_backend_select_BarToneGray:n on line ...
+! Undefined control sequence.
+\__color_model_separation:w ...mily_separation:nn 
+                                                  {color\int_use:N \g__color...
+l. ...  }
+The control sequence at the end of the top line
+of your error message was never \def'ed. If you have
+misspelled it (e.g., `\hobx'), type `I' and the correct
+spelling (e.g., `I\hbox'). Otherwise just continue,
+and I'll forget about whatever was undefined.
 Defining \__color_convert_BarToneGray_cmyk:w on line ...
 Defining \__color_convert_BarToneGray_gray:w on line ...
 Defining \__color_convert_BarToneGray_rgb:w on line ...
@@ -232,7 +259,16 @@ l. ...  }
 Defining \c__color_fallback_BarToneCIELAB_tl on line ...
 Defining \__color_parse_mix_BarToneCIELAB:nw on line ...
 Defining \__color_parse_model_BarToneCIELAB:w on line ...
-Defining \__color_backend_BarToneCIELAB:n on line ...
+Defining \__color_backend_select_BarToneCIELAB:n on line ...
+! Undefined control sequence.
+\__color_model_separation:w ...mily_separation:nn 
+                                                  {color\int_use:N \g__color...
+l. ...  }
+The control sequence at the end of the top line
+of your error message was never \def'ed. If you have
+misspelled it (e.g., `\hobx'), type `I' and the correct
+spelling (e.g., `I\hbox'). Otherwise just continue,
+and I'll forget about whatever was undefined.
 Defining \__color_convert_BarToneCIELAB_cmyk:w on line ...
 Defining \__color_convert_BarToneCIELAB_rgb:w on line ...
 Defining \__color_convert_BarToneCIELAB_gray:w on line ...





More information about the latex3-commits mailing list.