[latex3-commits] [git/LaTeX3-latex3-latex2e] develop: Update .tlg files (398758e3)

Joseph Wright joseph.wright at morningstar2.co.uk
Fri Aug 27 13:52:15 CEST 2021


Repository : https://github.com/latex3/latex2e
On branch  : develop
Link       : https://github.com/latex3/latex2e/commit/398758e3df826ad16e85a3ed1150f03e2a7e495c

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

commit 398758e3df826ad16e85a3ed1150f03e2a7e495c
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Fri Aug 27 12:52:15 2021 +0100

    Update .tlg files


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

398758e3df826ad16e85a3ed1150f03e2a7e495c
 base/testfiles-ltcmd/ltcmd004.luatex.tlg           | 102 +++++----
 base/testfiles-ltcmd/ltcmd004.tlg                  | 102 +++++----
 base/testfiles-ltcmd/ltcmd005.luatex.tlg           |  51 +++--
 base/testfiles-ltcmd/ltcmd005.tlg                  |  51 +++--
 base/testfiles-lthooks/filehook-008.tlg            | 240 ++++++++++-----------
 base/testfiles-lthooks/lthooks-024.tlg             |  60 +++---
 .../lthooks-errors-deprecated.tlg                  |  15 +-
 base/testfiles-lthooks/lthooks-errors.tlg          |  15 +-
 base/testfiles/github-0479-often.luatex.tlg        |   4 +-
 base/testfiles/github-0479-often.tlg               |   4 +-
 base/testfiles/github-0479-often.xetex.tlg         |   4 +-
 11 files changed, 304 insertions(+), 344 deletions(-)

diff --git a/base/testfiles-ltcmd/ltcmd004.luatex.tlg b/base/testfiles-ltcmd/ltcmd004.luatex.tlg
index 0f769714..b7db7cef 100644
--- a/base/testfiles-ltcmd/ltcmd004.luatex.tlg
+++ b/base/testfiles-ltcmd/ltcmd004.luatex.tlg
@@ -533,15 +533,14 @@ TEST 12: Defaults referring to other arguments
 ============================================================
 TEST 13: Test ## in expandable argument specification
 ============================================================
-! Undefined control sequence.
-<argument> \::error 
-         ! cmd: Required argument missing for \foobar.
-l. ...  }
-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.
+! Use of \??? doesn't match its definition.
+<argument> \???  
+      ! LaTeX cmd Error: Required argument missing for \foobar.
+l. ...  }
+If you say, e.g., `\def\a1{...}', then you must always
+put `1' after `\a', since control sequence names are
+made up of letters only. The macro here has not been
+followed by the required stuff, so I'm ignoring it.
 1|\BooleanFalse |##|##{\relax }
 ##|\BooleanTrue |##|2##
 ##|\BooleanFalse |##|2##
@@ -550,24 +549,22 @@ and I'll forget about whatever was undefined.
 ============================================================
 TEST 14: Refer to other args (expandable)
 ============================================================
-! Undefined control sequence.
-<argument> \::error 
-         ! cmd: Circular dependency in defaults of \foobar.
-l. ...  }
-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.
-! Undefined control sequence.
-<argument> \::error 
-         ! cmd: Circular dependency in defaults of \foobar.
-l. ...  }
-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.
+! Use of \??? doesn't match its definition.
+<argument> \???  
+      ! LaTeX cmd Error: Circular dependency in defaults of \foobar.
+l. ...  }
+If you say, e.g., `\def\a1{...}', then you must always
+put `1' after `\a', since control sequence names are
+made up of letters only. The macro here has not been
+followed by the required stuff, so I'm ignoring it.
+! Use of \??? doesn't match its definition.
+<argument> \???  
+      ! LaTeX cmd Error: Circular dependency in defaults of \foobar.
+l. ...  }
+If you say, e.g., `\def\a1{...}', then you must always
+put `1' after `\a', since control sequence names are
+made up of letters only. The macro here has not been
+followed by the required stuff, so I'm ignoring it.
 \A |\C \E \A |\C |\C \E |\E 
 \C \E \C \E \C \E \C \E -NoValue--NoValue-|\C \E \C \E \C \E \C \E \C \E -NoValue-|\C |\C \E |\E 
 \D \D \D \D \D -NoValue-|\D \D \D \D \D -NoValue-|\C |\D |\E 
@@ -938,34 +935,31 @@ E x y&z
 ============================================================
 TEST 31: IfBoolean multi token
 ============================================================
