summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/tex4ht/tex4ht.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-10-08 21:48:27 +0000
committerKarl Berry <karl@freefriends.org>2020-10-08 21:48:27 +0000
commitf4e5abab37713aa90bc4ffa3711a0ea89ad15800 (patch)
tree33923f5dc2854d6b3f0bdd18fda43da8ddbfeb0a /Master/texmf-dist/tex/generic/tex4ht/tex4ht.sty
parent8e26dfd93dd47510bf4d1ea17a8889ab34970ed7 (diff)
new latex hook mechanism, minted, catchfile, tex4ht r808-810
git-svn-id: svn://tug.org/texlive/trunk@56601 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.sty10
1 files changed, 7 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/tex4ht.sty b/Master/texmf-dist/tex/generic/tex4ht/tex4ht.sty
index f86d80b4902..af981b9b880 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-28-14:30), generated from tex4ht-sty.tex
+% tex4ht.sty (2020-10-08-14:12), 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-28-14:30}
+\immediate\write-1{version 2020-10-08-14:12}
\ifx \Preamble\UnDef \else
@@ -680,12 +680,16 @@
\catcode`:=\the\catcode`:%
\catcode`@=\the\catcode`@}%
\catcode`\:=11 \catcode`\@=11
-\a:usepackage
+\a:usepackage%
+ \a:usepackage:lthooks{#1}{#4}
\TivhTcats
}%
\def\:currentoptions{#2}
\:onefilewithoptions#1[#2][#3]{#4}\package:hooks{#1.#4}}
\def\a:usepackage{\input usepackage.4ht }
+\def\a:usepackage:lthooks#1#2{%
+ \IfFileExists{#1-#2-hooks.4ht}{\input #1-#2-hooks.4ht}{}%
+}
\expandafter\ifx \csname tex4ht\endcsname\relax