diff options
author | Karl Berry <karl@freefriends.org> | 2021-11-23 23:00:11 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-11-23 23:00:11 +0000 |
commit | e586226bb3398254247e7894dbcad004a1ea1e58 (patch) | |
tree | 206b8b13acc0075875a9bce21301655bda90dab9 /Master/texmf-dist/tex/generic/tex4ht | |
parent | 192f4c66a71d440fb0b417aeddadc3d90b6fae38 (diff) |
protect \( \), tex4ht r1014; tcolorbox \label dest, tex4ht r1013
git-svn-id: svn://tug.org/texlive/trunk@61135 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht')
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/latex.4ht | 32 | ||||
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/tcolorbox.4ht | 7 |
2 files changed, 24 insertions, 15 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/latex.4ht b/Master/texmf-dist/tex/generic/tex4ht/latex.4ht index e80baf2be86..fce7166a9ac 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/latex.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/latex.4ht @@ -1,4 +1,4 @@ -% latex.4ht (2021-06-25-13:51), generated from tex4ht-4ht.tex +% latex.4ht (2021-11-23-14:54), generated from tex4ht-4ht.tex % Copyright 1997-2009 Eitan M. Gurari % Copyright 2009-2021 TeX Users Group % @@ -17,7 +17,7 @@ % % If you modify this program, changing the % version identification would be appreciated. -\immediate\write-1{version 2021-06-25-13:51} +\immediate\write-1{version 2021-11-23-14:54} \ifx\SaveMkHalignConf:g\:UnDef \else \expandafter\endinput\fi @@ -1762,8 +1762,8 @@ $\vcenter - \def\({\leavevmode\st:math} - \def\){\ed:math} + \protected\def\({\leavevmode\st:math} + \protected\def\){\ed:math} \NewConfigure{()}[2]{\def\st:math{#1}\def\ed:math{#2}} \def\[{\st:Math} \def\]{\ed:Math} @@ -1773,17 +1773,25 @@ $\vcenter \ifx \a:mth\:UnDef \expandafter\pend:defIII\csname c:$:\endcsname{% - \ifx \a:mth\:UnDef \pend:def\({\bgroup\let\a:mth\empty - \let\b:mth\empty \let\c:mth\empty }% -\append:def\){\egroup}% + \ifx \a:mth\:UnDef \let\orig:smath\( +\let\orig:emath\) +\protected\def\:tempa{\bgroup\let\a:mth\empty + \let\b:mth\empty \let\c:mth\empty\orig:smath} +\let\(\:tempa +\protected\def\:tempa{\orig:emath\egroup} +\let\)\:tempa \fi \def\:@tabular:{\expandafter\everymath \expandafter{\expandafter \everymath \expandafter{\the\everymath}}}% } \else - \pend:def\({\bgroup\let\a:mth\empty - \let\b:mth\empty \let\c:mth\empty }% -\append:def\){\egroup}% + \let\orig:smath\( +\let\orig:emath\) +\protected\def\:tempa{\bgroup\let\a:mth\empty + \let\b:mth\empty \let\c:mth\empty\orig:smath} +\let\(\:tempa +\protected\def\:tempa{\orig:emath\egroup} +\let\)\:tempa \def\:@tabular:{\expandafter\everymath \expandafter{\expandafter \everymath \expandafter{\the\everymath}}}% @@ -2290,7 +2298,7 @@ $\vcenter \expandafter\:temp\usepackage!*?: \def\:tempa{\@latex@e@error} \ifx \:temp\:tempa - % latex209.4ht (2021-06-25-13:51), generated from tex4ht-4ht.tex + % latex209.4ht (2021-11-23-14:54), generated from tex4ht-4ht.tex % Copyright 1997-2009 Eitan M. Gurari % Copyright 2009-2021 TeX Users Group % @@ -2309,7 +2317,7 @@ $\vcenter % % If you modify this program, changing the % version identification would be appreciated. -\immediate\write-1{version 2021-06-25-13:51} +\immediate\write-1{version 2021-11-23-14:54} \let\:fnsymbol\@fnsymbol \def\@fnsymbol#1{{\hbox{$\:fnsymbol{#1}$}}} diff --git a/Master/texmf-dist/tex/generic/tex4ht/tcolorbox.4ht b/Master/texmf-dist/tex/generic/tex4ht/tcolorbox.4ht index f539f983db1..87c43ea789a 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 (2020-12-03-13:56), generated from tex4ht-4ht.tex -% Copyright 2020 TeX Users Group +% tcolorbox.4ht (2021-11-23-14:59), generated from tex4ht-4ht.tex +% Copyright 2020-2021 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 2020-12-03-13:56} +\immediate\write-1{version 2021-11-23-14:59} % use custom counter that increments for every \tcolorbox @@ -36,6 +36,7 @@ \a:tcolorbox% % save label, if it is set \ifdefined\tcolorbox:label:key% + \AnchorLabel% save cross-ref destination \label{\tcolorbox:label:key}% \fi% % open title |