Apologies Hans.
MWE:
\usemodule[newmml]
\starttext
\xmlprocessdata{}{<formula>
<math xmlns='http://www.w3.org/1998/Math/MathML'>
<mi>E</mi>
<mfenced>
<mo mathcolor="red">π</mo>
</mfenced>
</math>
</formula>}{}
\stoptext
The π symbol does not show in red.
Duncan
On Thu, 27 May 2021 at 17:18, Hans Hagen
On 5/27/2021 5:47 PM, Duncan Hothersall wrote:
Hello list.
I'm trying to use colour in some MathML formulae using the mathcolor attribute. It seems to have no effect on the output. I can see \applymmlmathcolor in the x-mathml.mkiv source but I can't see how to make it work. Does anyone have any pointers?
(Does lmtx support this?) MWE needed
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------