[tex4ht-commits] [SCM] tex4ht updated: r1595 - trunk/lit
Michal Hoftich
INVALID.NOREPLY at gnu.org.ua
Sun Nov 10 20:20:38 CET 2024
Author: michal_h21
Date: 2024-11-10 19:20:38 +0000 (Sun, 10 Nov 2024)
New Revision: 1595
Modified:
trunk/lit/ChangeLog
trunk/lit/tex4ht-4ht.tex
Log:
declare caption hooks only if they are undefined
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2024-11-05 10:24:06 UTC (rev 1594)
+++ trunk/lit/ChangeLog 2024-11-10 19:20:38 UTC (rev 1595)
@@ -1,3 +1,9 @@
+2024-11-10 Michal Hoftich <michal.h21 at gmail.com>
+
+ * tex4ht-4ht.tex (caption.4ht): declare caption hooks only if they
+ are undefined.
+ https://tex.stackexchange.com/a/730529/2891
+
2024-11-05 Michal Hoftich <michal.h21 at gmail.com>
* tex4ht-4ht.tex (
Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex 2024-11-05 10:24:06 UTC (rev 1594)
+++ trunk/lit/tex4ht-4ht.tex 2024-11-10 19:20:38 UTC (rev 1595)
@@ -13040,8 +13040,10 @@
commands would cause compilation errors.
\<caption redefine makecaption\><<<
+\ifdefined\cptA:\else
\c:def\cptA:{}\c:def\cptB:{}%
\c:def\cptC:{}\c:def\cptD:{}
+\fi
>>>
Handle redefined caption command. We ignore the second parameter of
More information about the tex4ht-commits
mailing list.