summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/tex4ht/tex4ht.sty
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/tex4ht.sty
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/tex4ht.sty')
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/tex4ht.sty15
1 files changed, 10 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/tex4ht.sty b/Master/texmf-dist/tex/generic/tex4ht/tex4ht.sty
index ccd784dd0d4..f86d80b4902 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-07-27-14:07), generated from tex4ht-sty.tex
+% tex4ht.sty (2020-07-28-14:30), 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-07-27-14:07}
+\immediate\write-1{version 2020-07-28-14:30}
\ifx \Preamble\UnDef \else
@@ -171,13 +171,18 @@
\global\let\ht:empty\empty \gdef\empty{}%
\fi\fi
%
- \expandafter\let\csname enddocument\endcsname\empty
- \end{document}%
+ %\expandafter\let\csname enddocument\endcsname\empty
+ %\end{document}%
\let\:begindocumenthook\@begindocumenthook
\def\@begindocumenthook{\csname a:AtBeginDocument\endcsname
\:begindocumenthook \csname b:AtBeginDocument\endcsname }%
%
- \let\document\o:document
+ %\let\document\o:document
+ \ifdefined\AddToHook%
+ \def\document{\endgroup\o:document}%
+ \else%
+ \let\document\o:document%
+ \fi%
\let\:latex@error\@latex@error
\def\@latex@error##1{\:latex@error{##1 in `\config:file'}}%
\csname recall:sub\endcsname