diff options
-rw-r--r-- | Master/texmf-dist/source/generic/tex4ht/ChangeLog | 6 | ||||
-rw-r--r-- | Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex | 10 | ||||
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/tcolorbox.4ht | 12 |
3 files changed, 25 insertions, 3 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/ChangeLog b/Master/texmf-dist/source/generic/tex4ht/ChangeLog index 812d90ab83b..d5bc0f71ea7 100644 --- a/Master/texmf-dist/source/generic/tex4ht/ChangeLog +++ b/Master/texmf-dist/source/generic/tex4ht/ChangeLog @@ -1,3 +1,9 @@ +2022-01-28 Michal Hoftich <michal.h21@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@freefriends.org> * tex4ht-4ht.tex, diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex index ac4bd1a8851..8f26f8c4112 100644 --- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex +++ b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex @@ -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,6 +27014,14 @@ We need to use dvips driver with XeLaTeX \def\:tempb{\d:tcolorbox\o:tcb@endboxanddraw:} \HLet\tcb@endboxanddraw\:tempb +% this code prevents emptying of the box title when +% some Tcolorbox options are used +\def\:tempb{} +\HLet\tcb@detach@title@code\:tempb + +% require end of paragraph before Tcolorbox +\long\def\:tempb[#1]{\EndP\o:tcb@@icolorbox:[#1]} +\HLet\tcb@@icolorbox\:tempb \NewConfigure{tcolorbox}{4} diff --git a/Master/texmf-dist/tex/generic/tex4ht/tcolorbox.4ht b/Master/texmf-dist/tex/generic/tex4ht/tcolorbox.4ht index 76c7b96ccfe..363de9a2780 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/tcolorbox.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/tcolorbox.4ht @@ -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,6 +65,14 @@ \def\:tempb{\d:tcolorbox\o:tcb@endboxanddraw:} \HLet\tcb@endboxanddraw\:tempb +% this code prevents emptying of the box title when +% some Tcolorbox options are used +\def\:tempb{} +\HLet\tcb@detach@title@code\:tempb + +% require end of paragraph before Tcolorbox +\long\def\:tempb[#1]{\EndP\o:tcb@@icolorbox:[#1]} +\HLet\tcb@@icolorbox\:tempb \NewConfigure{tcolorbox}{4} |