-! Undefined control sequence.
-<argument> \::error 
-         ! cmd: Invalid argument {} to \IfBoolean...
-l. ...  }
-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.
-! Undefined control sequence.
-<argument> \::error 
-         ! cmd: Invalid argument {} to \IfBoolean...
-l. ...  }
-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.
+! Use of \??? doesn't match its definition.
+<argument> \???  
+      ! LaTeX cmd Error: Invalid argument {} to \IfBoolean...
+l. ...  }
+If you say, e.g., `\def\a1{...}', then you must always
+put `1' after `\a', since control sequence names are
+made up of letters only. The macro here has not been
+followed by the required stuff, so I'm ignoring it.
+! Use of \??? doesn't match its definition.
+<argument> \???  
+      ! LaTeX cmd Error: Invalid argument {} to \IfBoolean...
+l. ...  }
+If you say, e.g., `\def\a1{...}', then you must always
+put `1' after `\a', since control sequence names are
+made up of letters only. The macro here has not been
+followed by the required stuff, so I'm ignoring it.
 FALSE
-! Undefined control sequence.
-<argument> \::error 
-         ! cmd: Invalid argument {\ERROR \ERROR } to \IfBoolean...
-l. ...  }
-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.
+! Use of \??? doesn't match its definition.
+<argument> \???  
+      ! LaTeX cmd Error: Invalid argument {\ERROR \ERROR } to \IfBoolean...
+l. ...  }
+If you say, e.g., `\def\a1{...}', then you must always
+put `1' after `\a', since control sequence names are
+made up of letters only. The macro here has not been
+followed by the required stuff, so I'm ignoring it.
 FALSE
 ============================================================
 ============================================================
diff --git a/base/testfiles-ltcmd/ltcmd004.tlg b/base/testfiles-ltcmd/ltcmd004.tlg
index e6b6914e..b84c2187 100644
--- a/base/testfiles-ltcmd/ltcmd004.tlg
+++ b/base/testfiles-ltcmd/ltcmd004.tlg
@@ -533,15 +533,14 @@ TEST 12: Defaults referring to other arguments
 ============================================================
 TEST 13: Test ## in expandable argument specification
 ============================================================
-! Undefined control sequence.
-<argument> \::error 
-                    ! cmd: Required argument missing for \foobar.
-l. ...  }
-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.
+! Use of \??? doesn't match its definition.
+<argument> \???  
+                 ! LaTeX cmd Error: Required argument missing for \foobar.
+l. ...  }
+If you say, e.g., `\def\a1{...}', then you must always
+put `1' after `\a', since control sequence names are
+made up of letters only. The macro here has not been
+followed by the required stuff, so I'm ignoring it.
 1|\BooleanFalse |##|##{\relax }
 ##|\BooleanTrue |##|2##
 ##|\BooleanFalse |##|2##
@@ -550,24 +549,22 @@ and I'll forget about whatever was undefined.
 ============================================================
 TEST 14: Refer to other args (expandable)
 ============================================================
-! Undefined control sequence.
-<argument> \::error 
-                    ! cmd: Circular dependency in defaults of \foobar.
-l. ...  }
-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.
-! Undefined control sequence.
-<argument> \::error 
-                    ! cmd: Circular dependency in defaults of \foobar.
-l. ...  }
-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.
+! Use of \??? doesn't match its definition.
+<argument> \???  
+                 ! LaTeX cmd Error: Circular dependency in defaults of \foobar.
+l. ...  }
+If you say, e.g., `\def\a1{...}', then you must always
+put `1' after `\a', since control sequence names are
+made up of letters only. The macro here has not been
+followed by the required stuff, so I'm ignoring it.
+! Use of \??? doesn't match its definition.
+<argument> \???  
+                 ! LaTeX cmd Error: Circular dependency in defaults of \foobar.
+l. ...  }
+If you say, e.g., `\def\a1{...}', then you must always
+put `1' after `\a', since control sequence names are
+made up of letters only. The macro here has not been
+followed by the required stuff, so I'm ignoring it.
 \A |\C \E \A |\C |\C \E |\E 
 \C \E \C \E \C \E \C \E -NoValue--NoValue-|\C \E \C \E \C \E \C \E \C \E -NoValue-|\C |\C \E |\E 
 \D \D \D \D \D -NoValue-|\D \D \D \D \D -NoValue-|\C |\D |\E 
