diff options
author | Karl Berry <karl@freefriends.org> | 2023-02-12 22:25:13 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-02-12 22:25:13 +0000 |
commit | 4dea12a2bd6d7b14874b9f8f24c4cc2c93e29a0b (patch) | |
tree | 07d626580c4c19841c3a672907593a1201993667 /Master/texmf-dist/tex/generic/tex4ht | |
parent | 0ce0104a55f50d8e88ca5b8a83b8ece57fdf0368 (diff) |
tcolorbox, tex4ht r1295
git-svn-id: svn://tug.org/texlive/trunk@65804 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht')
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/tcolorbox.4ht | 11 |
1 files changed, 8 insertions, 3 deletions
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 |