texlive[61781] Master/texmf-dist: tcolorbox boxes with titles, tex4ht

commits+karl at tug.org commits+karl at tug.org
Sat Jan 29 00:01:47 CET 2022


Revision: 61781
          http://tug.org/svn/texlive?view=revision&revision=61781
Author:   karl
Date:     2022-01-29 00:01:47 +0100 (Sat, 29 Jan 2022)
Log Message:
-----------
tcolorbox boxes with titles, tex4ht r1063

Revision Links:
--------------
    http://tug.org/svn/texlive?view=revision&revision=1063

Modified Paths:
--------------
    trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
    trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
    trunk/Master/texmf-dist/tex/generic/tex4ht/tcolorbox.4ht

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2022-01-28 22:36:18 UTC (rev 61780)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2022-01-28 23:01:47 UTC (rev 61781)
@@ -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/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex	2022-01-28 22:36:18 UTC (rev 61780)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex	2022-01-28 23:01:47 UTC (rev 61781)
@@ -1,4 +1,4 @@
-% $Id: tex4ht-4ht.tex 1062 2022-01-23 15:51:43Z karl $
+% $Id: tex4ht-4ht.tex 1063 2022-01-28 13:22:45Z michal_h21 $
 % tex tex4ht-4ht   or   ht tex tex4ht-4ht
 %
 % Copyright 2009-2022 TeX Users Group    
@@ -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}
 

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/tcolorbox.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/tcolorbox.4ht	2022-01-28 22:36:18 UTC (rev 61780)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/tcolorbox.4ht	2022-01-28 23:01:47 UTC (rev 61781)
@@ -1,4 +1,4 @@
-% tcolorbox.4ht (2022-01-09-07:36), generated from tex4ht-4ht.tex
+% tcolorbox.4ht (2022-01-28-15:00), generated from tex4ht-4ht.tex
 % Copyright 2020-2022 TeX Users Group
 %
 % This work may be distributed and/or modified under the
@@ -16,7 +16,7 @@
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2022-01-09-07:36}
+\immediate\write-1{version 2022-01-28-15:00}
 
 
 % use custom counter that increments for every \tcolorbox
@@ -65,8 +65,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 tex-live-commits mailing list.