diff options
author | Norbert Preining <norbert@preining.info> | 2022-12-14 03:01:10 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-12-14 03:01:10 +0000 |
commit | 4a68164a544897aa6fc54b5eb61b23135e44d4df (patch) | |
tree | 73f3a85754eb5c5bea7e0ea5986b135a8d5236bf /support/TeX4ht/source/tex4ht-mathml.tex | |
parent | 7b8bd496c62a5a8e18fb7a038217d4118c02b1e2 (diff) |
CTAN sync 202212140301
Diffstat (limited to 'support/TeX4ht/source/tex4ht-mathml.tex')
-rw-r--r-- | support/TeX4ht/source/tex4ht-mathml.tex | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/support/TeX4ht/source/tex4ht-mathml.tex b/support/TeX4ht/source/tex4ht-mathml.tex index ea2fafd283..08675b614f 100644 --- a/support/TeX4ht/source/tex4ht-mathml.tex +++ b/support/TeX4ht/source/tex4ht-mathml.tex @@ -1,4 +1,4 @@ -% $Id: tex4ht-mathml.tex 1238 2022-11-16 15:55:23Z michal_h21 $$ +% $Id: tex4ht-mathml.tex 1265 2022-12-12 10:25:54Z michal_h21 $$ % compile 3 times: latex tex4ht-mathltx % or xhlatex tex4ht-mathltx "html,3,sections+" % @@ -1696,7 +1696,14 @@ Use variant of original LaTeX macro used in \textunderscore {}% >>> +The bf command should work in math. The following definition is a bit fragile, it expects +that it is used inside a group for a small chunk of text. +\<mathml fonts\><<< +\def\:closebf{\HCode{</\a:mathml mi>}\EndPauseMathClass} +\def\:tempa{\ifmmode\expandafter\@firstoftwo\else\expandafter\@secondoftwo\fi{\PauseMathClass\HCode{<\a:mathml mi mathvariant="bold">}\aftergroup\:closebf}{\o:bf:}} +\HLet\bf\:tempa +>>> \<configure html-mml latex\><<< |