@@ -938,34 +935,31 @@ E x y&z
 ============================================================
 TEST 31: IfBoolean multi token
 ============================================================
-! Undefined control sequence.
-<argument> \::error 
-                    ! cmd: Invalid argument {} to \IfBoolean...
-l. ...  }
-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.
-! Undefined control sequence.
-<argument> \::error 
-                    ! cmd: Invalid argument {} to \IfBoolean...
-l. ...  }
-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.
+! Use of \??? doesn't match its definition.
+<argument> \???  
+                 ! LaTeX cmd Error: Invalid argument {} to \IfBoolean...
+l. ...  }
+If you say, e.g., `\def\a1{...}', then you must always
+put `1' after `\a', since control sequence names are
+made up of letters only. The macro here has not been
+followed by the required stuff, so I'm ignoring it.
+! Use of \??? doesn't match its definition.
+<argument> \???  
+                 ! LaTeX cmd Error: Invalid argument {} to \IfBoolean...
+l. ...  }
+If you say, e.g., `\def\a1{...}', then you must always
+put `1' after `\a', since control sequence names are
+made up of letters only. The macro here has not been
+followed by the required stuff, so I'm ignoring it.
 FALSE
-! Undefined control sequence.
-<argument> \::error 
-                    ! cmd: Invalid argument {\ERROR \ERROR } to \IfBoolean..
-l. ...  }
-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.
+! Use of \??? doesn't match its definition.
+<argument> \???  
+                 ! LaTeX cmd Error: Invalid argument {\ERROR \ERROR } to \If...
+l. ...  }
+If you say, e.g., `\def\a1{...}', then you must always
+put `1' after `\a', since control sequence names are
+made up of letters only. The macro here has not been
+followed by the required stuff, so I'm ignoring it.
 FALSE
 ============================================================
 ============================================================
diff --git a/base/testfiles-ltcmd/ltcmd005.luatex.tlg b/base/testfiles-ltcmd/ltcmd005.luatex.tlg
index dd7e19c3..b456979b 100644
--- a/base/testfiles-ltcmd/ltcmd005.luatex.tlg
+++ b/base/testfiles-ltcmd/ltcmd005.luatex.tlg
@@ -284,34 +284,31 @@ l. ...  }
 The argument specification contains 'ab' in a place where a single token is
 required.
 LaTeX will ignore this entire definition.
-! Undefined control sequence.
-<argument> \::error 
-         ! cmd: Invalid argument {foo} to \IfBoolean...
-l. ...  }
-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.
+! Use of \??? doesn't match its definition.
+<argument> \???  
+      ! LaTeX cmd Error: Invalid argument {foo} to \IfBoolean...
+l. ...  }
+If you say, e.g., `\def\a1{...}', then you must always
+put `1' after `\a', since control sequence names are
+made up of letters only. The macro here has not been
+followed by the required stuff, so I'm ignoring it.
 FALSE
-! Undefined control sequence.
-<argument> \::error 
-         ! cmd: Invalid argument {\foo } to \IfBoolean...
-l. ...  }
-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.
-! Undefined control sequence.
-<argument> \::error 
-         ! cmd: Invalid argument {?} to \IfBoolean...
-l. ...  }
-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.
+! Use of \??? doesn't match its definition.
+<argument> \???  
+      ! LaTeX cmd Error: Invalid argument {\foo } to \IfBoolean...
+l. ...  }
+If you say, e.g., `\def\a1{...}', then you must always
+put `1' after `\a', since control sequence names are
+made up of letters only. The macro here has not been
+followed by the required stuff, so I'm ignoring it.
+! Use of \??? doesn't match its definition.
+<argument> \???  
+      ! LaTeX cmd Error: Invalid argument {?} to \IfBoolean...
+l. ...  }
+If you say, e.g., `\def\a1{...}', then you must always
+put `1' after `\a', since control sequence names are
+made up of letters only. The macro here has not been
+followed by the required stuff, so I'm ignoring it.
 FALSE
 ============================================================
 ============================================================
diff --git a/base/testfiles-ltcmd/ltcmd005.tlg b/base/testfiles-ltcmd/ltcmd005.tlg
index f9a116b8..97f76649 100644
--- a/base/testfiles-ltcmd/ltcmd005.tlg
+++ b/base/testfiles-ltcmd/ltcmd005.tlg
@@ -284,34 +284,31 @@ l. ...  }
 The argument specification contains 'ab' in a place where a single token is
 required.
 LaTeX will ignore this entire definition.
