[latex3-commits] [git/LaTeX3-latex3-latex2e] ProvideHook: resulting test changes (255e372c)

Frank Mittelbach frank.mittelbach at latex-project.org
Fri Apr 30 12:03:51 CEST 2021


Repository : https://github.com/latex3/latex2e
On branch  : ProvideHook
Link       : https://github.com/latex3/latex2e/commit/255e372c0c9fb013ae3826a11e7a794b4db551ec

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

commit 255e372c0c9fb013ae3826a11e7a794b4db551ec
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Fri Apr 30 12:03:51 2021 +0200

    resulting test changes


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

255e372c0c9fb013ae3826a11e7a794b4db551ec
 base/testfiles-lthooks/ltcmdhooks-008.tlg | 20 ++++++++++----------
 base/testfiles-lthooks/lthooks-005.tlg    |  2 +-
 base/testfiles-lthooks/lthooks-006.tlg    |  2 +-
 base/testfiles-lthooks/lthooks-019.tlg    |  2 +-
 base/testfiles-lthooks/lthooks-022.tlg    |  2 +-
 base/testfiles-lthooks/lthooks-023.tlg    | 12 ++++++------
 base/testfiles-lthooks/lthooks-024.tlg    |  8 ++++----
 base/testfiles-lthooks/lthooks-028.tlg    | 12 ++++++------
 base/testfiles-lthooks/lthooks-029.tlg    | 10 +++++-----
 base/testfiles-lthooks/lthooks-errors.tlg | 30 +++++++++++++++---------------
 10 files changed, 50 insertions(+), 50 deletions(-)

diff --git a/base/testfiles-lthooks/ltcmdhooks-008.tlg b/base/testfiles-lthooks/ltcmdhooks-008.tlg
index b475ef58..d24dd861 100644
--- a/base/testfiles-lthooks/ltcmdhooks-008.tlg
+++ b/base/testfiles-lthooks/ltcmdhooks-008.tlg
@@ -30,12 +30,12 @@ l. ...\AddToHook{\foo}{before}    \ShowHook{\foo}
 >     Not set because the hook is disabled.
 <recently read> }
 l. ...\DisableHook{\foo}          \ShowHook{\foo}
-! LaTeX3 Error: Cannot add code to disabled hook `foo'.
+! LaTeX3 Error: Cannot add code to disabled hook 'foo'.
 For immediate help type H <return>.
  ...                                              
 l. ...\AddToHook{\foo}{after}
                                  \ShowHook{\foo}
-The hook `foo' you tried to add code to was previously disabled with
+The hook 'foo' you tried to add code to was previously disabled with
 \hook_disable:n or \DisableHook, so it cannot have code added to it.
 -> The hook 'foo':
 > The hook is not declared.
@@ -102,12 +102,12 @@ l. ...\DisableHook{\foo}          \ShowHook{\foo}
 > The hook is empty.
 <recently read> }
 l. ...\DisableHook{\foo}          \ShowHook{\foo}
-! LaTeX3 Error: Cannot add code to disabled hook `baz'.
+! LaTeX3 Error: Cannot add code to disabled hook 'baz'.
 For immediate help type H <return>.
  ...                                              
 l. ...\AddToHookNext{\foo}{after}
                                  \ShowHook{\foo}
-The hook `baz' you tried to add code to was previously disabled with
+The hook 'baz' you tried to add code to was previously disabled with
 \hook_disable:n or \DisableHook, so it cannot have code added to it.
 -> The hook 'baz':
 > The hook is not declared.
@@ -122,12 +122,12 @@ l. ...\AddToHookNext{\foo}{after} \ShowHook{\foo}
 > The hook is empty.
 <recently read> }
 l. ...\DisableHook{\foo}          \ShowHook{\foo}
-! LaTeX3 Error: Cannot add code to disabled hook `env/foo/before'.
+! LaTeX3 Error: Cannot add code to disabled hook 'env/foo/before'.
 For immediate help type H <return>.
  ...                                              
 l. ...\AddToHookNext{\foo}{after}
                                  \ShowHook{\foo}
-The hook `env/foo/before' you tried to add code to was previously disabled
+The hook 'env/foo/before' you tried to add code to was previously disabled
 with \hook_disable:n or \DisableHook, so it cannot have code added to it.
 -> The hook 'env/foo/before':
 > The hook is not declared.
