summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-12-25 22:11:12 +0000
committerKarl Berry <karl@freefriends.org>2020-12-25 22:11:12 +0000
commit32aabfddae98aea8351afacd6b791e76a98526a5 (patch)
treec23f7cb2a440e5f19ca524f18b6d92a3e437af56 /Master/texmf-dist/tex/generic
parent1b383c58af7838583d867b88bdb80c494c9fb7af (diff)
use new hook system for \Configure{AtBeginDocument}, tex4ht r856
git-svn-id: svn://tug.org/texlive/trunk@57228 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic')
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/mathtools.4ht3
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/tex4ht.sty7
2 files changed, 6 insertions, 4 deletions
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%