summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/l3kernel/l3color.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/l3kernel/l3color.dtx')
-rw-r--r--macros/latex/contrib/l3kernel/l3color.dtx18
1 files changed, 9 insertions, 9 deletions
diff --git a/macros/latex/contrib/l3kernel/l3color.dtx b/macros/latex/contrib/l3kernel/l3color.dtx
index 027737ea6f..a904ddeaa1 100644
--- a/macros/latex/contrib/l3kernel/l3color.dtx
+++ b/macros/latex/contrib/l3kernel/l3color.dtx
@@ -43,7 +43,7 @@
% }^^A
% }
%
-% \date{Released 2022-10-26}
+% \date{Released 2022-11-02}
%
% \maketitle
%
@@ -2168,31 +2168,31 @@
% \end{macrocode}
% \end{macro}
%
-% \begin{macro}{\@@_model_init:nnnn, \@@_model_init:nnnx}
+% \begin{macro}{\@@_model_init:nnn, \@@_model_init:nnx}
% A shared auxiliary to do the basics of setting up a new model: reserve a
% number, create a white-equivalent, set up links to the backend.
% \begin{macrocode}
-\cs_new_protected:Npn \@@_model_init:nnnn #1#2#3#4
+\cs_new_protected:Npn \@@_model_init:nnn #1#2#3
{
\int_gincr:N \g_@@_model_int
\clist_map_inline:nn { fill , stroke , select }
{
\cs_new_protected:cpx { @@_backend_ ##1 _ #1 :n } ####1
{
- \exp_not:c { @@_backend_ ##1 _ #3 :nn }
+ \exp_not:c { @@_backend_ ##1 _ #2 :nn }
{ color \int_use:N \g_@@_model_int } {####1}
}
}
\cs_new_protected:cpx { @@_model_ #1 _white: }
{
\prop_put:Nnn \exp_not:N \l_@@_named_white_prop {#1}
- { \exp_not:n {#4} }
+ { \exp_not:n {#3} }
\exp_not:N \int_compare:nNnF { \tex_currentgrouplevel:D } = 0
{ \group_insert_after:N \exp_not:c { @@_model_ #1 _ white: } }
}
\use:c { @@_model_ #1 _white: }
}
-\cs_generate_variant:Nn \@@_model_init:nnnn { nnnx }
+\cs_generate_variant:Nn \@@_model_init:nnn { nnx }
% \end{macrocode}
% \end{macro}
%
@@ -2275,7 +2275,7 @@
\cs_new_protected:Npn \@@_model_separation:w
#1 , #2 , #3 , #4 , #5 \s_@@_stop #6#7#8
{
- \@@_model_init:nnnn {#6} { 1 } { separation } { 0 }
+ \@@_model_init:nnn {#6} { separation } { 0 }
\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} } }
@@ -2504,7 +2504,7 @@
% \begin{macrocode}
\cs_new_protected:Npn \@@_model_devicen:nnnn #1#2#3#4
{
- \@@_model_init:nnnx {#4} {#1} { devicen }
+ \@@_model_init:nnx {#4} { devicen }
{
0 \prg_replicate:nn { #1 - 1 } { ~ 0 }
}
@@ -2954,7 +2954,7 @@
% \begin{macrocode}
\cs_new_protected:Npn \@@_model_iccbased_aux:nnnnnn #1#2#3#4#5#6
{
- \@@_model_init:nnnn {#5} {#1} { iccbased } {#3}
+ \@@_model_init:nnn {#5} { iccbased } {#3}
\tl_const:cn { c_@@_fallback_ #5 _tl } { gray }
\cs_new:cpn { @@_convert_ #5 _gray:w } ##1 \s_@@_stop { 0 }
\cs_new:cpn { @@_convert_gray_ #5 :w } ##1 \s_@@_stop { #2 }