[latex3-commits] [git/LaTeX3-latex3-latex3] icc2: Better name (d788d7679)

Marcel Fabian Krüger tex at 2krueger.de
Thu Oct 14 15:09:48 CEST 2021


Repository : https://github.com/latex3/latex3
On branch  : icc2
Link       : https://github.com/latex3/latex3/commit/d788d7679b3430578238ca6eb7da5d81f6767895

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

commit d788d7679b3430578238ca6eb7da5d81f6767895
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Mon Aug 9 13:12:18 2021 +0100

    Better name


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

d788d7679b3430578238ca6eb7da5d81f6767895
 l3kernel/l3color.dtx | 26 +++++++++++++-------------
 1 file changed, 13 insertions(+), 13 deletions(-)

diff --git a/l3kernel/l3color.dtx b/l3kernel/l3color.dtx
index eae63cd86..f79c3717f 100644
--- a/l3kernel/l3color.dtx
+++ b/l3kernel/l3color.dtx
@@ -442,9 +442,9 @@
 % Applying a profile can be used to standardise color which is otherwise
 % device-dependence.
 %
-% \begin{function}[added = 2021-02-23]{\color_iccprofile_apply:nn}
+% \begin{function}[added = 2021-02-23]{\color_profile_apply:nn}
 %   \begin{syntax}
-%     \cs{color_iccprofile_apply:nn} \Arg{profile} \Arg{model}
+%     \cs{color_profile_apply:nn} \Arg{profile} \Arg{model}
 %   \end{syntax}
 %   This function applies a \meta{profile} to one of the device \meta{models}.
 %   The profile will then apply to all color of the selected \meta{model}. The
@@ -2532,41 +2532,41 @@
 %
 % \subsection{Applying profiles}
 %
-% \begin{macro}{\color_iccprofile_apply:nn, \@@_iccprofile_apply:nn}
+% \begin{macro}{\color_profile_apply:nn, \@@_profile_apply:nn}
 % \begin{macro}
 %   {
-%     \@@_iccprofile_apply_gray:n ,
-%     \@@_iccprofile_apply_rgb:n  ,
-%     \@@_iccprofile_apply_cmyk:n
+%     \@@_profile_apply_gray:n ,
+%     \@@_profile_apply_rgb:n  ,
+%     \@@_profile_apply_cmyk:n
 %   }
 %   With a limited range of outcomes, this is largely about getting data to the
 %   backend.
 %    \begin{macrocode}
-\cs_new_protected:Npn \color_iccprofile_apply:nn #1#2
+\cs_new_protected:Npn \color_profile_apply:nn #1#2
   {
-    \exp_args:Ne \@@_iccprofile_apply:nn
+    \exp_args:Ne \@@_profile_apply:nn
       { \file_full_name:n {#1} } {#2}
   }
-\cs_new_protected:Npn \@@_iccprofile_apply:nn #1#2
+\cs_new_protected:Npn \@@_profile_apply:nn #1#2
   {
-    \cs_if_exist_use:cF { @@_iccprofile_apply_ \tl_to_str:n {#2} :n }
+    \cs_if_exist_use:cF { @@_profile_apply_ \tl_to_str:n {#2} :n }
       {
         \msg_error:nnn { color } { ICC-Device-unknown } {#2}
         \use_none:n
       }
         {#1}
   }
-\cs_new_protected:Npn \@@_iccprofile_apply_gray:n #1
+\cs_new_protected:Npn \@@_profile_apply_gray:n #1
   {
     \int_gincr:N \g_@@_model_int
     \@@_backend_iccbased_device:nnn {#1} { Gray } { 1 }
   }
-\cs_new_protected:Npn \@@_iccprofile_apply_rgb:n #1
+\cs_new_protected:Npn \@@_profile_apply_rgb:n #1
   {
     \int_gincr:N \g_@@_model_int
     \@@_backend_iccbased_device:nnn {#1} { RGB } { 3 }
   }
-\cs_new_protected:Npn \@@_iccprofile_apply_cmyk:n #1
+\cs_new_protected:Npn \@@_profile_apply_cmyk:n #1
   {
     \int_gincr:N \g_@@_model_int
     \@@_backend_iccbased_device:nnn {#1} { CMYK } { 4 }





More information about the latex3-commits mailing list.