@@ -142,12 +142,12 @@ l. ...\AddToHookNext{\foo}{after} \ShowHook{\foo}
 > The hook is empty.
 <recently read> }
 l. ...\DisableHook{\foo}          \ShowHook{\foo}
-! LaTeX3 Error: Cannot add code to disabled hook `cmd/test/before'.
+! LaTeX3 Error: Cannot add code to disabled hook 'cmd/test/before'.
 For immediate help type H <return>.
  ...                                              
 l. ...\AddToHook{\foo}{after}
                                  \ShowHook{\foo}
-The hook `cmd/test/before' you tried to add code to was previously disabled
+The hook 'cmd/test/before' you tried to add code to was previously disabled
 with \hook_disable:n or \DisableHook, so it cannot have code added to it.
 -> The hook 'cmd/test/before':
 > The hook is not declared.
@@ -169,11 +169,11 @@ l. ...\AddToHook{\foo}{after}     \ShowHook{\foo}
 >     XXX.
 <recently read> }
 l. ...\ShowHook{\foo}
-! LaTeX3 Error: Cannot add code to disabled hook `cmd/mycmd/after'.
+! LaTeX3 Error: Cannot add code to disabled hook 'cmd/mycmd/after'.
 For immediate help type H <return>.
  ...                                              
 l. ...\AddToHook{\foo}{\ERROR 3}
-The hook `cmd/mycmd/after' you tried to add code to was previously disabled
+The hook 'cmd/mycmd/after' you tried to add code to was previously disabled
 with \hook_disable:n or \DisableHook, so it cannot have code added to it.
 -> The hook 'cmd/mycmd/after':
 > The hook is not declared.
diff --git a/base/testfiles-lthooks/lthooks-005.tlg b/base/testfiles-lthooks/lthooks-005.tlg
index 916e8691..2dd2602e 100644
--- a/base/testfiles-lthooks/lthooks-005.tlg
+++ b/base/testfiles-lthooks/lthooks-005.tlg
@@ -1,6 +1,6 @@
 This is a generated file for the l3build validation system.
 Don't change this file in any respect.
-! LaTeX3 Error: Hook `xxx' has already been declared.
+! LaTeX3 Error: Hook 'xxx' has already been declared.
 For immediate help type H <return>.
  ...                                              
 l. ...\NewHook{xxx}
diff --git a/base/testfiles-lthooks/lthooks-006.tlg b/base/testfiles-lthooks/lthooks-006.tlg
index 38ae7962..70eebc2d 100644
--- a/base/testfiles-lthooks/lthooks-006.tlg
+++ b/base/testfiles-lthooks/lthooks-006.tlg
@@ -135,7 +135,7 @@ Handled code for firstaid
 Update code for hook 'file/after/bigfoot.sty' on input line ...:
 Update code for hook 'xxx' on input line ...:
   normal rule label2|label1: xW found
-LaTeX3 Warning: Labels `label2' and `label1' are incompatible in hook `xxx'.
+LaTeX3 Warning: Labels 'label2' and 'label1' are incompatible in hook 'xxx'.
 (LaTeX3)        You may see errors later.
   normal rule label3|label2: < found
 Code labels for sorting:
diff --git a/base/testfiles-lthooks/lthooks-019.tlg b/base/testfiles-lthooks/lthooks-019.tlg
index 75c60f87..78528b99 100644
--- a/base/testfiles-lthooks/lthooks-019.tlg
+++ b/base/testfiles-lthooks/lthooks-019.tlg
@@ -1,6 +1,6 @@
 This is a generated file for the l3build validation system.
 Don't change this file in any respect.
-! LaTeX3 Error: Hook `yy' has already been declared.
+! LaTeX3 Error: Hook 'yy' has already been declared.
 For immediate help type H <return>.
  ...                                              
 l. ...\NewReversedHook{yy}
diff --git a/base/testfiles-lthooks/lthooks-022.tlg b/base/testfiles-lthooks/lthooks-022.tlg
index ba852823..7f10883b 100644
--- a/base/testfiles-lthooks/lthooks-022.tlg
+++ b/base/testfiles-lthooks/lthooks-022.tlg
@@ -13,7 +13,7 @@ Don't change this file in any respect.
 >     label-B|label-A with relation <-
 > Execution order (after applying rules):
 >     label-A, label-B, label-C.
