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

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Thu Nov 17 19:10:35 CET 2022


Author: michal_h21
Date: 2022-11-17 18:10:35 +0000 (Thu, 17 Nov 2022)
New Revision: 1240

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
Log:
fixed \index inside \caption with the Caption package

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2022-11-16 22:27:35 UTC (rev 1239)
+++ trunk/lit/ChangeLog	2022-11-17 18:10:35 UTC (rev 1240)
@@ -1,3 +1,8 @@
+2022-11-17  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (caption-hooks.4ht): don't use Caption's version of
+	\@caption, as it doesn't work with \index command included inside.
+
 2022-11-16  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-mathml.tex (mathml.4ht): use displaystyle=true attribute in

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2022-11-16 22:27:35 UTC (rev 1239)
+++ trunk/lit/tex4ht-4ht.tex	2022-11-17 18:10:35 UTC (rev 1240)
@@ -12294,7 +12294,7 @@
   \long\def\caption at If@Package at Loaded#1[#2]#3#4{}
   \renewcommand*\caption at redefine{%
     \let\caption\caption at caption%
-    \let\@caption\caption@@caption%
+    % \let\@caption\caption@@caption% 
   }%
 }
 >>> \AddFile{9}{caption-hooks}



More information about the tex4ht-commits mailing list.