-! Undefined control sequence.
-<argument> \::error 
-                    ! cmd: Invalid argument {foo} to \IfBoolean...
-l. ...  }
-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.
+! Use of \??? doesn't match its definition.
+<argument> \???  
+                 ! LaTeX cmd Error: Invalid argument {foo} to \IfBoolean...
+l. ...  }
+If you say, e.g., `\def\a1{...}', then you must always
+put `1' after `\a', since control sequence names are
+made up of letters only. The macro here has not been
+followed by the required stuff, so I'm ignoring it.
 FALSE
-! Undefined control sequence.
-<argument> \::error 
-                    ! cmd: Invalid argument {\foo } to \IfBoolean...
-l. ...  }
-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.
-! Undefined control sequence.
-<argument> \::error 
-                    ! cmd: Invalid argument {?} to \IfBoolean...
-l. ...  }
-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.
+! Use of \??? doesn't match its definition.
+<argument> \???  
+                 ! LaTeX cmd Error: Invalid argument {\foo } to \IfBoolean..
+l. ...  }
+If you say, e.g., `\def\a1{...}', then you must always
+put `1' after `\a', since control sequence names are
+made up of letters only. The macro here has not been
+followed by the required stuff, so I'm ignoring it.
+! Use of \??? doesn't match its definition.
+<argument> \???  
+                 ! LaTeX cmd Error: Invalid argument {?} to \IfBoolean...
+l. ...  }
+If you say, e.g., `\def\a1{...}', then you must always
+put `1' after `\a', since control sequence names are
+made up of letters only. The macro here has not been
+followed by the required stuff, so I'm ignoring it.
 FALSE
 ============================================================
 ============================================================
diff --git a/base/testfiles-lthooks/filehook-008.tlg b/base/testfiles-lthooks/filehook-008.tlg
index e8e3edf5..af3fe2c1 100644
--- a/base/testfiles-lthooks/filehook-008.tlg
+++ b/base/testfiles-lthooks/filehook-008.tlg
@@ -1,85 +1,77 @@
 This is a generated file for the l3build validation system.
 Don't change this file in any respect.
 (bezier.sty)
-! Undefined control sequence.
-<argument> LaTeX3 error: 
-                          File loop! g.tex replaced by i.tex...
+! Use of ??? doesn't match its definition.
+<argument> ???  
+                ! LaTeX kernel Error: File loop! g.tex replaced by i.tex...
 l. ...\set at curr@file{e}
                       %
-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.
-! Undefined control sequence.
-<argument> LaTeX3 error: 
-                          File loop! i.tex replaced by a.tex...
+If you say, e.g., `\def\a1{...}', then you must always
+put `1' after `\a', since control sequence names are
+made up of letters only. The macro here has not been
+followed by the required stuff, so I'm ignoring it.
+! Use of ??? doesn't match its definition.
+<argument> ???  
+                ! LaTeX kernel Error: File loop! i.tex replaced by a.tex...
 l. ...\set at curr@file{e}
                       %
-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.
-! Undefined control sequence.
-<argument> LaTeX3 error: 
-                          File loop! a.tex replaced by b.tex...
+If you say, e.g., `\def\a1{...}', then you must always
+put `1' after `\a', since control sequence names are
+made up of letters only. The macro here has not been
+followed by the required stuff, so I'm ignoring it.
+! Use of ??? doesn't match its definition.
+<argument> ???  
+                ! LaTeX kernel Error: File loop! a.tex replaced by b.tex...
 l. ...\set at curr@file{e}
                       %
-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.
-! Undefined control sequence.
-<argument> LaTeX3 error: 
-                          File loop! b.tex replaced by g.tex...
+If you say, e.g., `\def\a1{...}', then you must always
+put `1' after `\a', since control sequence names are
+made up of letters only. The macro here has not been
+followed by the required stuff, so I'm ignoring it.
+! Use of ??? doesn't match its definition.
+<argument> ???  
+                ! LaTeX kernel Error: File loop! b.tex replaced by g.tex...
 l. ...\set at curr@file{e}
                       %
-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.
+If you say, e.g., `\def\a1{...}', then you must always
+put `1' after `\a', since control sequence names are
+made up of letters only. The macro here has not been
+followed by the required stuff, so I'm ignoring it.
 > \@curr at file=macro:
 ->.tex.
 l. ...\show\@curr at file
