summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/tex4ht/latex.4ht
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-07-28 22:09:24 +0000
committerKarl Berry <karl@freefriends.org>2020-07-28 22:09:24 +0000
commit0d60a9d7ed141b924fed58cb2145b6adfac2f328 (patch)
tree392c68a81a3e6a54aba424f45a90620531458904 /Master/texmf-dist/tex/generic/tex4ht/latex.4ht
parent707fa34496bc82b22ac451b502c50e07b6c2c96e (diff)
new LaTeX hook system, tex4ht r782
git-svn-id: svn://tug.org/texlive/trunk@55979 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht/latex.4ht')
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/latex.4ht11
1 files changed, 8 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/latex.4ht b/Master/texmf-dist/tex/generic/tex4ht/latex.4ht
index 5d55d2e628e..6483f843cc3 100644
--- a/Master/texmf-dist/tex/generic/tex4ht/latex.4ht
+++ b/Master/texmf-dist/tex/generic/tex4ht/latex.4ht
@@ -1,4 +1,4 @@
-% latex.4ht (2020-06-02-14:05), generated from tex4ht-4ht.tex
+% latex.4ht (2020-07-28-14:30), generated from tex4ht-4ht.tex
% Copyright 1997-2009 Eitan M. Gurari
% Copyright 2009-2020 TeX Users Group
%
@@ -17,7 +17,7 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2020-06-02-14:05}
+\immediate\write-1{version 2020-07-28-14:30}
\ifx\SaveMkHalignConf:g\:UnDef \else \expandafter\endinput\fi
@@ -35,10 +35,15 @@
\let\end\o:end
\let\o:end\:UnDef
\let\o:enddocumenthook\@enddocumenthook
-\def\@enddocumenthook{\HtmlEnv
+\def\:enddocumenthook{\HtmlEnv
\Configure{newpage}{}%
\o:enddocumenthook
\at:docend \csname export:hook\endcsname }
+\ifdefined\AddToHook%
+ \AddToHook{enddocument} {\HtmlEnv\Configure{newpage}{}\at:docend \csname export:hook\endcsname}
+\else%
+ \let\@enddocumenthook\:enddocumenthook
+\fi
\expandafter\ifx \csname pageno\endcsname\relax
\let\pageno\c@page \fi