From 32aabfddae98aea8351afacd6b791e76a98526a5 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 25 Dec 2020 22:11:12 +0000 Subject: use new hook system for \Configure{AtBeginDocument}, tex4ht r856 git-svn-id: svn://tug.org/texlive/trunk@57228 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/generic/tex4ht/mathtools.4ht | 3 +-- Master/texmf-dist/tex/generic/tex4ht/tex4ht.sty | 7 +++++-- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'Master/texmf-dist/tex/generic') diff --git a/Master/texmf-dist/tex/generic/tex4ht/mathtools.4ht b/Master/texmf-dist/tex/generic/tex4ht/mathtools.4ht index d9e47324980..46830e07e68 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/mathtools.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/mathtools.4ht @@ -1,5 +1,5 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% mathtools.4ht 2020-12-24-14:23 % +% mathtools.4ht 2020-12-25-13:59 % % Copyright (C) 2007-2009 Eitan M. Gurari % % Copyright 2009-2020 TeX Users Group % @@ -18,7 +18,6 @@ % % If you modify this program, changing the % version identification would be appreciated. -\@ifpackageloaded{graphicx}{}{\RequirePackage{graphicx}} \ifx \o:endgathered:\:UnDef\else \HRestore\endgathered \fi diff --git a/Master/texmf-dist/tex/generic/tex4ht/tex4ht.sty b/Master/texmf-dist/tex/generic/tex4ht/tex4ht.sty index f3ad6c79a9a..b35d2098ccb 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/tex4ht.sty +++ b/Master/texmf-dist/tex/generic/tex4ht/tex4ht.sty @@ -1,7 +1,7 @@ \ifnum\the\catcode`\%=14\else\expandafter\edef\csname \string:RestoreCatcodes\endcsname{\catcode`\%\the \catcode`\%}\catcode`\%14\fi -% tex4ht.sty (2020-10-16-13:47), generated from tex4ht-sty.tex +% tex4ht.sty (2020-12-25-13:59), generated from tex4ht-sty.tex % Copyright 2009-2020 TeX Users Group % Copyright 1996-2009 Eitan M. Gurari % @@ -20,7 +20,7 @@ % % If you modify this program, changing the % version identification would be appreciated. -\immediate\write-1{version 2020-10-16-13:47} +\immediate\write-1{version 2020-12-25-13:59} \ifx \Preamble\UnDef \else @@ -180,6 +180,9 @@ %\let\document\o:document \ifdefined\AddToHook% \def\document{\endgroup\o:document}% + % use new LaTeX hook system to execute \Configure{AtBeginDocument} + \AddToHook{begindocument/before}[tex4ht]{\csname a:AtBeginDocument\endcsname} + \AddToHook{begindocument/end}[tex4ht]{\csname b:AtBeginDocument\endcsname} \else% \let\document\o:document% \fi% -- cgit v1.2.3