[latex3-commits] [git/LaTeX3-latex3-latex2e] lthooks2: test for #360 (924e2709)
Frank Mittelbach
frank.mittelbach at latex-project.org
Fri Aug 21 20:24:50 CEST 2020
Repository : https://github.com/latex3/latex2e
On branch : lthooks2
Link : https://github.com/latex3/latex2e/commit/924e270991fcc3a4af4df3c4af8548a15c248c6f
>---------------------------------------------------------------
commit 924e270991fcc3a4af4df3c4af8548a15c248c6f
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date: Fri Aug 21 20:24:50 2020 +0200
test for #360
>---------------------------------------------------------------
924e270991fcc3a4af4df3c4af8548a15c248c6f
base/testfiles-lthooks/github-0360.lvt | 21 +++++++++++++++++++++
.../github-0360.tlg} | 17 ++++++++++++++---
2 files changed, 35 insertions(+), 3 deletions(-)
diff --git a/base/testfiles-lthooks/github-0360.lvt b/base/testfiles-lthooks/github-0360.lvt
new file mode 100644
index 00000000..92685df8
--- /dev/null
+++ b/base/testfiles-lthooks/github-0360.lvt
@@ -0,0 +1,21 @@
+\documentclass{article}
+
+%\DebugHookOn
+
+\input{regression-test}
+
+\AddToHook{begindocument}{%
+ \typeout{+++++ check}%
+ \AddToHook{begindocument}{\typeout{+++++ check nested}}
+}
+\AddToHook{env/document/begin}{%
+ \typeout{***** check}%
+ \AddToHook{env/document/begin}{\typeout{***** check nested}}
+}
+
+\START
+
+\begin{document}
+test
+
+\END
diff --git a/base/testfiles-disabled/lthooks2-003.tlg b/base/testfiles-lthooks/github-0360.tlg
similarity index 69%
copy from base/testfiles-disabled/lthooks2-003.tlg
copy to base/testfiles-lthooks/github-0360.tlg
index 3e824a24..046219b7 100644
--- a/base/testfiles-disabled/lthooks2-003.tlg
+++ b/base/testfiles-lthooks/github-0360.tlg
@@ -1,6 +1,17 @@
This is a generated file for the l3build validation system.
Don't change this file in any respect.
-(lthooks2-003.aux)
+***** check
+(../l3backend-dvips.def
+File: l3backend-dvips.def ....-..-.. L3 backend support: dvips
+\l__pdf_internal_box=\box...
+\g__pdf_backend_object_int=\count...
+\l__pdf_backend_content_box=\box...
+\l__pdf_backend_model_box=\box...
+\g__pdf_backend_annotation_int=\count...
+\g__pdf_backend_link_int=\count...
+\g__pdf_backend_link_sf_int=\count...
+)
+No file github-0360.aux.
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line ....
LaTeX Font Info: ... okay on input line ....
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line ....
@@ -15,5 +26,5 @@ LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line ....
LaTeX Font Info: ... okay on input line ....
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line ....
LaTeX Font Info: ... okay on input line ....
-[1
-] (lthooks2-003.aux)
++++++ check
++++++ check nested
More information about the latex3-commits
mailing list.