[latex3-commits] [latex3/latex2e] main: Missed on lthooks test (0942078b)

github at latex-project.org github at latex-project.org
Thu Jun 8 16:20:39 CEST 2023


Repository : https://github.com/latex3/latex2e
On branch  : main
Link       : https://github.com/latex3/latex2e/commit/0942078b262c1abe68660b24db366f39a801cb5d

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

commit 0942078b262c1abe68660b24db366f39a801cb5d
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Thu Jun 8 15:20:39 2023 +0100

    Missed on lthooks test


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

0942078b262c1abe68660b24db366f39a801cb5d
 base/testfiles-lthooks/lthooks-rollback-args.tlg | 28 +++++-------------------
 1 file changed, 6 insertions(+), 22 deletions(-)

diff --git a/base/testfiles-lthooks/lthooks-rollback-args.tlg b/base/testfiles-lthooks/lthooks-rollback-args.tlg
index 382710b6..6474a0c3 100644
--- a/base/testfiles-lthooks/lthooks-rollback-args.tlg
+++ b/base/testfiles-lthooks/lthooks-rollback-args.tlg
@@ -1282,7 +1282,7 @@ Already applied: [....-..-..] UTF-8 default on input line ....
 )
 -> The hook 'begindocument':
 > Code chunks:
->     label -> \def \ay ####1{\typeout {ay(####1)}}\def \by ##1{\typeout {by(##1)}}
+>     label -> \def \ay ##1{\typeout {ay(##1)}}\def \by ##1{\typeout {by(##1)}}
 > Document-level (top-level) code (executed last):
 >     -> \def \ax ##1{\typeout {ax(##1)}}\def \bx ##1{\typeout {bx(##1)}}
 > Extra code for next invocation:
@@ -1293,25 +1293,9 @@ Already applied: [....-..-..] UTF-8 default on input line ....
 >     label.
 <recently read> }
 l. ...\ShowHook{begindocument}
-! Parameters must be numbered consecutively.
-<to be read again> 
-                   ##
-l. ...\UseHook{begindocument}
-I've inserted the digit you should have used after the #.
-Type `1' to delete what you did use.
-! Parameters must be numbered consecutively.
-<to be read again> 
-                   1
-l. ...\UseHook{begindocument}
-I've inserted the digit you should have used after the #.
-Type `1' to delete what you did use.
 ax(1)
-Runaway argument?
- \az {3} \bx {4} \by {5} \bz {6} 
-! Paragraph ended before \ay was complete.
-<to be read again> 
-                   \par 
-l. ...
-I suspect you've forgotten a `}', causing me to apply this
-control sequence to too much text. How can we recover?
-My plan is to forget the whole thing and hope for the best.
+ay(2)
+az(3)
+bx(4)
+by(5)
+bz(6)





More information about the latex3-commits mailing list.