texlive[53189] Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht:

commits+karl at tug.org commits+karl at tug.org
Thu Dec 19 23:44:14 CET 2019


Revision: 53189
          http://tug.org/svn/texlive?view=revision&revision=53189
Author:   karl
Date:     2019-12-19 23:44:14 +0100 (Thu, 19 Dec 2019)
Log Message:
-----------
prevent caption from patching other packages, tex4ht r642

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

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

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht	2019-12-19 22:12:28 UTC (rev 53188)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht	2019-12-19 22:44:14 UTC (rev 53189)
@@ -1,4 +1,4 @@
-% usepackage.4ht (2019-12-13-14:32), generated from tex4ht-4ht.tex
+% usepackage.4ht (2019-12-19-14:27), generated from tex4ht-4ht.tex
 % Copyright 2003-2009 Eitan M. Gurari
 % Copyright 2009-2019 TeX Users Group
 %
@@ -17,7 +17,7 @@
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2019-12-13-14:32}
+\immediate\write-1{version 2019-12-19-14:27}
 
    \def\:temp{tex4ht}\ifx \:temp\@currname
    \:warning{\string\usepackage{tex4ht} again?}
@@ -33,7 +33,7 @@
 \fi
 
 \fi
-\gdef\a:usepackage{\use:package xr,xr-hyper,eso-pic,expl3,savetrees,biblatex,xeCJK,polyglossia,fontspec,tikz,pdfbase,graphics,xcolor,imakeidx,minted,fancyhdr,,!*?: }
+\gdef\a:usepackage{\use:package xr,xr-hyper,eso-pic,expl3,savetrees,biblatex,xeCJK,polyglossia,fontspec,tikz,pdfbase,caption,graphics,xcolor,imakeidx,minted,fancyhdr,,!*?: }
 \gdef\use:package#1,{%
    \if :#1:\def\:temp##1!*?: {}\else
       \def\:temp{#1}\ifx \@currname\:temp
@@ -160,6 +160,11 @@
   \def\@outputpage{\old:outputpage{}}
 }
 \fi
+\def\:temp{caption}\ifx\@currname\:temp
+\AtEndOfPackage{%
+  \long\def\caption at If@Package at Loaded#1[#2]#3#4{}
+}
+\fi
 \def\:temp{graphics}\ifx\@currname\:temp
   \ifdefined\XeTeXversion
     \PassOptionsToPackage{dvips}{graphics}



More information about the tex-live-commits mailing list