[latex3-commits] [git/LaTeX3-latex3-latex2e] main: Update .tlg files (3d58eb3c)

Joseph Wright joseph.wright at morningstar2.co.uk
Fri Aug 27 14:22:46 CEST 2021


Repository : https://github.com/latex3/latex2e
On branch  : main
Link       : https://github.com/latex3/latex2e/commit/3d58eb3c855bd3bc8f46353b5f4abd993537f692

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

commit 3d58eb3c855bd3bc8f46353b5f4abd993537f692
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Fri Aug 27 13:15:46 2021 +0100

    Update .tlg files


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

3d58eb3c855bd3bc8f46353b5f4abd993537f692
 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 ++++---
 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 +-
 10 files changed, 297 insertions(+), 336 deletions(-)

diff --git a/base/testfiles-ltcmd/ltcmd004.luatex.tlg b/base/testfiles-ltcmd/ltcmd004.luatex.tlg
index 4684da47..7c12ebe8 100644
--- a/base/testfiles-ltcmd/ltcmd004.luatex.tlg
+++ b/base/testfiles-ltcmd/ltcmd004.luatex.tlg
@@ -536,15 +536,14 @@ TEST 12: Defaults referring to other arguments
 ============================================================
 TEST 13: Test ## in expandable argument specification
 ============================================================
-! Undefined control sequence.
-<argument> \::error 
-         ! cmd: Missing required argument 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: Missing required argument 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##
@@ -553,24 +552,22 @@ and I'll forget about whatever was undefined.
 ============================================================
 TEST 14: Refer to other args (expandable)
 ============================================================
-! Undefined control sequence.
-<argument> \::error 
-         ! cmd: Defaults of \foobar have circular dependency.
-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: Defaults of \foobar have circular dependency.
-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: Defaults of \foobar have circular dependency.
+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: Defaults of \foobar have circular dependency.
+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 
@@ -910,34 +907,31 @@ E x y&z
 ============================================================
 TEST 31: IfBoolean multi token
 ============================================================
-! Undefined control sequence.
-<argument> \::error 
-         ! cmd: Invalid use \IfBooleanTF {}
-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 use \IfBooleanTF {}
-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 use \IfBooleanTF {}
+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 use \IfBooleanTF {}
+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 use \IfBooleanTF {\ERROR \ERROR }
-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 use \IfBooleanTF {\ERROR \ERROR }
+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 a3e30398..d0e750dc 100644
--- a/base/testfiles-ltcmd/ltcmd004.tlg
+++ b/base/testfiles-ltcmd/ltcmd004.tlg
@@ -536,15 +536,14 @@ TEST 12: Defaults referring to other arguments
 ============================================================
 TEST 13: Test ## in expandable argument specification
 ============================================================
-! Undefined control sequence.
-<argument> \::error 
-                    ! cmd: Missing required argument 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: Missing required argument 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##
@@ -553,24 +552,22 @@ and I'll forget about whatever was undefined.
 ============================================================
 TEST 14: Refer to other args (expandable)
 ============================================================
-! Undefined control sequence.
-<argument> \::error 
-                    ! cmd: Defaults of \foobar have circular dependency.
-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: Defaults of \foobar have circular dependency.
-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: Defaults of \foobar have circular depend...
+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: Defaults of \foobar have circular depend...
+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 
@@ -910,34 +907,31 @@ E x y&z
 ============================================================
 TEST 31: IfBoolean multi token
 ============================================================
-! Undefined control sequence.
-<argument> \::error 
-                    ! cmd: Invalid use \IfBooleanTF {}
-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 use \IfBooleanTF {}
-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 use \IfBooleanTF {}
+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 use \IfBooleanTF {}
+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 use \IfBooleanTF {\ERROR \ERROR }
-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 use \IfBooleanTF {\ERROR \ERROR }
+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 b97fea79..24816e1b 100644
--- a/base/testfiles-ltcmd/ltcmd005.luatex.tlg
+++ b/base/testfiles-ltcmd/ltcmd005.luatex.tlg
@@ -293,34 +293,31 @@ l. ...  }
 The argument specification provided was not valid: in a place where a single
 token is required, LaTeX found 'ab'.
 LaTeX will ignore this entire definition.
-! Undefined control sequence.
-<argument> \::error 
-         ! cmd: Invalid use \IfBooleanTF {foo}
-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 use \IfBooleanTF {foo}
+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 use \IfBooleanTF {\foo }
-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 use \IfBooleanTF {?}
-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 use \IfBooleanTF {\foo }
+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 use \IfBooleanTF {?}
+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 a0a63402..a8d9afe8 100644
--- a/base/testfiles-ltcmd/ltcmd005.tlg
+++ b/base/testfiles-ltcmd/ltcmd005.tlg
@@ -293,34 +293,31 @@ l. ...  }
 The argument specification provided was not valid: in a place where a single
 token is required, LaTeX found 'ab'.
 LaTeX will ignore this entire definition.
-! Undefined control sequence.
-<argument> \::error 
-                    ! cmd: Invalid use \IfBooleanTF {foo}
-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 use \IfBooleanTF {foo}
+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 use \IfBooleanTF {\foo }
-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 use \IfBooleanTF {?}
-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 use \IfBooleanTF {\foo }
+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 use \IfBooleanTF {?}
+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.tlg b/base/testfiles-lthooks/lthooks-errors.tlg
index 1b926898..5d503cfe 100644
--- a/base/testfiles-lthooks/lthooks-errors.tlg
+++ b/base/testfiles-lthooks/lthooks-errors.tlg
@@ -25,15 +25,14 @@ For immediate help type H <return>.
 l. ...\AddToHook{yyy}{error}
 The hook 'yyy' you tried to add code to was previously disabled with
 \hook_disable:n or \DisableHook, 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 4ce60acc..d4c44731 100644
--- a/base/testfiles/github-0479-often.luatex.tlg
+++ b/base/testfiles/github-0479-often.luatex.tlg
@@ -649,13 +649,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 8f79851c..a284e33b 100644
--- a/base/testfiles/github-0479-often.tlg
+++ b/base/testfiles/github-0479-often.tlg
@@ -1052,13 +1052,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 34caf433..9c67810f 100644
--- a/base/testfiles/github-0479-often.xetex.tlg
+++ b/base/testfiles/github-0479-often.xetex.tlg
@@ -645,13 +645,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.