[latex3-commits] [git/LaTeX3-latex3-latex3] master: Reorder deprecation message to avoid truncation (see #694) (34b1d6704)
Bruno Le Floch
bruno at le-floch.fr
Mon Apr 6 12:59:53 CEST 2020
Repository : https://github.com/latex3/latex3
On branch : master
Link : https://github.com/latex3/latex3/commit/34b1d6704c9f4a41cdc03598b39b5e3182ead573
>---------------------------------------------------------------
commit 34b1d6704c9f4a41cdc03598b39b5e3182ead573
Author: Bruno Le Floch <bruno at le-floch.fr>
Date: Mon Apr 6 12:55:04 2020 +0200
Reorder deprecation message to avoid truncation (see #694)
Since expandable errors are truncated, put the most important
information first. The deprecation date is mostly irrelevant.
>---------------------------------------------------------------
34b1d6704c9f4a41cdc03598b39b5e3182ead573
l3kernel/l3deprecation.dtx | 4 +-
l3kernel/testfiles/m3deprecation001.luatex.tlg | 52 ++++++++++++-------------
l3kernel/testfiles/m3deprecation001.tlg | 52 ++++++++++++-------------
l3kernel/testfiles/m3deprecation002.luatex.tlg | 54 +++++++++++++-------------
l3kernel/testfiles/m3deprecation002.tlg | 54 +++++++++++++-------------
l3kernel/testfiles/m3deprecation003.luatex.tlg | 14 +++----
l3kernel/testfiles/m3deprecation003.tlg | 14 +++----
l3kernel/testfiles/m3deprecation004.tlg | 6 +--
8 files changed, 125 insertions(+), 125 deletions(-)
diff --git a/l3kernel/l3deprecation.dtx b/l3kernel/l3deprecation.dtx
index 674ad8145..6dcdc8785 100644
--- a/l3kernel/l3deprecation.dtx
+++ b/l3kernel/l3deprecation.dtx
@@ -358,8 +358,8 @@
% \begin{macrocode}
\__kernel_msg_new:nnn { kernel } { deprecated-command }
{
- '#2'~deprecated~on~#1.
- \tl_if_empty:nF {#3} { ~Use~'#3'. }
+ \tl_if_blank:nF {#3} { Use~ \tl_trim_spaces:n {#3} ~not~ }
+ #2~deprecated~on~#1.
\str_if_eq:nnT {#4} { grace }
{
\c_space_tl
diff --git a/l3kernel/testfiles/m3deprecation001.luatex.tlg b/l3kernel/testfiles/m3deprecation001.luatex.tlg
index 70ed45e6a..8e7f4a737 100644
--- a/l3kernel/testfiles/m3deprecation001.luatex.tlg
+++ b/l3kernel/testfiles/m3deprecation001.luatex.tlg
@@ -4,7 +4,7 @@ Author: Bruno Le Floch
Defining \test: on line ...
! Undefined control sequence.
<argument> \LaTeX3 error:
- '\str_case:nnn' deprecated on ....-..-... Use '\str_case:nnF '.
+ Use \str_case:nnF not \str_case:nnn deprecated on ....-..-..
l. ...... \test: { \str_case:nnn { } { } { } } \test:
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
@@ -13,7 +13,7 @@ spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
! Undefined control sequence.
<argument> \LaTeX3 error:
- '\c_job_name_tl' deprecated on ....-..-... Use '\c_sys_jobname_
+ Use \c_sys_jobname_str not \c_job_name_tl deprecated on 2017-01
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
@@ -22,7 +22,7 @@ spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
! Undefined control sequence.
<argument> \LaTeX3 error:
- '\xetex_if_engine:TF' deprecated on ....-..-... Use '\sys_if_en
+ Use \sys_if_engine_xetex:TF not \xetex_if_engine:TF deprecated
l. ...\xetex_if_engine:TF
{ } { }
The control sequence at the end of the top line
@@ -30,8 +30,8 @@ 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: '\tl_to_lowercase:n' deprecated on ....-..-... Use
-(LaTeX3) '\tex_lowercase:D '.
+! LaTeX3 Error: Use \tex_lowercase:D not \tl_to_lowercase:n deprecated on
+(LaTeX3) ....-..-...
Type <return> to continue.
...
l. ... \tl_to_lowercase:n
@@ -40,8 +40,8 @@ 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
-! LaTeX3 Error: '\tl_to_lowercase:n' deprecated on ....-..-... Use
-(LaTeX3) '\tex_lowercase:D '.
+! LaTeX3 Error: Use \tex_lowercase:D not \tl_to_lowercase:n deprecated on
+(LaTeX3) ....-..-...
Type <return> to continue.
...
l. ... \tl_to_lowercase:n
@@ -52,7 +52,7 @@ If that doesn't work, type X <return> to quit.
Bb
! Undefined control sequence.
<argument> \LaTeX3 error:
- '\tl_to_lowercase:n' deprecated on ....-..-... Use '\tex_lowerc
+ Use \tex_lowercase:D not \tl_to_lowercase:n deprecated on 2018-
l. ... \tl_to_lowercase:n
{ \TYPE { Cc } }
The control sequence at the end of the top line
@@ -60,8 +60,8 @@ 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: '\tl_to_lowercase:n' deprecated on ....-..-... Use
-(LaTeX3) '\tex_lowercase:D '.
+! LaTeX3 Error: Use \tex_lowercase:D not \tl_to_lowercase:n deprecated on
+(LaTeX3) ....-..-...
Type <return> to continue.
...
l. ... \tl_to_lowercase:n
@@ -72,7 +72,7 @@ If that doesn't work, type X <return> to quit.
Cc
! Undefined control sequence.
<argument> \LaTeX3 error:
- '\tl_to_lowercase:n' deprecated on ....-..-... Use '\tex_lowerc
+ Use \tex_lowercase:D not \tl_to_lowercase:n deprecated on 2018-
l. ... \tl_to_lowercase:n
{ \TYPE { Dd } }
The control sequence at the end of the top line
@@ -80,8 +80,8 @@ 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: '\tl_to_lowercase:n' deprecated on ....-..-... Use
-(LaTeX3) '\tex_lowercase:D '.
+! LaTeX3 Error: Use \tex_lowercase:D not \tl_to_lowercase:n deprecated on
+(LaTeX3) ....-..-...
Type <return> to continue.
...
l. ... \tl_to_lowercase:n
@@ -90,8 +90,8 @@ 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.
Dd
-! LaTeX3 Error: '\tl_to_lowercase:n' deprecated on ....-..-... Use
-(LaTeX3) '\tex_lowercase:D '.
+! LaTeX3 Error: Use \tex_lowercase:D not \tl_to_lowercase:n deprecated on
+(LaTeX3) ....-..-...
Type <return> to continue.
...
l. ... \tl_to_lowercase:n
@@ -100,8 +100,8 @@ 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.
Ee
-! LaTeX3 Error: '\tl_to_lowercase:n' deprecated on ....-..-... Use
-(LaTeX3) '\tex_lowercase:D '.
+! LaTeX3 Error: Use \tex_lowercase:D not \tl_to_lowercase:n deprecated on
+(LaTeX3) ....-..-...
Type <return> to continue.
...
l. ... \tl_to_lowercase:n
@@ -110,8 +110,8 @@ 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.
Ff
-! LaTeX3 Error: '\tl_to_lowercase:n' deprecated on ....-..-... Use
-(LaTeX3) '\tex_lowercase:D '.
+! LaTeX3 Error: Use \tex_lowercase:D not \tl_to_lowercase:n deprecated on
+(LaTeX3) ....-..-...
Type <return> to continue.
...
l. ...\tl_to_lowercase:n
@@ -133,7 +133,7 @@ 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:
- '\etex_unexpanded:D' deprecated on ....-..-... Use '\unexpanded
+ Use \unexpanded not \etex_unexpanded:D deprecated on ....-.-..
l. ... \tex_message:D { \etex_unexpanded:D
{ \c_backslash_str } }
The control sequence at the end of the top line
@@ -141,8 +141,8 @@ 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: '\etex_unexpanded:D' deprecated on ....-..-... Use
-(LaTeX3) '\unexpanded'.
+! LaTeX3 Error: Use \unexpanded not \etex_unexpanded:D deprecated on
+(LaTeX3) ....-..-...
Type <return> to continue.
...
l. ... \tex_message:D { \etex_unexpanded:D
@@ -169,7 +169,7 @@ 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:
- '\g_file_current_name_tl' deprecated on ....-..-... Use '\g_fil
+ Use \g_file_curr_name_str not \g_file_current_name_tl deprecate
l. ... \tex_message:D { \g_file_current_name_tl
}
The control sequence at the end of the top line
@@ -177,8 +177,8 @@ 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: '\g_file_current_name_tl' deprecated on ....-..-... Use
-(LaTeX3) '\g_file_curr_name_str '.
+! LaTeX3 Error: Use \g_file_curr_name_str not \g_file_current_name_tl
+(LaTeX3) deprecated on ....-..-...
Type <return> to continue.
...
l. ... \tex_message:D { \g_file_current_name_tl
@@ -196,7 +196,7 @@ deleted material, e.g., by typing `I$}'.
\c_backslash_str
! Undefined control sequence.
<argument> \LaTeX3 error:
- '\g_file_current_name_tl' deprecated on ....-..-... Use '\g_fil
+ Use \g_file_curr_name_str not \g_file_current_name_tl deprecate
l. ... \tex_message:D { \g_file_current_name_tl
}
The control sequence at the end of the top line
diff --git a/l3kernel/testfiles/m3deprecation001.tlg b/l3kernel/testfiles/m3deprecation001.tlg
index 5d6526d2c..40f6b41e2 100644
--- a/l3kernel/testfiles/m3deprecation001.tlg
+++ b/l3kernel/testfiles/m3deprecation001.tlg
@@ -4,7 +4,7 @@ Author: Bruno Le Floch
Defining \test: on line ...
! Undefined control sequence.
<argument> \LaTeX3 error:
- '\str_case:nnn' deprecated on ....-..-... Use '\s...
+ Use \str_case:nnF not \str_case:nnn deprecated on...
l. ......test: { \str_case:nnn { } { } { } } \test:
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
@@ -13,7 +13,7 @@ spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
! Undefined control sequence.
<argument> \LaTeX3 error:
- '\c_job_name_tl' deprecated on ....-..-... Use '\...
+ Use \c_sys_jobname_str not \c_job_name_tl depreca...
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
@@ -22,7 +22,7 @@ spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
! Undefined control sequence.
<argument> \LaTeX3 error:
- '\xetex_if_engine:TF' deprecated on ....-..-... U...
+ Use \sys_if_engine_xetex:TF not \xetex_if_engine:...
l. ...\xetex_if_engine:TF
{ } { }
The control sequence at the end of the top line
@@ -30,8 +30,8 @@ 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: '\tl_to_lowercase:n' deprecated on ....-..-... Use
-(LaTeX3) '\tex_lowercase:D '.
+! LaTeX3 Error: Use \tex_lowercase:D not \tl_to_lowercase:n deprecated on
+(LaTeX3) ....-..-...
Type <return> to continue.
...
l. ... \tl_to_lowercase:n
@@ -40,8 +40,8 @@ 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
-! LaTeX3 Error: '\tl_to_lowercase:n' deprecated on ....-..-... Use
-(LaTeX3) '\tex_lowercase:D '.
+! LaTeX3 Error: Use \tex_lowercase:D not \tl_to_lowercase:n deprecated on
+(LaTeX3) ....-..-...
Type <return> to continue.
...
l. ... \tl_to_lowercase:n
@@ -52,7 +52,7 @@ If that doesn't work, type X <return> to quit.
Bb
! Undefined control sequence.
<argument> \LaTeX3 error:
- '\tl_to_lowercase:n' deprecated on ....-..-... Us...
+ Use \tex_lowercase:D not \tl_to_lowercase:n depre...
l. ... \tl_to_lowercase:n
{ \TYPE { Cc } }
The control sequence at the end of the top line
@@ -60,8 +60,8 @@ 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: '\tl_to_lowercase:n' deprecated on ....-..-... Use
-(LaTeX3) '\tex_lowercase:D '.
+! LaTeX3 Error: Use \tex_lowercase:D not \tl_to_lowercase:n deprecated on
+(LaTeX3) ....-..-...
Type <return> to continue.
...
l. ... \tl_to_lowercase:n
@@ -72,7 +72,7 @@ If that doesn't work, type X <return> to quit.
Cc
! Undefined control sequence.
<argument> \LaTeX3 error:
- '\tl_to_lowercase:n' deprecated on ....-..-... Us...
+ Use \tex_lowercase:D not \tl_to_lowercase:n depre...
l. ... \tl_to_lowercase:n
{ \TYPE { Dd } }
The control sequence at the end of the top line
@@ -80,8 +80,8 @@ 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: '\tl_to_lowercase:n' deprecated on ....-..-... Use
-(LaTeX3) '\tex_lowercase:D '.
+! LaTeX3 Error: Use \tex_lowercase:D not \tl_to_lowercase:n deprecated on
+(LaTeX3) ....-..-...
Type <return> to continue.
...
l. ... \tl_to_lowercase:n
@@ -90,8 +90,8 @@ 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.
Dd
-! LaTeX3 Error: '\tl_to_lowercase:n' deprecated on ....-..-... Use
-(LaTeX3) '\tex_lowercase:D '.
+! LaTeX3 Error: Use \tex_lowercase:D not \tl_to_lowercase:n deprecated on
+(LaTeX3) ....-..-...
Type <return> to continue.
...
l. ... \tl_to_lowercase:n
@@ -100,8 +100,8 @@ 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.
Ee
-! LaTeX3 Error: '\tl_to_lowercase:n' deprecated on ....-..-... Use
-(LaTeX3) '\tex_lowercase:D '.
+! LaTeX3 Error: Use \tex_lowercase:D not \tl_to_lowercase:n deprecated on
+(LaTeX3) ....-..-...
Type <return> to continue.
...
l. ... \tl_to_lowercase:n
@@ -110,8 +110,8 @@ 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.
Ff
-! LaTeX3 Error: '\tl_to_lowercase:n' deprecated on ....-..-... Use
-(LaTeX3) '\tex_lowercase:D '.
+! LaTeX3 Error: Use \tex_lowercase:D not \tl_to_lowercase:n deprecated on
+(LaTeX3) ....-..-...
Type <return> to continue.
...
l. ...\tl_to_lowercase:n
@@ -133,7 +133,7 @@ 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:
- '\etex_unexpanded:D' deprecated on ....-..-... Us...
+ Use \unexpanded not \etex_unexpanded:D deprecated...
l. ... \tex_message:D { \etex_unexpanded:D
{ \c_backslash_str } }
The control sequence at the end of the top line
@@ -141,8 +141,8 @@ 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: '\etex_unexpanded:D' deprecated on ....-..-... Use
-(LaTeX3) '\unexpanded'.
+! LaTeX3 Error: Use \unexpanded not \etex_unexpanded:D deprecated on
+(LaTeX3) ....-..-...
Type <return> to continue.
...
l. ... \tex_message:D { \etex_unexpanded:D
@@ -169,7 +169,7 @@ 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:
- '\g_file_current_name_tl' deprecated on 2019-01-0...
+ Use \g_file_curr_name_str not \g_file_current_nam...
l. ... \tex_message:D { \g_file_current_name_tl
}
The control sequence at the end of the top line
@@ -177,8 +177,8 @@ 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: '\g_file_current_name_tl' deprecated on ....-..-... Use
-(LaTeX3) '\g_file_curr_name_str '.
+! LaTeX3 Error: Use \g_file_curr_name_str not \g_file_current_name_tl
+(LaTeX3) deprecated on ....-..-...
Type <return> to continue.
...
l. ... \tex_message:D { \g_file_current_name_tl
@@ -196,7 +196,7 @@ deleted material, e.g., by typing `I$}'.
\c_backslash_str
! Undefined control sequence.
<argument> \LaTeX3 error:
- '\g_file_current_name_tl' deprecated on 2019-01-0...
+ Use \g_file_curr_name_str not \g_file_current_nam...
l. ... \tex_message:D { \g_file_current_name_tl
}
The control sequence at the end of the top line
diff --git a/l3kernel/testfiles/m3deprecation002.luatex.tlg b/l3kernel/testfiles/m3deprecation002.luatex.tlg
index 4e0f2b8f6..41b9d8da4 100644
--- a/l3kernel/testfiles/m3deprecation002.luatex.tlg
+++ b/l3kernel/testfiles/m3deprecation002.luatex.tlg
@@ -4,7 +4,7 @@ Author: Bruno Le Floch
Defining \test: on line ...
! Undefined control sequence.
<argument> \LaTeX3 error:
- '\c_job_name_tl' deprecated on ....-..-... Use '\c_sys_jobname_
+ Use \c_sys_jobname_str not \c_job_name_tl deprecated on 2017-01
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
@@ -13,7 +13,7 @@ spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
! Undefined control sequence.
<argument> \LaTeX3 error:
- '\xetex_if_engine:TF' deprecated on ....-..-... Use '\sys_if_en
+ Use \sys_if_engine_xetex:TF not \xetex_if_engine:TF deprecated
l. ...\xetex_if_engine:TF
{ } { }
The control sequence at the end of the top line
@@ -21,8 +21,8 @@ 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: '\tl_to_lowercase:n' deprecated on ....-..-... Use
-(LaTeX3) '\tex_lowercase:D '.
+! LaTeX3 Error: Use \tex_lowercase:D not \tl_to_lowercase:n deprecated on
+(LaTeX3) ....-..-...
Type <return> to continue.
...
l. ... \tl_to_lowercase:n
@@ -31,8 +31,8 @@ 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
-! LaTeX3 Error: '\tl_to_lowercase:n' deprecated on ....-..-... Use
-(LaTeX3) '\tex_lowercase:D '.
+! LaTeX3 Error: Use \tex_lowercase:D not \tl_to_lowercase:n deprecated on
+(LaTeX3) ....-..-...
Type <return> to continue.
...
l. ... \tl_to_lowercase:n
@@ -43,7 +43,7 @@ If that doesn't work, type X <return> to quit.
Bb
! Undefined control sequence.
<argument> \LaTeX3 error:
- '\tl_to_lowercase:n' deprecated on ....-..-... Use '\tex_lowerc
+ Use \tex_lowercase:D not \tl_to_lowercase:n deprecated on 2018-
l. ... \tl_to_lowercase:n
{ \TYPE { Cc } }
The control sequence at the end of the top line
@@ -51,8 +51,8 @@ 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: '\tl_to_lowercase:n' deprecated on ....-..-... Use
-(LaTeX3) '\tex_lowercase:D '.
+! LaTeX3 Error: Use \tex_lowercase:D not \tl_to_lowercase:n deprecated on
+(LaTeX3) ....-..-...
Type <return> to continue.
...
l. ... \tl_to_lowercase:n
@@ -63,7 +63,7 @@ If that doesn't work, type X <return> to quit.
Cc
! Undefined control sequence.
<argument> \LaTeX3 error:
- '\tl_to_lowercase:n' deprecated on ....-..-... Use '\tex_lowerc
+ Use \tex_lowercase:D not \tl_to_lowercase:n deprecated on 2018-
l. ... \tl_to_lowercase:n
{ \TYPE { Dd } }
The control sequence at the end of the top line
@@ -71,8 +71,8 @@ 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: '\tl_to_lowercase:n' deprecated on ....-..-... Use
-(LaTeX3) '\tex_lowercase:D '.
+! LaTeX3 Error: Use \tex_lowercase:D not \tl_to_lowercase:n deprecated on
+(LaTeX3) ....-..-...
Type <return> to continue.
...
l. ... \tl_to_lowercase:n
@@ -81,8 +81,8 @@ 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.
Dd
-! LaTeX3 Error: '\tl_to_lowercase:n' deprecated on ....-..-... Use
-(LaTeX3) '\tex_lowercase:D '.
+! LaTeX3 Error: Use \tex_lowercase:D not \tl_to_lowercase:n deprecated on
+(LaTeX3) ....-..-...
Type <return> to continue.
...
l. ... \tl_to_lowercase:n
@@ -91,8 +91,8 @@ 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.
Ee
-! LaTeX3 Error: '\tl_to_lowercase:n' deprecated on ....-..-... Use
-(LaTeX3) '\tex_lowercase:D '.
+! LaTeX3 Error: Use \tex_lowercase:D not \tl_to_lowercase:n deprecated on
+(LaTeX3) ....-..-...
Type <return> to continue.
...
l. ... \tl_to_lowercase:n
@@ -101,8 +101,8 @@ 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.
Ff
-! LaTeX3 Error: '\tl_to_lowercase:n' deprecated on ....-..-... Use
-(LaTeX3) '\tex_lowercase:D '.
+! LaTeX3 Error: Use \tex_lowercase:D not \tl_to_lowercase:n deprecated on
+(LaTeX3) ....-..-...
Type <return> to continue.
...
l. ...\tl_to_lowercase:n
@@ -124,7 +124,7 @@ 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:
- '\etex_unexpanded:D' deprecated on ....-..-... Use '\unexpanded
+ Use \unexpanded not \etex_unexpanded:D deprecated on ....-.-..
l. ... \tex_message:D { \etex_unexpanded:D
{ \c_backslash_str } }
The control sequence at the end of the top line
@@ -132,8 +132,8 @@ 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: '\etex_unexpanded:D' deprecated on ....-..-... Use
-(LaTeX3) '\unexpanded'.
+! LaTeX3 Error: Use \unexpanded not \etex_unexpanded:D deprecated on
+(LaTeX3) ....-..-...
Type <return> to continue.
...
l. ... \tex_message:D { \etex_unexpanded:D
@@ -160,7 +160,7 @@ 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:
- '\g_file_current_name_tl' deprecated on ....-..-... Use '\g_fil
+ Use \g_file_curr_name_str not \g_file_current_name_tl deprecate
l. ... \tex_message:D { \g_file_current_name_tl
}
The control sequence at the end of the top line
@@ -168,8 +168,8 @@ 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: '\g_file_current_name_tl' deprecated on ....-..-... Use
-(LaTeX3) '\g_file_curr_name_str '.
+! LaTeX3 Error: Use \g_file_curr_name_str not \g_file_current_name_tl
+(LaTeX3) deprecated on ....-..-...
Type <return> to continue.
...
l. ... \tex_message:D { \g_file_current_name_tl
@@ -187,7 +187,7 @@ deleted material, e.g., by typing `I$}'.
\c_backslash_str
! Undefined control sequence.
<argument> \LaTeX3 error:
- '\g_file_current_name_tl' deprecated on ....-..-... Use '\g_fil
+ Use \g_file_curr_name_str not \g_file_current_name_tl deprecate
l. ... \tex_message:D { \g_file_current_name_tl
}
The control sequence at the end of the top line
@@ -197,7 +197,7 @@ spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
! Undefined control sequence.
<argument> \LaTeX3 error:
- '\token_new:Nn' deprecated on ....-..-... Use '\cs_new_eq:NN '.
+ Use \cs_new_eq:NN not \token_new:Nn deprecated on ....-..-..
l. ... \token_new:Nn
\c_testa_token { ~ }
The control sequence at the end of the top line
@@ -215,7 +215,7 @@ spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
! Undefined control sequence.
<argument> \LaTeX3 error:
- '\token_new:Nn' deprecated on ....-..-... Use '\cs_new_eq:NN '.
+ Use \cs_new_eq:NN not \token_new:Nn deprecated on ....-..-..
l. ... \token_new:Nn
\c_testb_token { ~ }
The control sequence at the end of the top line
diff --git a/l3kernel/testfiles/m3deprecation002.tlg b/l3kernel/testfiles/m3deprecation002.tlg
index e7afc555e..76c40482b 100644
--- a/l3kernel/testfiles/m3deprecation002.tlg
+++ b/l3kernel/testfiles/m3deprecation002.tlg
@@ -4,7 +4,7 @@ Author: Bruno Le Floch
Defining \test: on line ...
! Undefined control sequence.
<argument> \LaTeX3 error:
- '\c_job_name_tl' deprecated on ....-..-... Use '\...
+ Use \c_sys_jobname_str not \c_job_name_tl depreca...
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
@@ -13,7 +13,7 @@ spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
! Undefined control sequence.
<argument> \LaTeX3 error:
- '\xetex_if_engine:TF' deprecated on ....-..-... U...
+ Use \sys_if_engine_xetex:TF not \xetex_if_engine:...
l. ...\xetex_if_engine:TF
{ } { }
The control sequence at the end of the top line
@@ -21,8 +21,8 @@ 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: '\tl_to_lowercase:n' deprecated on ....-..-... Use
-(LaTeX3) '\tex_lowercase:D '.
+! LaTeX3 Error: Use \tex_lowercase:D not \tl_to_lowercase:n deprecated on
+(LaTeX3) ....-..-...
Type <return> to continue.
...
l. ... \tl_to_lowercase:n
@@ -31,8 +31,8 @@ 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
-! LaTeX3 Error: '\tl_to_lowercase:n' deprecated on ....-..-... Use
-(LaTeX3) '\tex_lowercase:D '.
+! LaTeX3 Error: Use \tex_lowercase:D not \tl_to_lowercase:n deprecated on
+(LaTeX3) ....-..-...
Type <return> to continue.
...
l. ... \tl_to_lowercase:n
@@ -43,7 +43,7 @@ If that doesn't work, type X <return> to quit.
Bb
! Undefined control sequence.
<argument> \LaTeX3 error:
- '\tl_to_lowercase:n' deprecated on ....-..-... Us...
+ Use \tex_lowercase:D not \tl_to_lowercase:n depre...
l. ... \tl_to_lowercase:n
{ \TYPE { Cc } }
The control sequence at the end of the top line
@@ -51,8 +51,8 @@ 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: '\tl_to_lowercase:n' deprecated on ....-..-... Use
-(LaTeX3) '\tex_lowercase:D '.
+! LaTeX3 Error: Use \tex_lowercase:D not \tl_to_lowercase:n deprecated on
+(LaTeX3) ....-..-...
Type <return> to continue.
...
l. ... \tl_to_lowercase:n
@@ -63,7 +63,7 @@ If that doesn't work, type X <return> to quit.
Cc
! Undefined control sequence.
<argument> \LaTeX3 error:
- '\tl_to_lowercase:n' deprecated on ....-..-... Us...
+ Use \tex_lowercase:D not \tl_to_lowercase:n depre...
l. ... \tl_to_lowercase:n
{ \TYPE { Dd } }
The control sequence at the end of the top line
@@ -71,8 +71,8 @@ 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: '\tl_to_lowercase:n' deprecated on ....-..-... Use
-(LaTeX3) '\tex_lowercase:D '.
+! LaTeX3 Error: Use \tex_lowercase:D not \tl_to_lowercase:n deprecated on
+(LaTeX3) ....-..-...
Type <return> to continue.
...
l. ... \tl_to_lowercase:n
@@ -81,8 +81,8 @@ 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.
Dd
-! LaTeX3 Error: '\tl_to_lowercase:n' deprecated on ....-..-... Use
-(LaTeX3) '\tex_lowercase:D '.
+! LaTeX3 Error: Use \tex_lowercase:D not \tl_to_lowercase:n deprecated on
+(LaTeX3) ....-..-...
Type <return> to continue.
...
l. ... \tl_to_lowercase:n
@@ -91,8 +91,8 @@ 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.
Ee
-! LaTeX3 Error: '\tl_to_lowercase:n' deprecated on ....-..-... Use
-(LaTeX3) '\tex_lowercase:D '.
+! LaTeX3 Error: Use \tex_lowercase:D not \tl_to_lowercase:n deprecated on
+(LaTeX3) ....-..-...
Type <return> to continue.
...
l. ... \tl_to_lowercase:n
@@ -101,8 +101,8 @@ 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.
Ff
-! LaTeX3 Error: '\tl_to_lowercase:n' deprecated on ....-..-... Use
-(LaTeX3) '\tex_lowercase:D '.
+! LaTeX3 Error: Use \tex_lowercase:D not \tl_to_lowercase:n deprecated on
+(LaTeX3) ....-..-...
Type <return> to continue.
...
l. ...\tl_to_lowercase:n
@@ -124,7 +124,7 @@ 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:
- '\etex_unexpanded:D' deprecated on ....-..-... Us...
+ Use \unexpanded not \etex_unexpanded:D deprecated...
l. ... \tex_message:D { \etex_unexpanded:D
{ \c_backslash_str } }
The control sequence at the end of the top line
@@ -132,8 +132,8 @@ 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: '\etex_unexpanded:D' deprecated on ....-..-... Use
-(LaTeX3) '\unexpanded'.
+! LaTeX3 Error: Use \unexpanded not \etex_unexpanded:D deprecated on
+(LaTeX3) ....-..-...
Type <return> to continue.
...
l. ... \tex_message:D { \etex_unexpanded:D
@@ -160,7 +160,7 @@ 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:
- '\g_file_current_name_tl' deprecated on 2019-01-0...
+ Use \g_file_curr_name_str not \g_file_current_nam...
l. ... \tex_message:D { \g_file_current_name_tl
}
The control sequence at the end of the top line
@@ -168,8 +168,8 @@ 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: '\g_file_current_name_tl' deprecated on ....-..-... Use
-(LaTeX3) '\g_file_curr_name_str '.
+! LaTeX3 Error: Use \g_file_curr_name_str not \g_file_current_name_tl
+(LaTeX3) deprecated on ....-..-...
Type <return> to continue.
...
l. ... \tex_message:D { \g_file_current_name_tl
@@ -187,7 +187,7 @@ deleted material, e.g., by typing `I$}'.
\c_backslash_str
! Undefined control sequence.
<argument> \LaTeX3 error:
- '\g_file_current_name_tl' deprecated on 2019-01-0...
+ Use \g_file_curr_name_str not \g_file_current_nam...
l. ... \tex_message:D { \g_file_current_name_tl
}
The control sequence at the end of the top line
@@ -197,7 +197,7 @@ spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
! Undefined control sequence.
<argument> \LaTeX3 error:
- '\token_new:Nn' deprecated on ....-..-... Use '\c...
+ Use \cs_new_eq:NN not \token_new:Nn deprecated on...
l. ... \token_new:Nn
\c_testa_token { ~ }
The control sequence at the end of the top line
@@ -215,7 +215,7 @@ spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
! Undefined control sequence.
<argument> \LaTeX3 error:
- '\token_new:Nn' deprecated on ....-..-... Use '\c...
+ Use \cs_new_eq:NN not \token_new:Nn deprecated on...
l. ... \token_new:Nn
\c_testb_token { ~ }
The control sequence at the end of the top line
diff --git a/l3kernel/testfiles/m3deprecation003.luatex.tlg b/l3kernel/testfiles/m3deprecation003.luatex.tlg
index ca3682162..d451ac675 100644
--- a/l3kernel/testfiles/m3deprecation003.luatex.tlg
+++ b/l3kernel/testfiles/m3deprecation003.luatex.tlg
@@ -3,7 +3,7 @@ Don't change this file in any respect.
Author: Bruno Le Floch
! Undefined control sequence.
<argument> \LaTeX3 error:
- '\c_job_name_tl' deprecated on ....-..-... Use '\c_sys_jobname_
+ Use \c_sys_jobname_str not \c_job_name_tl deprecated on 2017-01
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
@@ -12,7 +12,7 @@ spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
! Undefined control sequence.
<argument> \LaTeX3 error:
- '\xetex_if_engine:TF' deprecated on ....-..-... Use '\sys_if_en
+ Use \sys_if_engine_xetex:TF not \xetex_if_engine:TF deprecated
l. ...\xetex_if_engine:TF
{ } { }
The control sequence at the end of the top line
@@ -20,8 +20,8 @@ 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: '\tl_to_lowercase:n' deprecated on ....-..-... Use
-(LaTeX3) '\tex_lowercase:D '.
+! LaTeX3 Error: Use \tex_lowercase:D not \tl_to_lowercase:n deprecated on
+(LaTeX3) ....-..-...
Type <return> to continue.
...
l. ...\use:n \tl_to_lowercase:n
@@ -33,7 +33,7 @@ Aa
\c_backslash_str
! Undefined control sequence.
<argument> \LaTeX3 error:
- '\g_file_current_name_tl' deprecated on ....-..-... Use '\g_fil
+ Use \g_file_curr_name_str not \g_file_current_name_tl deprecate
l. ... \tex_message:D { \g_file_current_name_tl
}
The control sequence at the end of the top line
@@ -43,7 +43,7 @@ spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
! Undefined control sequence.
<argument> \LaTeX3 error:
- '\token_new:Nn' deprecated on ....-..-... Use '\cs_new_eq:NN '.
+ Use \cs_new_eq:NN not \token_new:Nn deprecated on ....-..-..
l. ... \use:n \token_new:Nn
\c_testa_token { ~ }
The control sequence at the end of the top line
@@ -61,7 +61,7 @@ spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
! Undefined control sequence.
<argument> \LaTeX3 error:
- '\token_new:Nn' deprecated on ....-..-... Use '\cs_new_eq:NN '.
+ Use \cs_new_eq:NN not \token_new:Nn deprecated on ....-..-..
l. ... \token_new:Nn
\c_testb_token { ~ }
The control sequence at the end of the top line
diff --git a/l3kernel/testfiles/m3deprecation003.tlg b/l3kernel/testfiles/m3deprecation003.tlg
index 03259103f..9ea96f4b8 100644
--- a/l3kernel/testfiles/m3deprecation003.tlg
+++ b/l3kernel/testfiles/m3deprecation003.tlg
@@ -3,7 +3,7 @@ Don't change this file in any respect.
Author: Bruno Le Floch
! Undefined control sequence.
<argument> \LaTeX3 error:
- '\c_job_name_tl' deprecated on ....-..-... Use '\...
+ Use \c_sys_jobname_str not \c_job_name_tl depreca...
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
@@ -12,7 +12,7 @@ spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
! Undefined control sequence.
<argument> \LaTeX3 error:
- '\xetex_if_engine:TF' deprecated on ....-..-... U...
+ Use \sys_if_engine_xetex:TF not \xetex_if_engine:...
l. ...\xetex_if_engine:TF
{ } { }
The control sequence at the end of the top line
@@ -20,8 +20,8 @@ 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: '\tl_to_lowercase:n' deprecated on ....-..-... Use
-(LaTeX3) '\tex_lowercase:D '.
+! LaTeX3 Error: Use \tex_lowercase:D not \tl_to_lowercase:n deprecated on
+(LaTeX3) ....-..-...
Type <return> to continue.
...
l. ...\use:n \tl_to_lowercase:n
@@ -33,7 +33,7 @@ Aa
\c_backslash_str
! Undefined control sequence.
<argument> \LaTeX3 error:
- '\g_file_current_name_tl' deprecated on 2019-01-0...
+ Use \g_file_curr_name_str not \g_file_current_nam...
l. ... \tex_message:D { \g_file_current_name_tl
}
The control sequence at the end of the top line
@@ -43,7 +43,7 @@ spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
! Undefined control sequence.
<argument> \LaTeX3 error:
- '\token_new:Nn' deprecated on ....-..-... Use '\c...
+ Use \cs_new_eq:NN not \token_new:Nn deprecated on...
l. ... \use:n \token_new:Nn
\c_testa_token { ~ }
The control sequence at the end of the top line
@@ -61,7 +61,7 @@ spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
! Undefined control sequence.
<argument> \LaTeX3 error:
- '\token_new:Nn' deprecated on ....-..-... Use '\c...
+ Use \cs_new_eq:NN not \token_new:Nn deprecated on...
l. ... \token_new:Nn
\c_testb_token { ~ }
The control sequence at the end of the top line
diff --git a/l3kernel/testfiles/m3deprecation004.tlg b/l3kernel/testfiles/m3deprecation004.tlg
index bd258235f..41873dec9 100644
--- a/l3kernel/testfiles/m3deprecation004.tlg
+++ b/l3kernel/testfiles/m3deprecation004.tlg
@@ -1,8 +1,8 @@
This is a generated file for the LaTeX (2e + expl3) validation system.
Don't change this file in any respect.
Author: Phelype Oleinik
-! LaTeX3 Error: '\msg_term:n' deprecated on ....-..-... Use '\iow_term:n '.
-(LaTeX3) For 6 months after that date one can restore a deprecated
+! LaTeX3 Error: Use \iow_term:n not \msg_term:n deprecated on ....-..-... For
+(LaTeX3) 6 months after that date one can restore a deprecated
(LaTeX3) command by loading the expl3 package with the option
(LaTeX3) 'undo-recent-deprecations'.
Type <return> to continue.
@@ -11,7 +11,7 @@ l. ...\msg_term:n
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.
-LaTeX3 Warning: '\msg_term:n' deprecated on ....-..-... Use '\iow_term:n '.
+LaTeX3 Warning: Use \iow_term:n not \msg_term:n deprecated on ....-..-...
*************************************************
* ABC
*************************************************
More information about the latex3-commits
mailing list.