[latex3-commits] [git/LaTeX3-latex3-latex3] master: Suppress deprecation warning for normal users (cc5988b)

Bruno Le Floch bruno at le-floch.fr
Fri Mar 1 22:11:29 CET 2019


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/cc5988b79b90020c901637c34e7f6efee643b891

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

commit cc5988b79b90020c901637c34e7f6efee643b891
Author: Bruno Le Floch <bruno at le-floch.fr>
Date:   Fri Mar 1 22:11:29 2019 +0100

    Suppress deprecation warning for normal users


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

cc5988b79b90020c901637c34e7f6efee643b891
 contrib/testfiles/ctex001.luatex.tlg           |    2 -
 contrib/testfiles/ctex001.ptex.tlg             |    2 -
 contrib/testfiles/ctex001.tlg                  |    2 -
 contrib/testfiles/ctex001.uptex.tlg            |    2 -
 contrib/testfiles/ctex002.ptex.tlg             |    2 -
 contrib/testfiles/ctex002.uptex.tlg            |    2 -
 l3kernel/l3deprecation.dtx                     |   46 ++++++---
 l3kernel/testfiles/m3deprecation002.luatex.tlg |    4 +
 l3kernel/testfiles/m3deprecation002.lvt        |    5 +
 l3kernel/testfiles/m3deprecation002.tlg        |    4 +
 l3kernel/testfiles/m3deprecation003.luatex.tlg |  122 ++++++++++++++++++++++++
 l3kernel/testfiles/m3deprecation003.lvt        |   27 ++++++
 l3kernel/testfiles/m3deprecation003.tlg        |  122 ++++++++++++++++++++++++
 l3kernel/testfiles/m3expl001.luatex.tlg        |    2 +-
 l3kernel/testfiles/m3expl001.ptex.tlg          |    2 +-
 l3kernel/testfiles/m3expl001.tlg               |    2 +-
 l3kernel/testfiles/m3expl001.uptex.tlg         |    2 +-
 l3kernel/testfiles/m3expl001.xetex.tlg         |    2 +-
 l3kernel/testfiles/m3expl003.luatex.tlg        |    2 +-
 l3kernel/testfiles/m3expl003.ptex.tlg          |    2 +-
 l3kernel/testfiles/m3expl003.tlg               |    2 +-
 l3kernel/testfiles/m3expl003.uptex.tlg         |    2 +-
 l3kernel/testfiles/m3expl003.xetex.tlg         |    2 +-
 23 files changed, 325 insertions(+), 37 deletions(-)

diff --git a/contrib/testfiles/ctex001.luatex.tlg b/contrib/testfiles/ctex001.luatex.tlg
index 6998aa1..6376456 100644
--- a/contrib/testfiles/ctex001.luatex.tlg
+++ b/contrib/testfiles/ctex001.luatex.tlg
@@ -1,7 +1,5 @@
 This is a generated file for the LaTeX (2e + expl3) validation system.
 Don't change this file in any respect.
-LaTeX3 Warning: The deprecated command '\msg_term:n' has been or will be
-(LaTeX3)        removed on ....-..-... Use instead '\iow_term:n '.
 *************************************************
 * OK, ctex-test-passed!
 *************************************************
diff --git a/contrib/testfiles/ctex001.ptex.tlg b/contrib/testfiles/ctex001.ptex.tlg
index f42997d..f8d9b1b 100644
--- a/contrib/testfiles/ctex001.ptex.tlg
+++ b/contrib/testfiles/ctex001.ptex.tlg
@@ -1,7 +1,5 @@
 This is a generated file for the LaTeX (2e + expl3) validation system.
 Don't change this file in any respect.
-LaTeX3 Warning: The deprecated command '\msg_term:n' has been or will be
-(LaTeX3)        removed on ....-..-... Use instead '\iow_term:n '.
 *************************************************
 * Not-supported-engine!
 *************************************************
diff --git a/contrib/testfiles/ctex001.tlg b/contrib/testfiles/ctex001.tlg
index 6998aa1..6376456 100644
--- a/contrib/testfiles/ctex001.tlg
+++ b/contrib/testfiles/ctex001.tlg
@@ -1,7 +1,5 @@
 This is a generated file for the LaTeX (2e + expl3) validation system.
 Don't change this file in any respect.
-LaTeX3 Warning: The deprecated command '\msg_term:n' has been or will be
-(LaTeX3)        removed on ....-..-... Use instead '\iow_term:n '.
 *************************************************
 * OK, ctex-test-passed!
 *************************************************
diff --git a/contrib/testfiles/ctex001.uptex.tlg b/contrib/testfiles/ctex001.uptex.tlg
index f42997d..f8d9b1b 100644
--- a/contrib/testfiles/ctex001.uptex.tlg
+++ b/contrib/testfiles/ctex001.uptex.tlg
@@ -1,7 +1,5 @@
 This is a generated file for the LaTeX (2e + expl3) validation system.
 Don't change this file in any respect.
