[latex3-commits] [git/LaTeX3-latex3-latex2e] kernel-msgs: Merge branch 'kernel-msgs' of https://github.com/latex3/latex2e into kernel-msgs (f534e909)

Frank Mittelbach frank.mittelbach at latex-project.org
Wed May 26 20:24:29 CEST 2021


Repository : https://github.com/latex3/latex2e
On branch  : kernel-msgs
Link       : https://github.com/latex3/latex2e/commit/f534e90963690ccd8ba5c6ba5a67c07cdbb8b7dc

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

commit f534e90963690ccd8ba5c6ba5a67c07cdbb8b7dc
Merge: 7e5135e3 4245ae25
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Wed May 26 20:24:29 2021 +0200

    Merge branch 'kernel-msgs' of https://github.com/latex3/latex2e into kernel-msgs


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

f534e90963690ccd8ba5c6ba5a67c07cdbb8b7dc
 base/testfiles-lthooks/ltcmdhooks-011.lvt | 2 +-
 base/testfiles-lthooks/ltcmdhooks-011.tlg | 9 ++++-----
 2 files changed, 5 insertions(+), 6 deletions(-)

diff --cc base/testfiles-lthooks/ltcmdhooks-011.tlg
index ad579662,2ebb5f1f..dff37991
--- a/base/testfiles-lthooks/ltcmdhooks-011.tlg
+++ b/base/testfiles-lthooks/ltcmdhooks-011.tlg
@@@ -18,16 -20,17 +18,15 @@@ command because it doesn't exist
  For immediate help type H <return>.
   ...                                              
  l. ...\AddToHook{cmd/detokenize/before}{error}
 -You tried to add a hook to `\detokenize', but LaTeX was not able to add the
 -hook to that command because `\detokenize' is not a macro.
 -! LaTeX hooks Error: Command `\__hook_debug:n' cannot have hooks because it is
 -(hooks)              a private expl3 macro.
 +You tried to add a hook to '\detokenize', but LaTeX was unable to patch the
 +command because it is not a macro.
- ! LaTeX hooks Error: Generic hooks cannot be added to
- (hooks)              '\__hook_cmd_begindocument_code:'.
++! LaTeX hooks Error: Generic hooks cannot be added to '\__hook_debug:n'.
  For immediate help type H <return>.
   ...                                              
- l. ......ook_cmd_begindocument_code:/before}{error}
- You tried to add a hook to '\__hook_cmd_begindocument_code:', but LaTeX was
- unable to patch the command because it doesn't exist.
+ l. ...\AddToHook{cmd/__hook_debug:n/before}{error}
 -You tried to add a hook to `\__hook_debug:n', but LaTeX was not able to add
 -the hook to that command because `\__hook_debug:n' is a private expl3 macro.
 -! LaTeX hooks Error: Command `\mycmd' cannot have hooks because it can't be
 -(hooks)              retokenized cleanly.
++You tried to add a hook to '\__hook_debug:n', but LaTeX was unable to patch
++the command because it is a private expl3 macro.
 +! LaTeX hooks Error: Generic hooks cannot be added to '\mycmd'.
  For immediate help type H <return>.
   ...                                              
  l. ...\AddToHook{cmd/mycmd/before}{error}





More information about the latex3-commits mailing list.