[latex3-commits] [l3svn] 02/02: Minor code typos in l3color-extra

noreply at latex-project.org noreply at latex-project.org
Tue Oct 10 23:39:11 CEST 2017


This is an automated email from the git hooks/post-receive script.

joseph pushed a commit to branch master
in repository l3svn.

commit 62a67f680b0cfd96d5153a32fe21112099113356
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Tue Oct 10 22:38:55 2017 +0100

    Minor code typos in l3color-extra
---
 l3trial/l3color-extra/l3color-extra.dtx |    7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/l3trial/l3color-extra/l3color-extra.dtx b/l3trial/l3color-extra/l3color-extra.dtx
index a388342..87bd53a 100644
--- a/l3trial/l3color-extra/l3color-extra.dtx
+++ b/l3trial/l3color-extra/l3color-extra.dtx
@@ -224,9 +224,8 @@
 \cs_new:Npn \@@_convert_rgb_cmyk:w #1 ~ #2 ~ #3 ~ #4 \q_stop
   {
     \exp_args:Nf \@@_convert_rgb_cmyk:nnnnn
-      { \fp_eval:n { min ( 1 - #1 , 1 - #2 , 1 - #3 ) } {#1} {#2} {#3}
+      { \fp_eval:n { min ( 1 - #1 , 1 - #2 , 1 - #3 ) } {#1} {#2} {#3} }
   }
-
 \cs_new:Npn \@@_convert_rgb_cmyk:nnnnn #1#2#3#4
   {
     \fp_eval:n { min ( 1 , max ( 0 , 1 - #2 - #1 ) ) } \c_space_tl
@@ -235,7 +234,7 @@
     #1
   }
 \cs_new:Npn \@@_convert_cmyk_gray:w #1 ~ #2 ~ #3 ~ #4 ~ #5 \q_stop
-  { \fp_eval:n { 1 - min ( 1 , 0.3 * #1 + 0.59 * #2 + 0.11 * #3 + #4 ) } } }
+  { \fp_eval:n { 1 - min ( 1 , 0.3 * #1 + 0.59 * #2 + 0.11 * #3 + #4 ) } }
 \cs_new:Npn \@@_convert_cmyk_rgb:w #1 ~ #2 ~ #3 ~ #4 ~ #5 \q_stop
   {
     \fp_eval:n { 1 - min ( 1 , #1 + #4 ) } \c_space_tl
@@ -300,7 +299,7 @@
 %   precursor functions look for a pre-defined name, either on its own or
 %   with a trailing |!| (which is the same thing).
 %    \begin{macrocode}
-\cs_new_protected:Nn \@@_parse:n #1
+\cs_new_protected:Npn \@@_parse:n #1
   {
     \tl_if_exist:cTF { l_@@_named_ #1 _tl }
       { \tl_set_eq:Nc \l__color_current_tl { l_@@_named_ #1 _tl } }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the latex3-commits mailing list