summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/ChangeLog8
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex16
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/tex4ht-mathml.tex4
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/mathml.4ht8
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/tcolorbox.4ht13
5 files changed, 40 insertions, 9 deletions
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 <michal.h21@gmail.com>
+
+ * 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 <michal.h21@gmail.com>
* 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
|<tcolorbox minipage|>
+|<tcolorbox nameref|>
\Hinput{tcolorbox}
\endinput
@@ -27372,6 +27373,19 @@ where spurious end \`'</p>' tags were inserted
>>>
+This code fixes nameref support in Tcolorbox.
+
+\<tcolorbox nameref\><<<
+\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 mrow><\a:mathml mo>\string
- &\#xFE38;</\a:mathml mo></\a:mathml munder>}
+ &\#x23DF;</\a:mathml mo></\a:mathml munder>}
{\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 mo></\a:mathml munder>}%
{<\a:mathml munder
\a:mathml accentunder="false"><\a:mathml mrow>}
{</\a:mathml mrow><\a:mathml mo>\string
- &\#xFE38;</\a:mathml mo></\a:mathml munder>}
+ &\#x23DF;</\a:mathml mo></\a:mathml munder>}
{\Configure{mathop}{}{}{}{}}%
}
{\let\o:underbrace:=\displaystyle}
@@ -2598,7 +2598,7 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}%
{<\a:mathml munder
\a:mathml accentunder="false"><\a:mathml mrow>}
{</\a:mathml mrow><\a:mathml mo>\string
- &\#xFE38;</\a:mathml mo></\a:mathml munder>}
+ &\#x23DF;</\a:mathml mo></\a:mathml munder>}
{\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