[tex4ht-commits] [SCM] tex4ht updated: r1063 - trunk/lit
Michal Hoftich
INVALID.NOREPLY at gnu.org.ua
Fri Jan 28 14:22:45 CET 2022
Author: michal_h21
Date: 2022-01-28 13:22:45 +0000 (Fri, 28 Jan 2022)
New Revision: 1063
Modified:
trunk/lit/ChangeLog
trunk/lit/tex4ht-4ht.tex
Log:
fixed support for tcolobox boxes with titles
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2022-01-23 15:51:43 UTC (rev 1062)
+++ trunk/lit/ChangeLog 2022-01-28 13:22:45 UTC (rev 1063)
@@ -1,3 +1,9 @@
+2022-01-28 Michal Hoftich <michal.h21 at gmail.com>
+
+ * tex4ht-tex4ht.tex (tcolorbox.4ht): fixed support for boxes with
+ titles.
+ https://github.com/michal-h21/make4ht/issues/62
+
2022-01-23 Karl Berry <karl at freefriends.org>
* tex4ht-4ht.tex,
Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex 2022-01-23 15:51:43 UTC (rev 1062)
+++ trunk/lit/tex4ht-4ht.tex 2022-01-28 13:22:45 UTC (rev 1063)
@@ -27014,8 +27014,16 @@
\def\:tempb{\d:tcolorbox\o:tcb at endboxanddraw:}
\HLet\tcb at endboxanddraw\:tempb
+% this code prevents emptying of the box title when
+% some Tcolorbox options are used
+\def\:tempb{}
+\HLet\tcb at detach@title at code\:tempb
+% require end of paragraph before Tcolorbox
+\long\def\:tempb[#1]{\EndP\o:tcb@@icolorbox:[#1]}
+\HLet\tcb@@icolorbox\:tempb
+
\NewConfigure{tcolorbox}{4}
\NewConfigure{tcolorlowerbox}{2}
More information about the tex4ht-commits
mailing list.