-LaTeX3 Warning: The deprecated command '\msg_term:n' has been or will be
-(LaTeX3)        removed on ....-..-... Use instead '\iow_term:n '.
 *************************************************
 * Not-supported-engine!
 *************************************************
diff --git a/contrib/testfiles/ctex002.ptex.tlg b/contrib/testfiles/ctex002.ptex.tlg
index f42997d..f8d9b1b 100644
--- a/contrib/testfiles/ctex002.ptex.tlg
+++ b/contrib/testfiles/ctex002.ptex.tlg
@@ -1,7 +1,5 @@
 This is a generated file for the LaTeX (2e + expl3) validation system.
 Don't change this file in any respect.
-LaTeX3 Warning: The deprecated command '\msg_term:n' has been or will be
-(LaTeX3)        removed on ....-..-... Use instead '\iow_term:n '.
 *************************************************
 * Not-supported-engine!
 *************************************************
diff --git a/contrib/testfiles/ctex002.uptex.tlg b/contrib/testfiles/ctex002.uptex.tlg
index f42997d..f8d9b1b 100644
--- a/contrib/testfiles/ctex002.uptex.tlg
+++ b/contrib/testfiles/ctex002.uptex.tlg
@@ -1,7 +1,5 @@
 This is a generated file for the LaTeX (2e + expl3) validation system.
 Don't change this file in any respect.
-LaTeX3 Warning: The deprecated command '\msg_term:n' has been or will be
-(LaTeX3)        removed on ....-..-... Use instead '\iow_term:n '.
 *************************************************
 * Not-supported-engine!
 *************************************************
diff --git a/l3kernel/l3deprecation.dtx b/l3kernel/l3deprecation.dtx
index 4163e01..aad6c46 100644
--- a/l3kernel/l3deprecation.dtx
+++ b/l3kernel/l3deprecation.dtx
@@ -239,14 +239,15 @@
 % of this file.
 %
 % \cs{__kernel_patch_deprecation:nnNNpn} \Arg{year} \Arg{replacement}
-% \meta{definition} \meta{function} \meta{parameters} \Arg{type} \Arg{code}
+% \meta{definition} \meta{function} \meta{parameters} \Arg{code}
 % patches the \meta{function} so that before the \meta{year} it
 % produces a deprecation warning and starting at the beginning of the
 % \meta{year} a deprecation error suggesting to use the
 % \meta{replacement}.  If the \pkg{expl3} option
 % \texttt{undo-recent-deprecations} is given, there is an additional
 % $6$~month grace period during which the error is downgraded to a
-% warning.
+% warning.  The warning is also suppressed if |enable-debug| is off, the
+% most common setting for users.
 %
 % \begin{macro}{\@@_date_compare:nNnTF, \@@_date_compare_aux:w}
 %   Expects |#1| and |#3| to be dates in the format YYYY-MM-DD (but
@@ -269,6 +270,22 @@
 %    \end{macrocode}
 % \end{macro}
 %
