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

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Tue Sep 9 15:11:14 CEST 2025


Author: michal_h21
Date: 2025-09-09 13:11:14 +0000 (Tue, 09 Sep 2025)
New Revision: 1739

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
Log:
call \RecallEndP before lower tcolorbox

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2025-09-09 13:04:43 UTC (rev 1738)
+++ trunk/lit/ChangeLog	2025-09-09 13:11:14 UTC (rev 1739)
@@ -1,5 +1,8 @@
 2025-09-09  Michal Hoftich  <michal.h21 at gmail.com>
 
+	* tex4ht-4ht.tex (tcolorbox.4ht): call \RecallEndP before the lower
+	box.
+
 	* tex4ht-html4.tex (html4.4ht): add padding only to direct
 	descendands of the top level tcolrobox element. 
 

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2025-09-09 13:04:43 UTC (rev 1738)
+++ trunk/lit/tex4ht-4ht.tex	2025-09-09 13:11:14 UTC (rev 1739)
@@ -29873,12 +29873,13 @@
   % close title and open main box
   \c:tcolorbox%
   \box\tcb at upperbox%
-  % the paragraph opened in the upper box can be unclosed
-  % but I cannot find an example where it matters. \RecallEndP caused issues in the following sample:
-  % https://github.com/michal-h21/make4ht/issues/142#issuecomment-1891507567
-  % \RecallEndP
   % deal with lower box, if it is set
   \iftcb at hasLower%
+    % the paragraph opened in the upper box can be unclosed, it needs to be closed before 
+    % we insert the lower box. It caused issues in the past:
+    % https://github.com/michal-h21/make4ht/issues/142#issuecomment-1891507567
+    % but when we moved the \RecallEndP here, it seems to work
+    \RecallEndP
     \a:tcolorlowerbox%
     \box\tcb at lowerbox%
     \b:tcolorlowerbox%



More information about the tex4ht-commits mailing list.