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

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Sun Feb 12 22:54:47 CET 2023


Author: michal_h21
Date: 2023-02-12 21:54:47 +0000 (Sun, 12 Feb 2023)
New Revision: 1295

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
Log:
fixed unclosed paragraph with the new tcolorbox version

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2023-02-09 16:22:38 UTC (rev 1294)
+++ trunk/lit/ChangeLog	2023-02-12 21:54:47 UTC (rev 1295)
@@ -1,3 +1,8 @@
+2023-02-12  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (tcolorbox.4ht): fixed unclosed paragraph with the
+	new version of Tcolorbox.
+
 2023-02-09  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-fonts-stix2.tex: added support for Stix2 fonts.

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2023-02-09 16:22:38 UTC (rev 1294)
+++ trunk/lit/tex4ht-4ht.tex	2023-02-12 21:54:47 UTC (rev 1295)
@@ -28131,6 +28131,8 @@
   % close title and open main box
   \c:tcolorbox%
   \box\tcb at upperbox%
+  % the paragraph opened in the upper box can be unclosed
+  \RecallEndP
   % deal with lower box, if it is set
   \iftcb at hasLower%
     \a:tcolorlowerbox%
@@ -28144,6 +28146,9 @@
 % overwrite other versions of box drawing macros
 \HLet\tcb at drawcolorbox@standalone\:tempa
 
+% save the state of paragraph before opening the content box
+\pend:def\tcb at set@@upper at and@lower{\SaveEndP}
+
 % we need to close tcolorbox environment here,
 % in the box. otherwise, last paragraph end 
 % would be ignored and we would get invalid XML



More information about the tex4ht-commits mailing list.