-! Undefined control sequence.
-<argument> LaTeX3 error: 
-                          File loop! g.tex replaced by i.tex...
+! Use of ??? doesn't match its definition.
+<argument> ???  
+                ! LaTeX kernel Error: File loop! g.tex replaced by i.tex...
 l. ...\input{e}
-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.
-! Undefined control sequence.
-<argument> LaTeX3 error: 
-                          File loop! i.tex replaced by a.tex...
+If you say, e.g., `\def\a1{...}', then you must always
+put `1' after `\a', since control sequence names are
+made up of letters only. The macro here has not been
+followed by the required stuff, so I'm ignoring it.
+! Use of ??? doesn't match its definition.
+<argument> ???  
+                ! LaTeX kernel Error: File loop! i.tex replaced by a.tex...
 l. ...\input{e}
-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.
-! Undefined control sequence.
-<argument> LaTeX3 error: 
-                          File loop! a.tex replaced by b.tex...
+If you say, e.g., `\def\a1{...}', then you must always
+put `1' after `\a', since control sequence names are
+made up of letters only. The macro here has not been
+followed by the required stuff, so I'm ignoring it.
+! Use of ??? doesn't match its definition.
+<argument> ???  
+                ! LaTeX kernel Error: File loop! a.tex replaced by b.tex...
 l. ...\input{e}
-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.
-! Undefined control sequence.
-<argument> LaTeX3 error: 
-                          File loop! b.tex replaced by g.tex...
+If you say, e.g., `\def\a1{...}', then you must always
+put `1' after `\a', since control sequence names are
+made up of letters only. The macro here has not been
+followed by the required stuff, so I'm ignoring it.
+! Use of ??? doesn't match its definition.
+<argument> ???  
+                ! LaTeX kernel Error: File loop! b.tex replaced by g.tex...
 l. ...\input{e}
-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.
+If you say, e.g., `\def\a1{...}', then you must always
+put `1' after `\a', since control sequence names are
+made up of letters only. The macro here has not been
+followed by the required stuff, so I'm ignoring it.
 (.tex File ignored)
 > \@curr at file=macro:
 ->j.tex.
@@ -87,93 +79,85 @@ l. ...\show\@curr at file
 (j.tex
 >> J <<
 )
-! Undefined control sequence.
-<argument> LaTeX3 error: 
-                          File loop! a.tex replaced by a.tex...
+! Use of ??? doesn't match its definition.
+<argument> ???  
+                ! LaTeX kernel Error: File loop! a.tex replaced by a.tex...
 l. ...\set at curr@file{a}
                       %
-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.
+If you say, e.g., `\def\a1{...}', then you must always
+put `1' after `\a', since control sequence names are
+made up of letters only. The macro here has not been
+followed by the required stuff, so I'm ignoring it.
 > \@curr at file=macro:
 ->.tex.
 l. ...\show\@curr at file
-! Undefined control sequence.
-<argument> LaTeX3 error: 
-                          File loop! a.tex replaced by a.tex...
+! Use of ??? doesn't match its definition.
+<argument> ???  
+                ! LaTeX kernel Error: File loop! a.tex replaced by a.tex...
 l. ...\input{a}
-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.
+If you say, e.g., `\def\a1{...}', then you must always
+put `1' after `\a', since control sequence names are
+made up of letters only. The macro here has not been
+followed by the required stuff, so I'm ignoring it.
 (.tex File ignored)
-! Undefined control sequence.
-<argument> LaTeX3 error: 
-                          File loop! b.tex replaced by a.tex...
+! Use of ??? doesn't match its definition.
+<argument> ???  
+                ! LaTeX kernel Error: File loop! b.tex replaced by a.tex...
 l. ...\set at curr@file{a}
                       %
-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.
-! Undefined control sequence.
-<argument> LaTeX3 error: 
-                          File loop! a.tex replaced by b.tex...
+If you say, e.g., `\def\a1{...}', then you must always
+put `1' after `\a', since control sequence names are
+made up of letters only. The macro here has not been
+followed by the required stuff, so I'm ignoring it.
+! Use of ??? doesn't match its definition.
+<argument> ???  
+                ! LaTeX kernel Error: File loop! a.tex replaced by b.tex...
 l. ...\set at curr@file{a}
                       %
