[tex4ht-commits] [SCM] tex4ht updated: r642 - trunk/lit

michal_h21 at gnu.org.ua michal_h21 at gnu.org.ua
Thu Dec 19 12:39:59 CET 2019


Author: michal_h21
Date: 2019-12-19 13:39:59 +0200 (Thu, 19 Dec 2019)
New Revision: 642

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
Log:
Prevent Caption package from patching of other packages

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2019-12-17 22:37:49 UTC (rev 641)
+++ trunk/lit/ChangeLog	2019-12-19 11:39:59 UTC (rev 642)
@@ -1,3 +1,9 @@
+2019-12-19 Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (usepackage.4ht): prevent the Caption package from patching
+	other packages. This can clash with TeX4ht configurations.
+	https://tex.stackexchange.com/a/520996/2891
+
 2019-12-17 Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-html4.tex (html4.4ht): fixed CSS code for \cmidrule from Booktabs

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2019-12-17 22:37:49 UTC (rev 641)
+++ trunk/lit/tex4ht-4ht.tex	2019-12-19 11:39:59 UTC (rev 642)
@@ -11009,6 +11009,17 @@
 \endinput
 >>>        \AddFile{9}{caption}
 
+\<use package\><<<
+caption,>>>
+
+\<add to usepackage\><<<
+\def\:temp{caption}\ifx\@currname\:temp
+\AtEndOfPackage{%
+  \long\def\caption at If@Package at Loaded#1[#2]#3#4{}
+}
+\fi
+>>>
+
 \<caption shared config\><<<
 \let\sv:toclof\toclof
 \def\toclof#1#2#3{%



More information about the tex4ht-commits mailing list