From 4dea12a2bd6d7b14874b9f8f24c4cc2c93e29a0b Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 12 Feb 2023 22:25:13 +0000 Subject: tcolorbox, tex4ht r1295 git-svn-id: svn://tug.org/texlive/trunk@65804 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/generic/tex4ht/tcolorbox.4ht | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'Master/texmf-dist/tex/generic/tex4ht') diff --git a/Master/texmf-dist/tex/generic/tex4ht/tcolorbox.4ht b/Master/texmf-dist/tex/generic/tex4ht/tcolorbox.4ht index 148c4305cdd..e8ebe22624b 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/tcolorbox.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/tcolorbox.4ht @@ -1,5 +1,5 @@ -% tcolorbox.4ht (2022-05-05-13:42), generated from tex4ht-4ht.tex -% Copyright 2020-2022 TeX Users Group +% tcolorbox.4ht (2023-02-12-14:24), generated from tex4ht-4ht.tex +% Copyright 2020-2023 TeX Users Group % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either @@ -16,7 +16,7 @@ % % If you modify this program, changing the % version identification would be appreciated. -\immediate\write-1{version 2022-05-05-13:42} +\immediate\write-1{version 2023-02-12-14:24} % use custom counter that increments for every \tcolorbox @@ -47,6 +47,8 @@ % close title and open main box \c:tcolorbox% \box\tcb@upperbox% + % the paragraph opened in the upper box can be unclosed + \RecallEndP % deal with lower box, if it is set \iftcb@hasLower% \a:tcolorlowerbox% @@ -60,6 +62,9 @@ % overwrite other versions of box drawing macros \HLet\tcb@drawcolorbox@standalone\:tempa +% save the state of paragraph before opening the content box +\pend:def\tcb@set@@upper@and@lower{\SaveEndP} + % we need to close tcolorbox environment here, % in the box. otherwise, last paragraph end % would be ignored and we would get invalid XML -- cgit v1.2.3