-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.
+If you say, e.g., `\def\a1{...}', then you must always
+put `1' after `\a', since control sequence names are
+made up of letters only. The macro here has not been
+followed by the required stuff, so I'm ignoring it.
 > \@curr at file=macro:
 ->.tex.
 l. ...\show\@curr at file
-! Undefined control sequence.
-<argument> LaTeX3 error: 
-                          File loop! b.tex replaced by a.tex...
+! Use of ??? doesn't match its definition.
+<argument> ???  
+                ! LaTeX kernel Error: File loop! b.tex replaced by a.tex...
 l. ...\input{a}
-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.
-! Undefined control sequence.
-<argument> LaTeX3 error: 
-                          File loop! a.tex replaced by b.tex...
+If you say, e.g., `\def\a1{...}', then you must always
+put `1' after `\a', since control sequence names are
+made up of letters only. The macro here has not been
+followed by the required stuff, so I'm ignoring it.
+! Use of ??? doesn't match its definition.
+<argument> ???  
+                ! LaTeX kernel Error: File loop! a.tex replaced by b.tex...
 l. ...\input{a}
-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.
+If you say, e.g., `\def\a1{...}', then you must always
+put `1' after `\a', since control sequence names are
+made up of letters only. The macro here has not been
+followed by the required stuff, so I'm ignoring it.
 (.tex File ignored)
-! Undefined control sequence.
-<argument> LaTeX3 error: 
-                          File loop! i.tex replaced by i.tex...
+! Use of ??? doesn't match its definition.
+<argument> ???  
+                ! LaTeX kernel Error: File loop! i.tex replaced by i.tex...
 l. ...\set at curr@file{a}
                       %
-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.
+If you say, e.g., `\def\a1{...}', then you must always
+put `1' after `\a', since control sequence names are
+made up of letters only. The macro here has not been
+followed by the required stuff, so I'm ignoring it.
 > \@curr at file=macro:
 ->.tex.
 l. ...\show\@curr at file
-! Undefined control sequence.
-<argument> LaTeX3 error: 
-                          File loop! i.tex replaced by i.tex...
+! Use of ??? doesn't match its definition.
+<argument> ???  
+                ! LaTeX kernel Error: File loop! i.tex replaced by i.tex...
 l. ...\input{a}
-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.
+If you say, e.g., `\def\a1{...}', then you must always
+put `1' after `\a', since control sequence names are
+made up of letters only. The macro here has not been
+followed by the required stuff, so I'm ignoring it.
 (.tex File ignored)
 > \@file-subst at zzzz=\long macro:
 ->test.tex.
diff --git a/base/testfiles-lthooks/lthooks-024.tlg b/base/testfiles-lthooks/lthooks-024.tlg
index 0e6f56c2..2a469485 100644
--- a/base/testfiles-lthooks/lthooks-024.tlg
+++ b/base/testfiles-lthooks/lthooks-024.tlg
@@ -1,23 +1,21 @@
 This is a generated file for the l3build validation system.
 Don't change this file in any respect.
-! Undefined control sequence.
-<argument> \::error 
-                    ! hooks: Empty code label on line .... Using 'top-level' ...
+! Use of \??? doesn't match its definition.
+<argument> \???  
+                 ! LaTeX hooks Error: Empty code label on line .... Using 'to...
 l. ...\testme{top-level}
-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.
-! Undefined control sequence.
-<argument> \::error 
-                    ! hooks: Empty code label on line .... Using 'top-level' ...
+If you say, e.g., `\def\a1{...}', then you must always
+put `1' after `\a', since control sequence names are
+made up of letters only. The macro here has not been
+followed by the required stuff, so I'm ignoring it.
+! Use of \??? doesn't match its definition.
+<argument> \???  
+                 ! LaTeX hooks Error: Empty code label on line .... Using 'to...
 l. ...\testme{top-level}
-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.
+If you say, e.g., `\def\a1{...}', then you must always
+put `1' after `\a', since control sequence names are
+made up of letters only. The macro here has not been
+followed by the required stuff, so I'm ignoring it.
 -> The hook 'foo':
 > Code chunks:
 >     .. -> ..
@@ -41,24 +39,22 @@ and I'll forget about whatever was undefined.
 > Execution order:
 >     .., ../, /, //, top-level/, /./, .x, /.x, .x/, top-level/foo,
 top-level/foo/, /./foo.
