[latex3-commits] [git/LaTeX3-latex3-latex2e] gh626-one-time-hooks: test file for #626 (63d868de)

Frank Mittelbach frank.mittelbach at latex-project.org
Fri Jul 23 10:52:40 CEST 2021


Repository : https://github.com/latex3/latex2e
On branch  : gh626-one-time-hooks
Link       : https://github.com/latex3/latex2e/commit/63d868dee2a9a4b6f671516646e8b25bd7150788

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

commit 63d868dee2a9a4b6f671516646e8b25bd7150788
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Fri Jul 23 10:52:40 2021 +0200

    test file for #626


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

63d868dee2a9a4b6f671516646e8b25bd7150788
 base/testfiles/github-0626.lvt | 47 ++++++++++++++++++++
 base/testfiles/github-0626.tlg | 99 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 146 insertions(+)

diff --git a/base/testfiles/github-0626.lvt b/base/testfiles/github-0626.lvt
new file mode 100644
index 00000000..eb146244
--- /dev/null
+++ b/base/testfiles/github-0626.lvt
@@ -0,0 +1,47 @@
+\begin{filecontents}[force]{\jobname-1}
+  \typeout{==> in \jobname-1}
+\end{filecontents}
+
+\begin{filecontents}[force]{\jobname-2}
+  \typeout{==> in \jobname-2}
+\end{filecontents}
+
+\input{test2e}
+
+\AddToHook{class/before/article}{\START \typeout{--> before article 1}\OMIT}
+\AddToHook{class/after/article}{\TIMO \typeout{--> after article 1}}
+
+\documentclass{article}
+
+\AddToHook{class/before/article}{\typeout{--> before article 2}}
+\AddToHook{class/after/article}{\typeout{--> after article 2}}
+
+\AddToHook{package/before/doc}{\typeout{--> before doc 1}}
+\AddToHook{package/after/doc}{\typeout{--> after doc 1}}
+\usepackage{doc}
+\AddToHook{package/before/doc}{\typeout{--> before doc 2}}
+\AddToHook{package/after/doc}{\typeout{--> after doc 2}}
+
+\AddToHook{include/before/\jobname-1}{\typeout{--> before \jobname-1 1}}
+\AddToHook{include/before/\jobname-2}{\typeout{--> before \jobname-2 1}}
+\AddToHook{include/after/\jobname-1}{\typeout{--> after \jobname-1 1}}
+\AddToHook{include/after/\jobname-2}{\typeout{--> after \jobname-2 1}}
+
+
+
+\includeonly{\jobname-2}
+
+\OMIT
+\begin{document}
+\TIMO
+
+\include{\jobname-1}
+\include{\jobname-2}
+
+\AddToHook{include/before/\jobname-1}{\typeout{--> before \jobname-1 2}}
+\AddToHook{include/before/\jobname-2}{\typeout{--> before \jobname-2 2}}
+\AddToHook{include/after/\jobname-1}{\typeout{--> after \jobname-1 2}}
+\AddToHook{include/after/\jobname-2}{\typeout{--> after \jobname-2 2}}
+
+\END
+
diff --git a/base/testfiles/github-0626.tlg b/base/testfiles/github-0626.tlg
new file mode 100644
index 00000000..127fd886
--- /dev/null
+++ b/base/testfiles/github-0626.tlg
@@ -0,0 +1,99 @@
+This is a generated file for the LaTeX2e validation system.
+Don't change this file in any respect.
+--> before article 1
+--> after article 1
+--> before doc 1
+(doc.sty
+Package: doc ....-..-.. v... Standard LaTeX documentation package (FMi)
+\c at StandardModuleDepth=\count...
+\guard at level=\count...
+\MacrocodeTopsep=\skip...
+\MacroIndent=\dimen...
+\macro at cnt=\count...
+\MacroTopsep=\skip...
+\index at excludelist=\toks...
+(multicol.sty
+Package: multicol ....-..-.. v... multicolumn formatting (FMi)
+\c at tracingmulticols=\count...
+\mult at box=\box...
+\multicol at leftmargin=\dimen...
+\c at unbalance=\count...
+\c at collectmore=\count...
+\doublecol at number=\count...
+\multicoltolerance=\count...
+\multicolpretolerance=\count...
+\full at width=\dimen...
+\page at free=\dimen...
+\premulticols=\dimen...
+\postmulticols=\dimen...
+\multicolsep=\skip...
+\multicolbaselineskip=\skip...
+\partial at page=\box...
+\last at line=\box...
+\maxbalancingoverflow=\dimen...
+\mult at rightbox=\box...
+\mult at grightbox=\box...
+\mult at gfirstbox=\box...
+\mult at firstbox=\box...
+\@tempa=\box...
+\@tempa=\box...
+\@tempa=\box...
+\@tempa=\box...
+\@tempa=\box...
+\@tempa=\box...
+\@tempa=\box...
+\@tempa=\box...
+\@tempa=\box...
+\@tempa=\box...
+\@tempa=\box...
+\@tempa=\box...
+\@tempa=\box...
+\@tempa=\box...
+\@tempa=\box...
+\@tempa=\box...
+\@tempa=\box...
+\@tempa=\box...
+\@tempa=\box...
+\@tempa=\box...
+\@tempa=\box...
+\@tempa=\box...
+\@tempa=\box...
+\@tempa=\box...
+\@tempa=\box...
+\@tempa=\box...
+\@tempa=\box...
+\@tempa=\box...
+\@tempa=\box...
+\@tempa=\box...
+\@tempa=\box...
+\@tempa=\box...
+\@tempa=\box...
+\@tempa=\box...
+\@tempa=\box...
+\@tempa=\box...
+\@tempa=\box...
+\c at minrows=\count...
+\c at columnbadness=\count...
+\c at finalcolumnbadness=\count...
+\last at try=\dimen...
+\multicolovershoot=\dimen...
+\multicolundershoot=\dimen...
+\mult at nat@firstbox=\box...
+\colbreak at box=\box...
+\mc at col@check at num=\count...
+)
+\IndexMin=\dimen...
+\c at IndexColumns=\count...
+\GlossaryMin=\dimen...
+\c at GlossaryColumns=\count...
+\check at sum=\count...
+\bslash at cnt=\count...
+\wrong at table=\toks...
+\c at CodelineNo=\count...
+)
+--> after doc 1
+--> before github-0626-2 1
+(github-0626-2.tex
+==> in github-0626-2
+)
+--> after github-0626-2 1





More information about the latex3-commits mailing list.