summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/l3kernel/l3color.dtx
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-10-13 03:01:03 +0000
committerNorbert Preining <norbert@preining.info>2021-10-13 03:01:03 +0000
commitf3646ee8d559655d609cfc1108a77dea360c933a (patch)
tree2be9068915923c430bb3e04fc6346e1e3f56ecb6 /macros/latex/contrib/l3kernel/l3color.dtx
parent20b79660fb560eb1dd8e80d44837e0d4c17ca03c (diff)
CTAN sync 202110130301
Diffstat (limited to 'macros/latex/contrib/l3kernel/l3color.dtx')
-rw-r--r--macros/latex/contrib/l3kernel/l3color.dtx11
1 files changed, 6 insertions, 5 deletions
diff --git a/macros/latex/contrib/l3kernel/l3color.dtx b/macros/latex/contrib/l3kernel/l3color.dtx
index 81fbb36bc3..a43a2e1294 100644
--- a/macros/latex/contrib/l3kernel/l3color.dtx
+++ b/macros/latex/contrib/l3kernel/l3color.dtx
@@ -43,7 +43,7 @@
% }^^A
% }
%
-% \date{Released 2021-08-27}
+% \date{Released 2021-10-12}
%
% \maketitle
%
@@ -2284,8 +2284,9 @@
{
\prg_replicate:nn {#1}
{ neg ~ 1.0 ~ add ~ #1 ~ -1 ~ roll ~ }
- \int_eval:n { #2 + 4 } ~ 4 ~ roll
- \prg_replicate:nn {#2} { ~ pop }
+ \int_eval:n { #2 + #1 } ~ #1 ~ roll
+ \prg_replicate:nn {#2} { ~ pop } ~
+ #1 ~ 1 ~ roll
}
\use:x
{
@@ -2302,7 +2303,7 @@
{ rgb } { /DeviceRGB }
}
}
- { \exp_not:V \l_@@_internal_tl }
+ { { \exp_not:V \l_@@_internal_tl } }
}
}
\cs_new_protected:Npn \@@_model_devicen_transform:w
@@ -2330,7 +2331,7 @@
\fp_compare:nNnF {#3} = \c_zero_fp
{
\int_eval:n { #1 - \l_@@_internal_int + #2 } ~ index ~
- #3 ~ neg ~ mul ~ 1.0 ~ add ~ mul ~
+ -#3 ~ mul ~ 1.0 ~ add ~ mul ~
}
#2 ~ -1 ~ roll ~
}