-! Undefined control sequence.
-<argument> \::error 
-                    ! hooks: Empty code label on line .... Using 'pkg' instead.
+! Use of \??? doesn't match its definition.
+<argument> \???  
+                 ! LaTeX hooks Error: Empty code label on line .... Using 'pk...
 l. ...  \testme{pkg}
-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.
-! Undefined control sequence.
-<argument> \::error 
-                    ! hooks: Empty code label on line .... Using 'pkg' instead.
+If you say, e.g., `\def\a1{...}', then you must always
+put `1' after `\a', since control sequence names are
+made up of letters only. The macro here has not been
+followed by the required stuff, so I'm ignoring it.
+! Use of \??? doesn't match its definition.
+<argument> \???  
+                 ! LaTeX hooks Error: Empty code label on line .... Using 'pk...
 l. ...  \testme{pkg}
-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.
+If you say, e.g., `\def\a1{...}', then you must always
+put `1' after `\a', since control sequence names are
+made up of letters only. The macro here has not been
+followed by the required stuff, so I'm ignoring it.
 -> The hook 'foo':
 > Code chunks:
 >     pkg -> top-leveltop-levelpkg
diff --git a/base/testfiles-lthooks/lthooks-errors-deprecated.tlg b/base/testfiles-lthooks/lthooks-errors-deprecated.tlg
index a6db2b70..b8f30d57 100644
--- a/base/testfiles-lthooks/lthooks-errors-deprecated.tlg
+++ b/base/testfiles-lthooks/lthooks-errors-deprecated.tlg
@@ -18,15 +18,14 @@ l. ...\AddToHook{yyy}{error}
 The hook 'yyy' you tried to add code to was previously disabled with
 \hook_disable_generic:n or \DisableGenericHook, so it cannot have code added
 to it.
-! Undefined control sequence.
-<argument> \::error 
-                    ! hooks: Empty code label on line .... Using 'top-level' ...
+! Use of \??? doesn't match its definition.
+<argument> \???  
+                 ! LaTeX hooks Error: Empty code label on line .... Using 'to...
 l. ...\AddToHook{yyy}[]{error}
-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.
+If you say, e.g., `\def\a1{...}', then you must always
+put `1' after `\a', since control sequence names are
+made up of letters only. The macro here has not been
+followed by the required stuff, so I'm ignoring it.
 ! LaTeX hooks Error: Cannot add code to disabled hook 'yyy'.
 For immediate help type H <return>.
  ...                                              
diff --git a/base/testfiles-lthooks/lthooks-errors.tlg b/base/testfiles-lthooks/lthooks-errors.tlg
index 1d7f346e..df321ae6 100644
--- a/base/testfiles-lthooks/lthooks-errors.tlg
+++ b/base/testfiles-lthooks/lthooks-errors.tlg
@@ -8,15 +8,14 @@ l. ...\AddToHook{yyy}{error}
 The hook 'yyy' you tried to add code to was previously disabled with
 \hook_disable_generic:n or \DisableGenericHook, so it cannot have code added
 to it.
-! Undefined control sequence.
-<argument> \::error 
-                    ! hooks: Empty code label on line .... Using 'top-level' ...
+! Use of \??? doesn't match its definition.
+<argument> \???  
+                 ! LaTeX hooks Error: Empty code label on line .... Using 'to...
 l. ...\AddToHook{yyy}[]{error}
-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.
+If you say, e.g., `\def\a1{...}', then you must always
+put `1' after `\a', since control sequence names are
+made up of letters only. The macro here has not been
+followed by the required stuff, so I'm ignoring it.
 ! LaTeX hooks Error: Cannot add code to disabled hook 'yyy'.
 For immediate help type H <return>.
  ...                                              
diff --git a/base/testfiles/github-0479-often.luatex.tlg b/base/testfiles/github-0479-often.luatex.tlg
index f7150c50..1694f379 100644
--- a/base/testfiles/github-0479-often.luatex.tlg
+++ b/base/testfiles/github-0479-often.luatex.tlg
@@ -662,13 +662,13 @@ Applying: [....-..-..] UTF-8 default on input line ...
 Already applied: [....-..-..] UTF-8 default on input line ....
 )
 > \__kernel_chk_if_free_cs:N=\protected\long macro:
