texlive[56678] Master/texmf-dist/tex/generic/tex4ht: hook updates,

commits+karl at tug.org commits+karl at tug.org
Fri Oct 16 22:59:26 CEST 2020


Revision: 56678
          http://tug.org/svn/texlive?view=revision&revision=56678
Author:   karl
Date:     2020-10-16 22:59:26 +0200 (Fri, 16 Oct 2020)
Log Message:
-----------
hook updates, tex4ht r812-813

Revision Links:
--------------
    http://tug.org/svn/texlive?view=revision&revision=812

Modified Paths:
--------------
    trunk/Master/texmf-dist/tex/generic/tex4ht/tex4ht.sty
    trunk/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/tex4ht.sty
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/tex4ht.sty	2020-10-16 20:58:07 UTC (rev 56677)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/tex4ht.sty	2020-10-16 20:59:26 UTC (rev 56678)
@@ -1,7 +1,7 @@
 \ifnum\the\catcode`\%=14\else\expandafter\edef\csname
   \string:RestoreCatcodes\endcsname{\catcode`\%\the
   \catcode`\%}\catcode`\%14\fi
-% tex4ht.sty (2020-10-08-14:12), generated from tex4ht-sty.tex
+% tex4ht.sty (2020-10-16-13:47), 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-10-08-14:12}
+\immediate\write-1{version 2020-10-16-13:47}
 
 
 \ifx  \Preamble\UnDef  \else
@@ -687,8 +687,11 @@
       \def\:currentoptions{#2}
 \:onefilewithoptions#1[#2][#3]{#4}\package:hooks{#1.#4}}
 \def\a:usepackage{\input usepackage.4ht }
+\NewConfigure{PackageHooks}[2]{\expandafter\def\csname package:hooks:#1\endcsname{\input #2}}
 \def\a:usepackage:lthooks#1#2{%
-  \IfFileExists{#1-#2-hooks.4ht}{\input #1-#2-hooks.4ht}{}%
+  \expandafter\ifcsname package:hooks:#1.#2\endcsname
+  \csname package:hooks:#1.#2\endcsname
+  \fi
 }
 
 

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht	2020-10-16 20:58:07 UTC (rev 56677)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht	2020-10-16 20:59:26 UTC (rev 56678)
@@ -1,4 +1,4 @@
-% usepackage.4ht (2020-10-08-14:12), generated from tex4ht-4ht.tex
+% usepackage.4ht (2020-10-16-13:47), generated from tex4ht-4ht.tex
 % Copyright 2003-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-10-08-14:12}
+\immediate\write-1{version 2020-10-16-13:47}
 
    \def\:temp{tex4ht}\ifx \:temp\@currname
    \:warning{\string\usepackage{tex4ht} again?}
@@ -206,6 +206,7 @@
   }%
 }
 \fi
+\Configure{PackageHooks}{minted.sty}{minted-sty-hooks.4ht}
 \def\:temp{graphics}\ifx\@currname\:temp
   \ifdefined\XeTeXversion
     \PassOptionsToPackage{dvips}{graphics}



More information about the tex-live-commits mailing list.