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

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Tue Nov 22 16:57:51 CET 2022


Author: michal_h21
Date: 2022-11-22 15:57:51 +0000 (Tue, 22 Nov 2022)
New Revision: 1247

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
Log:
fixed support for the \ContinuedFloat command

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2022-11-21 21:00:44 UTC (rev 1246)
+++ trunk/lit/ChangeLog	2022-11-22 15:57:51 UTC (rev 1247)
@@ -1,3 +1,8 @@
+2022-11-22  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (caption.4ht): fixed support for the
+	\ContinuedFloat command.
+
 2022-11-21  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-4ht.tex (biblatex.4ht): removed spurious space from in text

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2022-11-21 21:00:44 UTC (rev 1246)
+++ trunk/lit/tex4ht-4ht.tex	2022-11-22 15:57:51 UTC (rev 1247)
@@ -12343,11 +12343,13 @@
 
 \<caption redefine makecaption\><<<
 \long\def\@makecaption#1#2{%   
+  |<fix continued float|>%
   \caption at make@above%
   \cptA:\caption@@make{\cap:ref{#1}}{\cptC:#2}\cptD:%
   \caption at make@below%
 }
 \long\def\caption at makecaption#1#2{%   
+  |<fix continued float|>%
   \caption at make@above%
   \cptA:\caption@@make{\cap:ref{#1}}{\cptC:#2}\cptD:%
   \caption at make@below%
@@ -12354,6 +12356,13 @@
 }
 >>>
 
+This definition should fix support for the \''ContinedFloat' command. 
+Without it, we can get an error message that the current float type
+is different than the one to be continued.
+
+\<fix continued float\><<<
+\xdef\continuedfloat at captype{\@captype}>>>
+
 Caption's version of addcontentsline doesn't prevent expansion of macros, which 
 may lead to errors when for example \''\%' is used. The use of detokenize should
 prevent this issue.



More information about the tex4ht-commits mailing list.