+% \begin{macro}{\@@_not_yet_deprecated:nTF}
+%   Receives a year at which some command is deprecated, and determines
+%   whether the \pkg{expl3} date makes it deprecated.  This includes the
+%   $6$-month grace period for \texttt{undo-recent-deprecations}.  Takes
+%   the \texttt{true} branch if the command should be defined without
+%   deprecation and the \texttt{false} branch if it's time to deprecate
+%   it.
+%    \begin{macrocode}
+\cs_new_protected:Npx \@@_not_yet_deprecated:nTF #1
+  {
+    \exp_not:N \@@_date_compare:nNnTF { \ExplLoaderFileDate } <
+      { #1 \bool_if:NT \l at expl@undo at recent@deprecations at bool { -07 } }
+  }
+%    \end{macrocode}
+% \end{macro}
+%
 % \begin{macro}
 %   {
 %     \__kernel_patch_deprecation:nnNNpn,
@@ -319,11 +336,6 @@
     }
         {#1} {#2} #4 {#5}
   }
-\cs_new_protected:Npx \@@_deprecated_yet:nTF #1
-  {
-    \exp_not:N \@@_date_compare:nNnTF { \ExplLoaderFileDate } <
-      { #1 \bool_if:NT \l at expl@undo at recent@deprecations at bool { -07 } }
-  }
 \cs_new_protected:Npn \@@_deprecation_aux:NNnnNnn #1#2#3#4#5#6#7
   {
     \__kernel_deprecation_code:nn
@@ -335,7 +347,7 @@
         \tex_let:D #5 \scan_stop:
         #1 #5 #6 {#7}
       }
-    \@@_deprecated_yet:nTF {#3}
+    \@@_not_yet_deprecated:nTF {#3}
       { #2 {#3} {#4} #5 {#6} {#7} }
       {
         \exp_args:NNx #1 #5
@@ -352,11 +364,15 @@
   {
     \cs_new_protected:Npx #3
       {
-        \exp_not:N \__kernel_msg_warning:nnxxx
-          { kernel } { deprecated-command } { #1-01-01 }
-          { \token_to_str:N #3 } { \tl_to_str:n {#2} }
-          \exp_not:n { \cs_gset_protected:Npn #3 #4 {#5} }
-          \exp_not:N #3
+        \__kernel_if_debug:TF
+          {
+            \exp_not:N \__kernel_msg_warning:nnxxx
+              { kernel } { deprecated-command } { #1-01-01 }
+              { \token_to_str:N #3 } { \tl_to_str:n {#2} }
+          }
+          { }
+        \exp_not:n { \cs_gset_protected:Npn #3 #4 {#5} }
+        \exp_not:N #3
       }
   }
 \cs_new_protected:Npn \@@_deprecation_expandable:nnNnn #1#2#3#4#5
@@ -449,7 +465,7 @@
     \tex_let:D \g_file_current_name_tl \scan_stop:
     \cs_set_nopar:Npn \g_file_current_name_tl { \g_file_curr_name_str }
   }
-\@@_deprecated_yet:nTF { 2019 }
+\@@_not_yet_deprecated:nTF { 2019 }
   {
     \tl_new:N \g_file_current_name_tl
     \tl_gset:Nn \g_file_current_name_tl { \g_file_curr_name_str }
@@ -543,7 +559,7 @@
     \tex_let:D \c_minus_one \scan_stop:
     \cs_set_eq:NN \c_minus_one \c_@@_minus_one
   }
-\@@_deprecated_yet:nTF { 2019 }
+\@@_not_yet_deprecated:nTF { 2019 }
   { \cs_new_eq:NN \c_minus_one \c_@@_minus_one }
   {
     \cs_gset_nopar:Npn \c_minus_one
diff --git a/l3kernel/testfiles/m3deprecation002.luatex.tlg b/l3kernel/testfiles/m3deprecation002.luatex.tlg
index 5fe506a..b602ce9 100644
--- a/l3kernel/testfiles/m3deprecation002.luatex.tlg
+++ b/l3kernel/testfiles/m3deprecation002.luatex.tlg
@@ -305,3 +305,7 @@ you forgot something else, as in `\hbox{$x}'. In such cases
 the way to recover is to insert both the forgotten and the
 deleted material, e.g., by typing `I$}'.
 \c_backslash_str  m3deprecation002
+LaTeX3 Warning: The deprecated command '\token_new:Nn' has been or will be
+(LaTeX3)        removed on ....-..-... Use instead '\cs_new_eq:NN '.
+Defining \c_testa_token on line ...
+Defining \c_testb_token on line ...
diff --git a/l3kernel/testfiles/m3deprecation002.lvt b/l3kernel/testfiles/m3deprecation002.lvt
index 3d0bc61..3c5bec1 100644
--- a/l3kernel/testfiles/m3deprecation002.lvt
+++ b/l3kernel/testfiles/m3deprecation002.lvt
@@ -38,6 +38,11 @@
   \group_end:
   \tex_message:D { \etex_unexpanded:D { \c_backslash_str } }
   \tex_message:D { \g_file_current_name_tl }
+  \token_new:Nn \c_testa_token { ~ }
+  \token_new:Nn \c_testb_token { ~ }
+  \token_if_eq_meaning:NNF \c_testa_token \c_space_token { \ERROR }
+  \token_if_eq_meaning:NNF \c_testb_token \c_space_token { \ERROR }
 \hbox_set_end:
 
+
 \END
diff --git a/l3kernel/testfiles/m3deprecation002.tlg b/l3kernel/testfiles/m3deprecation002.tlg
index 09ba2c3..e394a9a 100644
--- a/l3kernel/testfiles/m3deprecation002.tlg
+++ b/l3kernel/testfiles/m3deprecation002.tlg
@@ -305,3 +305,7 @@ you forgot something else, as in `\hbox{$x}'. In such cases
 the way to recover is to insert both the forgotten and the
 deleted material, e.g., by typing `I$}'.
 \c_backslash_str  m3deprecation002
+LaTeX3 Warning: The deprecated command '\token_new:Nn' has been or will be
+(LaTeX3)        removed on ....-..-... Use instead '\cs_new_eq:NN '.
+Defining \c_testa_token on line ...
+Defining \c_testb_token on line ...
diff --git a/l3kernel/testfiles/m3deprecation003.luatex.tlg b/l3kernel/testfiles/m3deprecation003.luatex.tlg
new file mode 100644
index 0000000..533a6e0
--- /dev/null
+++ b/l3kernel/testfiles/m3deprecation003.luatex.tlg
@@ -0,0 +1,122 @@
+This is a generated file for the LaTeX (2e + expl3) validation system.
+Don't change this file in any respect.
+Author: Bruno Le Floch
+Runaway definition?
+->
+! Forbidden control sequence found while scanning definition of \test:.
+<inserted text> 
+}
+l. ...\cs_new:Npn \test: { \str_case:nnn
+                                      { } { } { }}
+I suspect you have forgotten a `}', causing me
+to read past where you wanted me to stop.
+I'll try to recover; but if the error is serious,
+you'd better type `E' or `X' now and fix your file.
+! Undefined control sequence.
+<argument> \LaTeX3 error: 
+                The deprecated command '\str_case:nnn' has been or will be remo
+l. ...\cs_new:Npn \test: { \str_case:nnn
+                                      { } { } { }}
+The control sequence at the end of the top line
+of your error message was never \def'ed. If you have
+misspelled it (e.g., `\hobx'), type `I' and the correct
+spelling (e.g., `I\hbox'). Otherwise just continue,
+and I'll forget about whatever was undefined.
+! LaTeX3 Error: The deprecated command '\str_case:nnn' has been or will be
+(LaTeX3)        removed on ....-..-... Use instead '\str_case:nnF '.
+Type <return> to continue.
+ ...                                              
+l. ...\cs_new:Npn \test: { \str_case:nnn
+                                      { } { } { }}
+LaTeX does not know anything more about this error, sorry.
+Try typing <return> to proceed.
+If that doesn't work, type X <return> to quit.
+! Too many }'s.
+l. ...\cs_new:Npn \test: { \str_case:nnn { } { } { }}
+You've closed more groups than you opened.
+Such booboos are generally harmless, so keep going.
+Runaway argument?
+{
+! Forbidden control sequence found while scanning use of \tl_set:Nx.
+<inserted text> 
+\par 
+l. ...\tl_set:Nx \l_tmpa_tl { \c_job_name_tl
+                                          }
+I suspect you have forgotten a `}', causing me
+to read past where you wanted me to stop.
+I'll try to recover; but if the error is serious,
+you'd better type `E' or `X' now and fix your file.
+! Undefined control sequence.
+<argument> \LaTeX3 error: 
+                The deprecated command '\c_job_name_tl' has been or will be rem
+l. ...\tl_set:Nx \l_tmpa_tl { \c_job_name_tl
+                                          }
+The control sequence at the end of the top line
+of your error message was never \def'ed. If you have
+misspelled it (e.g., `\hobx'), type `I' and the correct
+spelling (e.g., `I\hbox'). Otherwise just continue,
+and I'll forget about whatever was undefined.
+! LaTeX3 Error: The deprecated command '\c_job_name_tl' has been or will be
+(LaTeX3)        removed on ....-..-... Use instead '\c_sys_jobname_str '.
+Type <return> to continue.
+ ...                                              
+l. ...\tl_set:Nx \l_tmpa_tl { \c_job_name_tl
+                                          }
+LaTeX does not know anything more about this error, sorry.
+Try typing <return> to proceed.
+If that doesn't work, type X <return> to quit.
+! Too many }'s.
+l. ...\tl_set:Nx \l_tmpa_tl { \c_job_name_tl }
+You've closed more groups than you opened.
+Such booboos are generally harmless, so keep going.
+! Undefined control sequence.
+<argument> \LaTeX3 error: 
+                The deprecated command '\xetex_if_engine:TF' has been or will b
+l. ...\xetex_if_engine:TF
+                       { } { }
+The control sequence at the end of the top line
+of your error message was never \def'ed. If you have
+misspelled it (e.g., `\hobx'), type `I' and the correct
+spelling (e.g., `I\hbox'). Otherwise just continue,
+and I'll forget about whatever was undefined.
+! LaTeX3 Error: The deprecated command '\xetex_if_engine:TF' has been or will
+(LaTeX3)        be removed on ....-..-... Use instead
+(LaTeX3)        '\sys_if_engine_xetex:TF '.
+Type <return> to continue.
+ ...                                              
+l. ...\xetex_if_engine:TF
+                       { } { }
+LaTeX does not know anything more about this error, sorry.
+Try typing <return> to proceed.
+If that doesn't work, type X <return> to quit.
+Runaway argument?
+! Forbidden control sequence found while scanning use of \use:n.
+<inserted text> 
+\par 
+l. ...\use:n \tl_to_lowercase:n
+                             { \TYPE { Aa } }
+I suspect you have forgotten a `}', causing me
+to read past where you wanted me to stop.
+I'll try to recover; but if the error is serious,
+you'd better type `E' or `X' now and fix your file.
+! Undefined control sequence.
+<argument> \LaTeX3 error: 
+                The deprecated command '\tl_to_lowercase:n' has been or will be
+l. ...\use:n \tl_to_lowercase:n
+                             { \TYPE { Aa } }
+The control sequence at the end of the top line
+of your error message was never \def'ed. If you have
+misspelled it (e.g., `\hobx'), type `I' and the correct
+spelling (e.g., `I\hbox'). Otherwise just continue,
+and I'll forget about whatever was undefined.
+! LaTeX3 Error: The deprecated command '\tl_to_lowercase:n' has been or will
+(LaTeX3)        be removed on ....-..-... Use instead '\tex_lowercase:D '.
+Type <return> to continue.
+ ...                                              
+l. ...\use:n \tl_to_lowercase:n
+                             { \TYPE { Aa } }
+LaTeX does not know anything more about this error, sorry.
+Try typing <return> to proceed.
+If that doesn't work, type X <return> to quit.
+Aa
+\c_backslash_str  m3deprecation003
diff --git a/l3kernel/testfiles/m3deprecation003.lvt b/l3kernel/testfiles/m3deprecation003.lvt
new file mode 100644
index 0000000..1a6b0be
--- /dev/null
+++ b/l3kernel/testfiles/m3deprecation003.lvt
@@ -0,0 +1,27 @@
+%
+% Copyright (C) 2019 LaTeX3 Project
+%
+\input{regression-test}
+
+\RequirePackage[undo-recent-deprecations]{expl3}
+
+\START
+\AUTHOR{Bruno Le Floch}
+\ExplSyntaxOn
+
+\cs_new:Npn \test: { \str_case:nnn { } { } { }}
+\tl_set:Nx \l_tmpa_tl { \c_job_name_tl }
+\xetex_if_engine:TF { } { }
+\use:n \tl_to_lowercase:n { \TYPE { Aa } }
+
+\hbox_set:Nw \l_tmpa_box % avoid "missing begin document" errors
+  \tex_message:D { \etex_unexpanded:D { \c_backslash_str } }
+  \tex_message:D { \g_file_current_name_tl }
+  \use:n \token_new:Nn \c_testa_token { ~ }
+  \token_new:Nn \c_testb_token { ~ }
+  \token_if_eq_meaning:NNF \c_testa_token \c_space_token { \ERROR }
+  \token_if_eq_meaning:NNF \c_testb_token \c_space_token { \ERROR }
+\hbox_set_end:
+
+
+\END
diff --git a/l3kernel/testfiles/m3deprecation003.tlg b/l3kernel/testfiles/m3deprecation003.tlg
new file mode 100644
index 0000000..4a462c8
--- /dev/null
+++ b/l3kernel/testfiles/m3deprecation003.tlg
@@ -0,0 +1,122 @@
+This is a generated file for the LaTeX (2e + expl3) validation system.
+Don't change this file in any respect.
+Author: Bruno Le Floch
+Runaway definition?
+->
+! Forbidden control sequence found while scanning definition of \test:.
+<inserted text> 
+                }
+l. ...\cs_new:Npn \test: { \str_case:nnn
+                                        { } { } { }}
+I suspect you have forgotten a `}', causing me
+to read past where you wanted me to stop.
+I'll try to recover; but if the error is serious,
+you'd better type `E' or `X' now and fix your file.
+! Undefined control sequence.
+<argument> \LaTeX3 error: 
+                           The deprecated command '\str_case:nnn' has been o...
+l. ...\cs_new:Npn \test: { \str_case:nnn
+                                        { } { } { }}
+The control sequence at the end of the top line
+of your error message was never \def'ed. If you have
+misspelled it (e.g., `\hobx'), type `I' and the correct
+spelling (e.g., `I\hbox'). Otherwise just continue,
+and I'll forget about whatever was undefined.
+! LaTeX3 Error: The deprecated command '\str_case:nnn' has been or will be
+(LaTeX3)        removed on ....-..-... Use instead '\str_case:nnF '.
+Type <return> to continue.
+ ...                                              
+l. ...\cs_new:Npn \test: { \str_case:nnn
+                                        { } { } { }}
+LaTeX does not know anything more about this error, sorry.
+Try typing <return> to proceed.
+If that doesn't work, type X <return> to quit.
+! Too many }'s.
+l. ......ew:Npn \test: { \str_case:nnn { } { } { }}
+You've closed more groups than you opened.
+Such booboos are generally harmless, so keep going.
+Runaway argument?
+{
+! Forbidden control sequence found while scanning use of \tl_set:Nx.
+<inserted text> 
+                \par 
+l. ...\tl_set:Nx \l_tmpa_tl { \c_job_name_tl
+                                            }
+I suspect you have forgotten a `}', causing me
+to read past where you wanted me to stop.
+I'll try to recover; but if the error is serious,
+you'd better type `E' or `X' now and fix your file.
+! Undefined control sequence.
+<argument> \LaTeX3 error: 
+                           The deprecated command '\c_job_name_tl' has been ...
+l. ...\tl_set:Nx \l_tmpa_tl { \c_job_name_tl
+                                            }
+The control sequence at the end of the top line
+of your error message was never \def'ed. If you have
+misspelled it (e.g., `\hobx'), type `I' and the correct
+spelling (e.g., `I\hbox'). Otherwise just continue,
+and I'll forget about whatever was undefined.
+! LaTeX3 Error: The deprecated command '\c_job_name_tl' has been or will be
+(LaTeX3)        removed on ....-..-... Use instead '\c_sys_jobname_str '.
+Type <return> to continue.
+ ...                                              
+l. ...\tl_set:Nx \l_tmpa_tl { \c_job_name_tl
+                                            }
+LaTeX does not know anything more about this error, sorry.
+Try typing <return> to proceed.
+If that doesn't work, type X <return> to quit.
+! Too many }'s.
+l. ...\tl_set:Nx \l_tmpa_tl { \c_job_name_tl }
+You've closed more groups than you opened.
+Such booboos are generally harmless, so keep going.
+! Undefined control sequence.
+<argument> \LaTeX3 error: 
+                           The deprecated command '\xetex_if_engine:TF' has ...
+l. ...\xetex_if_engine:TF
+                         { } { }
+The control sequence at the end of the top line
+of your error message was never \def'ed. If you have
+misspelled it (e.g., `\hobx'), type `I' and the correct
+spelling (e.g., `I\hbox'). Otherwise just continue,
+and I'll forget about whatever was undefined.
+! LaTeX3 Error: The deprecated command '\xetex_if_engine:TF' has been or will
+(LaTeX3)        be removed on ....-..-... Use instead
+(LaTeX3)        '\sys_if_engine_xetex:TF '.
+Type <return> to continue.
+ ...                                              
+l. ...\xetex_if_engine:TF
+                         { } { }
+LaTeX does not know anything more about this error, sorry.
+Try typing <return> to proceed.
+If that doesn't work, type X <return> to quit.
+Runaway argument?
+! Forbidden control sequence found while scanning use of \use:n.
+<inserted text> 
+                \par 
+l. ...\use:n \tl_to_lowercase:n
+                               { \TYPE { Aa } }
+I suspect you have forgotten a `}', causing me
+to read past where you wanted me to stop.
+I'll try to recover; but if the error is serious,
+you'd better type `E' or `X' now and fix your file.
+! Undefined control sequence.
+<argument> \LaTeX3 error: 
+                           The deprecated command '\tl_to_lowercase:n' has b...
+l. ...\use:n \tl_to_lowercase:n
+                               { \TYPE { Aa } }
+The control sequence at the end of the top line
+of your error message was never \def'ed. If you have
+misspelled it (e.g., `\hobx'), type `I' and the correct
+spelling (e.g., `I\hbox'). Otherwise just continue,
+and I'll forget about whatever was undefined.
+! LaTeX3 Error: The deprecated command '\tl_to_lowercase:n' has been or will
+(LaTeX3)        be removed on ....-..-... Use instead '\tex_lowercase:D '.
+Type <return> to continue.
+ ...                                              
+l. ...\use:n \tl_to_lowercase:n
+                               { \TYPE { Aa } }
+LaTeX does not know anything more about this error, sorry.
+Try typing <return> to proceed.
+If that doesn't work, type X <return> to quit.
+Aa
+\c_backslash_str  m3deprecation003
diff --git a/l3kernel/testfiles/m3expl001.luatex.tlg b/l3kernel/testfiles/m3expl001.luatex.tlg
index 1bfbd5e..3eb4022 100644
--- a/l3kernel/testfiles/m3expl001.luatex.tlg
+++ b/l3kernel/testfiles/m3expl001.luatex.tlg
@@ -6206,8 +6206,8 @@ Defining \__deprecation_primitive:NN on line ...
 Defining \__deprecation_primitive:w on line ...
 Defining \__deprecation_date_compare:nNnTF on line ...
 Defining \__deprecation_date_compare_aux:w on line ...
+Defining \__deprecation_not_yet_deprecated:nTF on line ...
 Defining \__kernel_patch_deprecation:nnNNpn on line ...
-Defining \__deprecation_deprecated_yet:nTF on line ...
 Defining \__deprecation_deprecation_aux:NNnnNnn on line ...
 Defining \__deprecation_deprecation_protected:nnNnn on line ...
 Defining \__deprecation_deprecation_expandable:nnNnn on line ...
diff --git a/l3kernel/testfiles/m3expl001.ptex.tlg b/l3kernel/testfiles/m3expl001.ptex.tlg
index 4ddf8a6..0190148 100644
--- a/l3kernel/testfiles/m3expl001.ptex.tlg
+++ b/l3kernel/testfiles/m3expl001.ptex.tlg
@@ -6247,8 +6247,8 @@ Defining \__deprecation_primitive:NN on line ...
 Defining \__deprecation_primitive:w on line ...
 Defining \__deprecation_date_compare:nNnTF on line ...
 Defining \__deprecation_date_compare_aux:w on line ...
+Defining \__deprecation_not_yet_deprecated:nTF on line ...
 Defining \__kernel_patch_deprecation:nnNNpn on line ...
-Defining \__deprecation_deprecated_yet:nTF on line ...
 Defining \__deprecation_deprecation_aux:NNnnNnn on line ...
 Defining \__deprecation_deprecation_protected:nnNnn on line ...
 Defining \__deprecation_deprecation_expandable:nnNnn on line ...
diff --git a/l3kernel/testfiles/m3expl001.tlg b/l3kernel/testfiles/m3expl001.tlg
index 35c5bca..2302ed7 100644
--- a/l3kernel/testfiles/m3expl001.tlg
+++ b/l3kernel/testfiles/m3expl001.tlg
@@ -6547,8 +6547,8 @@ Defining \__deprecation_primitive:NN on line ...
 Defining \__deprecation_primitive:w on line ...
 Defining \__deprecation_date_compare:nNnTF on line ...
 Defining \__deprecation_date_compare_aux:w on line ...
+Defining \__deprecation_not_yet_deprecated:nTF on line ...
 Defining \__kernel_patch_deprecation:nnNNpn on line ...
-Defining \__deprecation_deprecated_yet:nTF on line ...
 Defining \__deprecation_deprecation_aux:NNnnNnn on line ...
 Defining \__deprecation_deprecation_protected:nnNnn on line ...
 Defining \__deprecation_deprecation_expandable:nnNnn on line ...
diff --git a/l3kernel/testfiles/m3expl001.uptex.tlg b/l3kernel/testfiles/m3expl001.uptex.tlg
index 4579bcb..e1037bd 100644
--- a/l3kernel/testfiles/m3expl001.uptex.tlg
+++ b/l3kernel/testfiles/m3expl001.uptex.tlg
@@ -6544,8 +6544,8 @@ Defining \__deprecation_primitive:NN on line ...
 Defining \__deprecation_primitive:w on line ...
 Defining \__deprecation_date_compare:nNnTF on line ...
 Defining \__deprecation_date_compare_aux:w on line ...
+Defining \__deprecation_not_yet_deprecated:nTF on line ...
 Defining \__kernel_patch_deprecation:nnNNpn on line ...
-Defining \__deprecation_deprecated_yet:nTF on line ...
 Defining \__deprecation_deprecation_aux:NNnnNnn on line ...
 Defining \__deprecation_deprecation_protected:nnNnn on line ...
 Defining \__deprecation_deprecation_expandable:nnNnn on line ...
diff --git a/l3kernel/testfiles/m3expl001.xetex.tlg b/l3kernel/testfiles/m3expl001.xetex.tlg
index 89f1722..7904e98 100644
--- a/l3kernel/testfiles/m3expl001.xetex.tlg
+++ b/l3kernel/testfiles/m3expl001.xetex.tlg
@@ -6214,8 +6214,8 @@ Defining \__deprecation_primitive:NN on line ...
 Defining \__deprecation_primitive:w on line ...
 Defining \__deprecation_date_compare:nNnTF on line ...
 Defining \__deprecation_date_compare_aux:w on line ...
+Defining \__deprecation_not_yet_deprecated:nTF on line ...
 Defining \__kernel_patch_deprecation:nnNNpn on line ...
-Defining \__deprecation_deprecated_yet:nTF on line ...
 Defining \__deprecation_deprecation_aux:NNnnNnn on line ...
 Defining \__deprecation_deprecation_protected:nnNnn on line ...
 Defining \__deprecation_deprecation_expandable:nnNnn on line ...
diff --git a/l3kernel/testfiles/m3expl003.luatex.tlg b/l3kernel/testfiles/m3expl003.luatex.tlg
index 1bfbd5e..3eb4022 100644
--- a/l3kernel/testfiles/m3expl003.luatex.tlg
+++ b/l3kernel/testfiles/m3expl003.luatex.tlg
@@ -6206,8 +6206,8 @@ Defining \__deprecation_primitive:NN on line ...
 Defining \__deprecation_primitive:w on line ...
 Defining \__deprecation_date_compare:nNnTF on line ...
 Defining \__deprecation_date_compare_aux:w on line ...
+Defining \__deprecation_not_yet_deprecated:nTF on line ...
 Defining \__kernel_patch_deprecation:nnNNpn on line ...
-Defining \__deprecation_deprecated_yet:nTF on line ...
 Defining \__deprecation_deprecation_aux:NNnnNnn on line ...
 Defining \__deprecation_deprecation_protected:nnNnn on line ...
 Defining \__deprecation_deprecation_expandable:nnNnn on line ...
diff --git a/l3kernel/testfiles/m3expl003.ptex.tlg b/l3kernel/testfiles/m3expl003.ptex.tlg
index 4ddf8a6..0190148 100644
--- a/l3kernel/testfiles/m3expl003.ptex.tlg
+++ b/l3kernel/testfiles/m3expl003.ptex.tlg
@@ -6247,8 +6247,8 @@ Defining \__deprecation_primitive:NN on line ...
 Defining \__deprecation_primitive:w on line ...
 Defining \__deprecation_date_compare:nNnTF on line ...
 Defining \__deprecation_date_compare_aux:w on line ...
+Defining \__deprecation_not_yet_deprecated:nTF on line ...
 Defining \__kernel_patch_deprecation:nnNNpn on line ...
-Defining \__deprecation_deprecated_yet:nTF on line ...
 Defining \__deprecation_deprecation_aux:NNnnNnn on line ...
 Defining \__deprecation_deprecation_protected:nnNnn on line ...
 Defining \__deprecation_deprecation_expandable:nnNnn on line ...
diff --git a/l3kernel/testfiles/m3expl003.tlg b/l3kernel/testfiles/m3expl003.tlg
index 35c5bca..2302ed7 100644
--- a/l3kernel/testfiles/m3expl003.tlg
+++ b/l3kernel/testfiles/m3expl003.tlg
@@ -6547,8 +6547,8 @@ Defining \__deprecation_primitive:NN on line ...
 Defining \__deprecation_primitive:w on line ...
 Defining \__deprecation_date_compare:nNnTF on line ...
 Defining \__deprecation_date_compare_aux:w on line ...
+Defining \__deprecation_not_yet_deprecated:nTF on line ...
 Defining \__kernel_patch_deprecation:nnNNpn on line ...
-Defining \__deprecation_deprecated_yet:nTF on line ...
 Defining \__deprecation_deprecation_aux:NNnnNnn on line ...
 Defining \__deprecation_deprecation_protected:nnNnn on line ...
 Defining \__deprecation_deprecation_expandable:nnNnn on line ...
diff --git a/l3kernel/testfiles/m3expl003.uptex.tlg b/l3kernel/testfiles/m3expl003.uptex.tlg
index 4579bcb..e1037bd 100644
--- a/l3kernel/testfiles/m3expl003.uptex.tlg
+++ b/l3kernel/testfiles/m3expl003.uptex.tlg
@@ -6544,8 +6544,8 @@ Defining \__deprecation_primitive:NN on line ...
 Defining \__deprecation_primitive:w on line ...
 Defining \__deprecation_date_compare:nNnTF on line ...
 Defining \__deprecation_date_compare_aux:w on line ...
+Defining \__deprecation_not_yet_deprecated:nTF on line ...
 Defining \__kernel_patch_deprecation:nnNNpn on line ...
-Defining \__deprecation_deprecated_yet:nTF on line ...
 Defining \__deprecation_deprecation_aux:NNnnNnn on line ...
 Defining \__deprecation_deprecation_protected:nnNnn on line ...
 Defining \__deprecation_deprecation_expandable:nnNnn on line ...
diff --git a/l3kernel/testfiles/m3expl003.xetex.tlg b/l3kernel/testfiles/m3expl003.xetex.tlg
index 89f1722..7904e98 100644
--- a/l3kernel/testfiles/m3expl003.xetex.tlg
+++ b/l3kernel/testfiles/m3expl003.xetex.tlg
@@ -6214,8 +6214,8 @@ Defining \__deprecation_primitive:NN on line ...
 Defining \__deprecation_primitive:w on line ...
 Defining \__deprecation_date_compare:nNnTF on line ...
 Defining \__deprecation_date_compare_aux:w on line ...
+Defining \__deprecation_not_yet_deprecated:nTF on line ...
 Defining \__kernel_patch_deprecation:nnNNpn on line ...
-Defining \__deprecation_deprecated_yet:nTF on line ...
 Defining \__deprecation_deprecation_aux:NNnnNnn on line ...
 Defining \__deprecation_deprecation_protected:nnNnn on line ...
 Defining \__deprecation_deprecation_expandable:nnNnn on line ...





More information about the latex3-commits mailing list