ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Duncan Hothersall <dh@capdm.com>
To: Hans Hagen <j.hagen@xs4all.nl>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: mathcolor attribute in MathML (mkiv)
Date: Thu, 27 May 2021 17:30:10 +0100	[thread overview]
Message-ID: <CAN8fp9W5+gRhCn_h_krsie2mw_vkPaq0EPY6PanOHW6=uEPQcA@mail.gmail.com> (raw)
In-Reply-To: <a6949a7c-4fa0-0a57-f2e4-159d620b8094@xs4all.nl>


[-- Attachment #1.1: Type: text/plain, Size: 1117 bytes --]

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 <j.hagen@xs4all.nl> wrote:

> 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
> -----------------------------------------------------------------
>

[-- Attachment #1.2: Type: text/html, Size: 2293 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2021-05-27 16:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-27 15:47 Duncan Hothersall
2021-05-27 16:18 ` Hans Hagen
2021-05-27 16:30   ` Duncan Hothersall [this message]
2021-05-27 17:00     ` Hans Hagen
2021-05-27 17:07       ` Duncan Hothersall

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAN8fp9W5+gRhCn_h_krsie2mw_vkPaq0EPY6PanOHW6=uEPQcA@mail.gmail.com' \
    --to=dh@capdm.com \
    --cc=j.hagen@xs4all.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).