summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-02-19 23:10:12 +0000
committerKarl Berry <karl@freefriends.org>2020-02-19 23:10:12 +0000
commit6c1829b41d52d23e0486808a674e9c2582310f83 (patch)
treea4bd9f2edcdbfd5fa2841ca0e858a4a1ef4c56d4 /Master/texmf-dist/tex
parent99c28e24b25819a97e508923d5da1edb6fa4cdd0 (diff)
tex4ht.sty
git-svn-id: svn://tug.org/texlive/trunk@53849 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/tex4ht.sty14
1 files changed, 9 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/tex4ht.sty b/Master/texmf-dist/tex/generic/tex4ht/tex4ht.sty
index c5cb07c91ec..8d7a071d8b6 100644
--- a/Master/texmf-dist/tex/generic/tex4ht/tex4ht.sty
+++ b/Master/texmf-dist/tex/generic/tex4ht/tex4ht.sty
@@ -1,8 +1,8 @@
\ifnum\the\catcode`\%=14\else\expandafter\edef\csname
\string:RestoreCatcodes\endcsname{\catcode`\%\the
\catcode`\%}\catcode`\%14\fi
-% tex4ht.sty (2019-03-18-15:24), generated from tex4ht-sty.tex
-% Copyright 2009-2019 TeX Users Group
+% tex4ht.sty (2020-02-18-14:17), generated from tex4ht-sty.tex
+% Copyright 2009-2020 TeX Users Group
% Copyright 1996-2009 Eitan M. Gurari
%
% This work may be distributed and/or modified under the
@@ -20,7 +20,7 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2019-03-18-15:24}
+\immediate\write-1{version 2020-02-18-14:17}
\ifx \Preamble\UnDef \else
@@ -646,8 +646,12 @@
\input tuenc-xetex-input.4ht
\fi\fi
+\def\:AtEndOfPackage{\expandafter\g@addto@macro\csname pkg:end:hook:\@currname.sty\endcsname}
+\def\init:package:hooks#1{\expandafter\def\csname pkg:end:hook:#1\endcsname{}}
+\def\package:hooks#1{\csname pkg:end:hook:#1\endcsname}
\let\:onefilewithoptions\@onefilewithoptions
-\def\@onefilewithoptions#1[#2]{%
+\def\@onefilewithoptions#1[#2][#3]#4{%
+\init:package:hooks{#1.#4}%
\let\:temp\@reset@ptions
\def\@reset@ptions{%
\let\@reset@ptions\:temp
@@ -659,7 +663,7 @@
\TivhTcats
}%
\def\:currentoptions{#2}
- \:onefilewithoptions#1[#2]}
+\:onefilewithoptions#1[#2][#3]{#4}\package:hooks{#1.#4}}
\def\a:usepackage{\input usepackage.4ht }