-LaTeX3 Warning: Labels `label-B' and `label-A' are incompatible in hook `foo'.
+LaTeX3 Warning: Labels 'label-B' and 'label-A' are incompatible in hook 'foo'.
 (LaTeX3)        You may see errors later.
 -> The hook 'foo':
 > Code chunks:
diff --git a/base/testfiles-lthooks/lthooks-023.tlg b/base/testfiles-lthooks/lthooks-023.tlg
index 087c5710..23aa130a 100644
--- a/base/testfiles-lthooks/lthooks-023.tlg
+++ b/base/testfiles-lthooks/lthooks-023.tlg
@@ -1,10 +1,10 @@
 This is a generated file for the l3build validation system.
 Don't change this file in any respect.
-LaTeX3 Warning: Labels `label-B' and `label-A' are incompatible in hook `foo'.
+LaTeX3 Warning: Labels 'label-B' and 'label-A' are incompatible in hook 'foo'.
 (LaTeX3)        You may see errors later.
-LaTeX3 Warning: Labels `label-E' and `label-D' are incompatible. You may see
+LaTeX3 Warning: Labels 'label-E' and 'label-D' are incompatible. You may see
 (LaTeX3)        errors later.
-! LaTeX3 Error: Labels `label-F' and `label-D' are incompatible. The code for
+! LaTeX3 Error: Labels 'label-F' and 'label-D' are incompatible. The code for
 (LaTeX3)        both labels will be dropped.
 For immediate help type H <return>.
  ...                                              
@@ -30,11 +30,11 @@ incompatibility between packages.
 >     label-F|label-D with default relation xE
 > Execution order (after applying rules):
 >     label-A, label-B, label-C, label-D, label-E, label-F.
-LaTeX3 Warning: Labels `label-B' and `label-A' are incompatible in hook `foo'.
+LaTeX3 Warning: Labels 'label-B' and 'label-A' are incompatible in hook 'foo'.
 (LaTeX3)        You may see errors later.
-LaTeX3 Warning: Labels `label-E' and `label-D' are incompatible. You may see
+LaTeX3 Warning: Labels 'label-E' and 'label-D' are incompatible. You may see
 (LaTeX3)        errors later.
-! LaTeX3 Error: Labels `label-F' and `label-D' are incompatible. The code for
+! LaTeX3 Error: Labels 'label-F' and 'label-D' are incompatible. The code for
 (LaTeX3)        both labels will be dropped.
 For immediate help type H <return>.
  ...                                              
diff --git a/base/testfiles-lthooks/lthooks-024.tlg b/base/testfiles-lthooks/lthooks-024.tlg
index e26b6099..6869c6de 100644
--- a/base/testfiles-lthooks/lthooks-024.tlg
+++ b/base/testfiles-lthooks/lthooks-024.tlg
@@ -2,7 +2,7 @@ This is a generated file for the l3build validation system.
 Don't change this file in any respect.
 ! Undefined control sequence.
 <argument> \LaTeX3 error: 
-                           Empty code label on line .... Using `top-level' in...
+                           Empty code label on line .... Using 'top-level' in...
 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
@@ -11,7 +11,7 @@ spelling (e.g., `I\hbox'). Otherwise just continue,
 and I'll forget about whatever was undefined.
 ! Undefined control sequence.
 <argument> \LaTeX3 error: 
-                           Empty code label on line .... Using `top-level' in...
+                           Empty code label on line .... Using 'top-level' in...
 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
@@ -43,7 +43,7 @@ and I'll forget about whatever was undefined.
 top-level/foo/, /./foo.
 ! Undefined control sequence.
 <argument> \LaTeX3 error: 
-                           Empty code label on line .... Using `pkg' instead.
+                           Empty code label on line .... Using 'pkg' instead.
 l. ...  \testme{pkg}
 The control sequence at the end of the top line
 of your error message was never \def'ed. If you have
