diff options
author | Norbert Preining <norbert@preining.info> | 2022-01-30 03:00:53 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-01-30 03:00:53 +0000 |
commit | 7ee4987532f1c1d25e5a2683ae21b7c298d103b5 (patch) | |
tree | 1276be1a24746987c860b5730e708194234c4a10 /support/TeX4ht/source | |
parent | 2df1fd0d0099108f6d3d3e58dce35a3d2e185d4f (diff) |
CTAN sync 202201300300
Diffstat (limited to 'support/TeX4ht/source')
-rw-r--r-- | support/TeX4ht/source/ChangeLog | 6 | ||||
-rw-r--r-- | support/TeX4ht/source/tex4ht-4ht.tex | 10 |
2 files changed, 15 insertions, 1 deletions
diff --git a/support/TeX4ht/source/ChangeLog b/support/TeX4ht/source/ChangeLog index 812d90ab83..d5bc0f71ea 100644 --- a/support/TeX4ht/source/ChangeLog +++ b/support/TeX4ht/source/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/support/TeX4ht/source/tex4ht-4ht.tex b/support/TeX4ht/source/tex4ht-4ht.tex index ac4bd1a885..8f26f8c411 100644 --- a/support/TeX4ht/source/tex4ht-4ht.tex +++ b/support/TeX4ht/source/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} |