-#1->\cs_if_free:NF #1{\__kernel_msg_error:nnxx {kernel}{command-already-defined}{\token_to_str:N #1}{\token_to_meaning:N #1}}.
+#1->\cs_if_free:NF #1{\msg_error:nnxx {kernel}{command-already-defined}{\token_to_str:N #1}{\token_to_meaning:N #1}}.
 l. ...\show \__kernel_chk_if_free_cs:N
 > \e at alloc=macro:
 #1#2#3#4#5#6->\global \advance #3\@ne \e at ch@ck {#3}{#4}{#5}#1\allocationnumber #3\relax \global #2#6\allocationnumber \wlog {\string #6=\string #1\the \allocationnumber }.
 l. ...\show \e at alloc
 > \__kernel_msg_error:nnx=\protected\long macro:
-#1#2#3->\__kernel_msg_error:nnxxxx {#1}{#2}{#3}{}{}{}.
+#1->\msg_error:nnx {LaTeX/#1}.
 l. ...\show \__kernel_msg_error:nnx
 > \msg_new:nnnn=\protected\long macro:
 #1#2->\__msg_chk_free:nn {#1}{#2}\msg_gset:nnnn {#1}{#2}.
diff --git a/base/testfiles/github-0479-often.tlg b/base/testfiles/github-0479-often.tlg
index 277439bd..0d9dae59 100644
--- a/base/testfiles/github-0479-often.tlg
+++ b/base/testfiles/github-0479-often.tlg
@@ -1075,13 +1075,13 @@ Now handling font encoding U ...
 Already applied: [....-..-..] UTF-8 default on input line ....
 )
 > \__kernel_chk_if_free_cs:N=\protected\long macro:
-#1->\cs_if_free:NF #1{\__kernel_msg_error:nnxx {kernel}{command-already-defined}{\token_to_str:N #1}{\token_to_meaning:N #1}}.
+#1->\cs_if_free:NF #1{\msg_error:nnxx {kernel}{command-already-defined}{\token_to_str:N #1}{\token_to_meaning:N #1}}.
 l. ...\show \__kernel_chk_if_free_cs:N
 > \e at alloc=macro:
 #1#2#3#4#5#6->\global \advance #3\@ne \e at ch@ck {#3}{#4}{#5}#1\allocationnumber #3\relax \global #2#6\allocationnumber \wlog {\string #6=\string #1\the \allocationnumber }.
 l. ...\show \e at alloc
 > \__kernel_msg_error:nnx=\protected\long macro:
-#1#2#3->\__kernel_msg_error:nnxxxx {#1}{#2}{#3}{}{}{}.
+#1->\msg_error:nnx {LaTeX/#1}.
 l. ...\show \__kernel_msg_error:nnx
 > \msg_new:nnnn=\protected\long macro:
 #1#2->\__msg_chk_free:nn {#1}{#2}\msg_gset:nnnn {#1}{#2}.
diff --git a/base/testfiles/github-0479-often.xetex.tlg b/base/testfiles/github-0479-often.xetex.tlg
index bf23bef6..e6ad9f7e 100644
--- a/base/testfiles/github-0479-often.xetex.tlg
+++ b/base/testfiles/github-0479-often.xetex.tlg
@@ -658,13 +658,13 @@ Applying: [....-..-..] UTF-8 default on input line ...
 Already applied: [....-..-..] UTF-8 default on input line ....
 )
 > \__kernel_chk_if_free_cs:N=\protected\long macro:
-#1->\cs_if_free:NF #1{\__kernel_msg_error:nnxx {kernel}{command-already-defined}{\token_to_str:N #1}{\token_to_meaning:N #1}}.
+#1->\cs_if_free:NF #1{\msg_error:nnxx {kernel}{command-already-defined}{\token_to_str:N #1}{\token_to_meaning:N #1}}.
 l. ...\show \__kernel_chk_if_free_cs:N
 > \e at alloc=macro:
 #1#2#3#4#5#6->\global \advance #3\@ne \e at ch@ck {#3}{#4}{#5}#1\allocationnumber #3\relax \global #2#6\allocationnumber \wlog {\string #6=\string #1\the \allocationnumber }.
 l. ...\show \e at alloc
 > \__kernel_msg_error:nnx=\protected\long macro:
-#1#2#3->\__kernel_msg_error:nnxxxx {#1}{#2}{#3}{}{}{}.
+#1->\msg_error:nnx {LaTeX/#1}.
 l. ...\show \__kernel_msg_error:nnx
 > \msg_new:nnnn=\protected\long macro:
 #1#2->\__msg_chk_free:nn {#1}{#2}\msg_gset:nnnn {#1}{#2}.





More information about the latex3-commits mailing list.