@@ -52,7 +52,7 @@ spelling (e.g., `I\hbox'). Otherwise just continue,
 and I'll forget about whatever was undefined.
 ! Undefined control sequence.
 <argument> \LaTeX3 error: 
-                           Empty code label on line .... Using `pkg' instead.
+                           Empty code label on line .... Using 'pkg' instead.
 l. ...  \testme{pkg}
 The control sequence at the end of the top line
 of your error message was never \def'ed. If you have
diff --git a/base/testfiles-lthooks/lthooks-028.tlg b/base/testfiles-lthooks/lthooks-028.tlg
index a823e8e8..c6b14236 100644
--- a/base/testfiles-lthooks/lthooks-028.tlg
+++ b/base/testfiles-lthooks/lthooks-028.tlg
@@ -2,21 +2,21 @@ This is a generated file for the l3build validation system.
 Don't change this file in any respect.
 (lthooks-028-pkg.sty
 ! LaTeX3 Error: Illegal \AddToHook{begindocument}[top-level]{...}.
-(LaTeX3)        `top-level' is reserved for the user's document.
+(LaTeX3)        'top-level' is reserved for the user's document.
 For immediate help type H <return>.
  ...                                              
 l. ......ypeout{'top-level' from \jobname-pkg}\OMIT}
-The `top-level' label is meant for user code only, and should only be used
-(sparingly) in the main document. Use the default label `lthooks-028-pkg' for
+The 'top-level' label is meant for user code only, and should only be used
+(sparingly) in the main document. Use the default label 'lthooks-028-pkg' for
 this package, or another suitable label.
 )
 ! LaTeX3 Error: Illegal \AddToHook{begindocument}[top-level]{...}.
-(LaTeX3)        `top-level' is reserved for the user's document.
+(LaTeX3)        'top-level' is reserved for the user's document.
 For immediate help type H <return>.
  ...                                              
 l. ......eout{'top-level' with changed label}\OMIT}
-The `top-level' label is meant for user code only, and should only be used
-(sparingly) in the main document. Use the default label `not-top-level' for
+The 'top-level' label is meant for user code only, and should only be used
+(sparingly) in the main document. Use the default label 'not-top-level' for
 this package, or another suitable label.
 from lthooks-028-pkg
 'top-level' with default label
diff --git a/base/testfiles-lthooks/lthooks-029.tlg b/base/testfiles-lthooks/lthooks-029.tlg
index f02d4b4a..d7d2647a 100644
--- a/base/testfiles-lthooks/lthooks-029.tlg
+++ b/base/testfiles-lthooks/lthooks-029.tlg
@@ -91,11 +91,11 @@ l. ...\ShowHook{ccc}
 <recently read> }
 l. ...\ShowHook{ccc}
 ------------ provide an reversed hook on an existing normal hook --------------
-! LaTeX3 Error: Hook `aaa' already declared as a normal hook!
+! LaTeX3 Error: Hook 'aaa' already declared as a normal hook!
 For immediate help type H <return>.
  ...                                              
 l. ...\ProvideReversedHook{aaa}
-You attempted to provide the hook `aaa' as a reversed hook, but it was already
+You attempted to provide the hook 'aaa' as a reversed hook, but it was already
 previously declared as a normal hook. A redeclaration is not possible.
 -> The hook 'aaa':
 > Code chunks:
@@ -111,11 +111,11 @@ previously declared as a normal hook. A redeclaration is not possible.
 <recently read> }
 l. ...\ShowHook{aaa}
 ------------ provide an normal hook on an existing reversed hook --------------
-! LaTeX3 Error: Hook `ccc' already declared as a reversed hook!
+! LaTeX3 Error: Hook 'ccc' already declared as a reversed hook!
 For immediate help type H <return>.
  ...                                              
 l. ...\ProvideHook{ccc}
-You attempted to provide the hook `ccc' as a normal hook, but it was already
+You attempted to provide the hook 'ccc' as a normal hook, but it was already
 previously declared as a reversed hook. A redeclaration is not possible.
 -> The hook 'ccc':
 > Code chunks:
@@ -131,7 +131,7 @@ previously declared as a reversed hook. A redeclaration is not possible.
 <recently read> }
 l. ...\ShowHook{ccc}
 ------------ provide hook that was disabled --------------
-LaTeX3 Warning: Can't provide hook `ddd' because it is disabled!
+LaTeX3 Warning: Can't provide hook 'ddd' because it is disabled!
 -> The hook 'ddd':
 > The hook is not declared.
 > The hook is disabled.
