[tex4ht-commits] [SCM] tex4ht updated: r1584 - trunk/lit
Michal Hoftich
INVALID.NOREPLY at gnu.org.ua
Fri Oct 18 17:00:09 CEST 2024
Author: michal_h21
Date: 2024-10-18 15:00:09 +0000 (Fri, 18 Oct 2024)
New Revision: 1584
Modified:
trunk/lit/ChangeLog
trunk/lit/tex4ht-4ht.tex
Log:
declare macros used in \caption
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2024-10-18 14:27:19 UTC (rev 1583)
+++ trunk/lit/ChangeLog 2024-10-18 15:00:09 UTC (rev 1584)
@@ -1,5 +1,9 @@
2024-10-18 Michal Hoftich <michal.h21 at gmail.com>
+ * tex4ht-4ht.tex (caption.4ht): fixed support for the \caption
+ command in classes where we don't provide \Configure{caption}. Found
+ in Svjour3.
+
* tex4ht-4ht.tex (nicematrix.4ht): added basic support for the
Nicematrix package.
Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex 2024-10-18 14:27:19 UTC (rev 1583)
+++ trunk/lit/tex4ht-4ht.tex 2024-10-18 15:00:09 UTC (rev 1584)
@@ -13033,11 +13033,23 @@
}
>>>
+Define default values for commands used in caption configuration.
+This configuration is defined in configuration files for particular
+classes, so if the class is unsupported by TeX4ht (like Svjour3,
+for example), the configuration is not defined and these missing
+commands would cause compilation errors.
+
+\<caption redefine makecaption\><<<
+\c:def\cptA:{}\c:def\cptB:{}%
+\c:def\cptC:{}\c:def\cptD:{}
+>>>
+
Handle redefined caption command. We ignore the second parameter of
\''\Configure{caption}'. It contains the separator between caption number
and label. It is colon by default, but user can configure to use something
different. We should keep the separator selected by the user.
+
\<caption redefine makecaption\><<<
\long\def\@makecaption#1#2{%
|<fix continued float|>%
More information about the tex4ht-commits
mailing list.