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

Joseph Wright joseph.wright at morningstar2.co.uk
Mon Oct 18 14:20:56 CEST 2021


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

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

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

    Better name


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

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

diff --git a/l3kernel/l3color.dtx b/l3kernel/l3color.dtx
index a2e3d0b28..3d7252262 100644
--- a/l3kernel/l3color.dtx
+++ b/l3kernel/l3color.dtx
@@ -448,9 +448,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
@@ -2615,41 +2615,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.