diff --git a/base/testfiles-lthooks/lthooks-errors.tlg b/base/testfiles-lthooks/lthooks-errors.tlg
index a4cc3f32..43adf6a0 100644
--- a/base/testfiles-lthooks/lthooks-errors.tlg
+++ b/base/testfiles-lthooks/lthooks-errors.tlg
@@ -1,16 +1,16 @@
 This is a generated file for the l3build validation system.
 Don't change this file in any respect.
-! LaTeX3 Error: Unknown relationship `unknown' between labels `label1' and
-(LaTeX3)        `label2'  in hook `xxx'. Perhaps a missspelling?
+! LaTeX3 Error: Unknown relationship 'unknown' between labels 'label1' and
+(LaTeX3)        'label2'  in hook 'xxx'. Perhaps a missspelling?
 For immediate help type H <return>.
  ...                                              
 l. ......HookRule {xxx} {label1} {unknown} {label2}
-The relation used not known to the system. Allowed values are `before' or `<',
-`after' or `>', `incompatible-warning', `incompatible-error', `voids' or
-`unrelated'.
-LaTeX3 Warning: Labels `label4' and `label3' are incompatible in hook `xxx'.
+The relation used not known to the system. Allowed values are 'before' or '<',
+'after' or '>', 'incompatible-warning', 'incompatible-error', 'voids' or
+'unrelated'.
+LaTeX3 Warning: Labels 'label4' and 'label3' are incompatible in hook 'xxx'.
 (LaTeX3)        You may see errors later.
-! LaTeX3 Error: Labels `label5' and `label1' are incompatible in hook `xxx'.
+! LaTeX3 Error: Labels 'label5' and 'label1' are incompatible in hook 'xxx'.
 (LaTeX3)        The code for both labels will be dropped.
 For immediate help type H <return>.
  ...                                              
@@ -42,7 +42,7 @@ l. ...\@expl@@@filehook at file@pop@@
 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 Error: You cannot change the default label for `top-level'. Illegal
+! LaTeX3 Error: You cannot change the default label for 'top-level'. Illegal
 (LaTeX3)          \SetDefaultHookLabel{my-document}
 (LaTeX3)        on line ....
 Type <return> to continue.
@@ -52,14 +52,14 @@ 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 Error: Illegal \AddToHook{begindocument}[top-level]{...}.
-(LaTeX3)        `top-level' is reserved for the user's document.
+(LaTeX3)        'top-level' is reserved for the user's document.
 For immediate help type H <return>.
  ...                                              
 l. ......ook{begindocument}[top-level]{not allowed}
-The `top-level' label is meant for user code only, and should only be used
-(sparingly) in the main document. Use the default label `my-document' for this
+The 'top-level' label is meant for user code only, and should only be used
+(sparingly) in the main document. Use the default label 'my-document' for this
 package, or another suitable label.
-! LaTeX3 Error: You cannot change the default label to `top-level'. Illegal
+! LaTeX3 Error: You cannot change the default label to 'top-level'. Illegal
 (LaTeX3)          \SetDefaultHookLabel{top-level}
 (LaTeX3)        on line ....
 Type <return> to continue.
@@ -78,7 +78,7 @@ Try typing <return> to proceed.
 If that doesn't work, type X <return> to quit.
 allowed
 ! LaTeX3 Error: Missing \PopDefaultHookLabel.
-(LaTeX3)        The label `this' was pushed but never popped. Something is
+(LaTeX3)        The label 'this' was pushed but never popped. Something is
 (LaTeX3)        wrong.
 Type <return> to continue.
  ...                                              
@@ -87,7 +87,7 @@ 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 Error: Missing \PopDefaultHookLabel.
-(LaTeX3)        The label `should' was pushed but never popped. Something is
+(LaTeX3)        The label 'should' was pushed but never popped. Something is
 (LaTeX3)        wrong.
 Type <return> to continue.
  ...                                              
@@ -96,7 +96,7 @@ 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 Error: Missing \PopDefaultHookLabel.
-(LaTeX3)        The label `error' was pushed but never popped. Something is
+(LaTeX3)        The label 'error' was pushed but never popped. Something is
 (LaTeX3)        wrong.
 Type <return> to continue.
  ...                                              





More information about the latex3-commits mailing list.