From 3a08fb66ec03c7075a3dd5304a833a168825b9bc Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 5 May 2022 21:13:57 +0000 Subject: underbrace rendering, tex4ht r1129; tcolorbox \nameref fix, tex4ht r1130 git-svn-id: svn://tug.org/texlive/trunk@63234 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/source/generic/tex4ht/ChangeLog | 8 ++++++++ Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex | 16 +++++++++++++++- .../texmf-dist/source/generic/tex4ht/tex4ht-mathml.tex | 4 ++-- Master/texmf-dist/tex/generic/tex4ht/mathml.4ht | 8 ++++---- Master/texmf-dist/tex/generic/tex4ht/tcolorbox.4ht | 13 +++++++++++-- 5 files changed, 40 insertions(+), 9 deletions(-) (limited to 'Master') diff --git a/Master/texmf-dist/source/generic/tex4ht/ChangeLog b/Master/texmf-dist/source/generic/tex4ht/ChangeLog index 1edae18bda1..56a092cfc18 100644 --- a/Master/texmf-dist/source/generic/tex4ht/ChangeLog +++ b/Master/texmf-dist/source/generic/tex4ht/ChangeLog @@ -1,3 +1,11 @@ +2022-05-05 Michal Hoftich + + * tex4ht-4ht.tex (tcolorbox.4ht): fixed support for Nameref. + https://github.com/michal-h21/make4ht/issues/75 + + * tex4ht-mathml.tex (mathml.4ht): fixed underbrace rendering. + https://github.com/michal-h21/make4ht/issues/76 + 2022-05-04 Michal Hoftich * tex4ht-4ht.tex (tcolorbox.4ht): fixed \label support for diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex index 6c2a34c0ba2..8bf9120ff0e 100644 --- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex +++ b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex @@ -1,4 +1,4 @@ -% $Id: tex4ht-4ht.tex 1128 2022-05-04 12:16:51Z michal_h21 $ +% $Id: tex4ht-4ht.tex 1130 2022-05-05 13:25:11Z michal_h21 $ % tex tex4ht-4ht or ht tex tex4ht-4ht % % Copyright 2009-2022 TeX Users Group @@ -27353,6 +27353,7 @@ We need to use dvips driver with XeLaTeX \HLet\tcb@set@label\:tempa | +| \Hinput{tcolorbox} \endinput @@ -27372,6 +27373,19 @@ where spurious end \`'

' tags were inserted >>> +This code fixes nameref support in Tcolorbox. + +\<<< +\AfterEndPreamble{% + % fix \nameref support + \def\:tempa#1{% + \gdef\NR:Title{\a:newlabel{#1}}% + \o:tcb@gettitle:{#1}% + }% + \HLet\tcb@gettitle\:tempa +} +>>> + %%%%%%%%%%%%%%%%%%%%%%% \Section{dvipsnam} %%%%%%%%%%%%%%%%%%%%%%% diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathml.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathml.tex index 1c74e91a056..14c4006b1ec 100644 --- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathml.tex +++ b/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathml.tex @@ -1,4 +1,4 @@ -% $Id: tex4ht-mathml.tex 1125 2022-05-01 15:26:13Z karl $$ +% $Id: tex4ht-mathml.tex 1129 2022-05-05 10:45:51Z michal_h21 $$ % compile 3 times: latex tex4ht-mathltx % or xhlatex tex4ht-mathltx "html,3,sections+" % @@ -3120,7 +3120,7 @@ Accent versus underscript: \verb=\underbrace{x+y+z}= {<\a:mathml munder \a:mathml accentunder="false"><\a:mathml mrow>} {<\a:mathml mo>\string - &\#xFE38;} + &\#x23DF;} {\Configure{mathop}{}{}{}{}}% } {\let\o:underbrace:=\displaystyle} diff --git a/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht b/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht index b05a6fafce4..531179b0742 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht @@ -1,4 +1,4 @@ -% mathml.4ht (2022-05-01-08:24), generated from tex4ht-mathml.tex +% mathml.4ht (2022-05-05-13:42), generated from tex4ht-mathml.tex % Copyright 2009-2022 TeX Users Group % Copyright 1999-2009 Eitan M. Gurari % @@ -17,7 +17,7 @@ % % If you modify this program, changing the % version identification would be appreciated. -\immediate\write-1{version 2022-05-01-08:24} +\immediate\write-1{version 2022-05-05-13:42} \exit:ifnot{Preamble,% accents,% @@ -1604,7 +1604,7 @@ accent="true">&\#x0332;}% {<\a:mathml munder \a:mathml accentunder="false"><\a:mathml mrow>} {<\a:mathml mo>\string - &\#xFE38;} + &\#x23DF;} {\Configure{mathop}{}{}{}{}}% } {\let\o:underbrace:=\displaystyle} @@ -2598,7 +2598,7 @@ accent="true">&\#x0332;}% {<\a:mathml munder \a:mathml accentunder="false"><\a:mathml mrow>} {<\a:mathml mo>\string - &\#xFE38;} + &\#x23DF;} {\Configure{mathop}{}{}{}{}}% } {\let\o:underbrace:=\displaystyle} diff --git a/Master/texmf-dist/tex/generic/tex4ht/tcolorbox.4ht b/Master/texmf-dist/tex/generic/tex4ht/tcolorbox.4ht index e3e8bb66275..148c4305cdd 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-05-04-14:00), generated from tex4ht-4ht.tex +% tcolorbox.4ht (2022-05-05-13:42), 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-05-04-14:00} +\immediate\write-1{version 2022-05-05-13:42} % use custom counter that increments for every \tcolorbox @@ -92,6 +92,15 @@ \pend:def\tcb@minipage@center{\SaveEndP} +\AfterEndPreamble{% + % fix \nameref support + \def\:tempa#1{% + \gdef\NR:Title{\a:newlabel{#1}}% + \o:tcb@gettitle:{#1}% + }% + \HLet\tcb@gettitle\:tempa +} + \Hinput{tcolorbox} \endinput -- cgit v1.2.3