texlive[57228] Master/texmf-dist/tex/generic/tex4ht: use new hook
commits+karl at tug.org
commits+karl at tug.org
Fri Dec 25 23:11:13 CET 2020
Revision: 57228
http://tug.org/svn/texlive?view=revision&revision=57228
Author: karl
Date: 2020-12-25 23:11:12 +0100 (Fri, 25 Dec 2020)
Log Message:
-----------
use new hook system for \Configure{AtBeginDocument}, tex4ht r856
Revision Links:
--------------
http://tug.org/svn/texlive?view=revision&revision=856
Modified Paths:
--------------
trunk/Master/texmf-dist/tex/generic/tex4ht/mathtools.4ht
trunk/Master/texmf-dist/tex/generic/tex4ht/tex4ht.sty
Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/mathtools.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/mathtools.4ht 2020-12-25 22:04:27 UTC (rev 57227)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/mathtools.4ht 2020-12-25 22:11:12 UTC (rev 57228)
@@ -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
Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/tex4ht.sty
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/tex4ht.sty 2020-12-25 22:04:27 UTC (rev 57227)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/tex4ht.sty 2020-12-25 22:11:12 UTC (rev 57228)
@@ -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%
More information about the tex-live-commits
mailing list.