From 9b746b3daca06b9df45eb524fb89356b7c8ece1e Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 28 Jan 2022 23:01:47 +0000 Subject: tcolorbox boxes with titles, tex4ht r1063 git-svn-id: svn://tug.org/texlive/trunk@61781 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/generic/tex4ht/tcolorbox.4ht | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'Master/texmf-dist/tex') 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} -- cgit v1.2.3