[latex3-commits] [git/LaTeX3-latex3-l3build] main: Suppress LaTeX version data at end-of-log (closes #255) (07ce1dd)

Joseph Wright joseph.wright at morningstar2.co.uk
Wed Nov 9 22:14:55 CET 2022


Repository : https://github.com/latex3/l3build
On branch  : main
Link       : https://github.com/latex3/l3build/commit/07ce1dda7bf2c1f13260e0061ba01ee8abda4f68

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

commit 07ce1dda7bf2c1f13260e0061ba01ee8abda4f68
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Wed Nov 9 21:14:55 2022 +0000

    Suppress LaTeX version data at end-of-log (closes #255)


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

07ce1dda7bf2c1f13260e0061ba01ee8abda4f68
 CHANGELOG.md | 3 +++
 l3build.dtx  | 7 +++++++
 2 files changed, 10 insertions(+)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7385c5e..30e5f66 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,9 @@ this project uses date-based 'snapshot' version identifiers.
 
 ## [Unreleased]
 
+### Changed
+- Suppress (new) LaTeX version data at end of `.log`
+
 ### Fixed
 - Allow for local override of `ctanupload` variable
 
diff --git a/l3build.dtx b/l3build.dtx
index efdadd7..83ec6fc 100644
--- a/l3build.dtx
+++ b/l3build.dtx
@@ -2555,6 +2555,13 @@
   \fi
 \fi
 %    \end{macrocode}
+%  Suppress version data in \LaTeX{} runs.
+%    \begin{macrocode}
+\ifdefined\AddToHook
+  \AddToHook{enddocument/info}[kernel/testmode]{}
+  \DeclareHookRule{enddocument/info}{kernel/testmode}{voids}{kernel/release}
+\fi
+%    \end{macrocode}
 %
 % Finish up.
 %    \begin{macrocode}





More information about the latex3-commits mailing list.