diff options
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht/tex4ht.sty')
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/tex4ht.sty | 14 |
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 } |