Answering my own question - the rules in x-mathml.mkxl/.lmt assume *only*
an mml: namespace on MathML elements. Having built my current project on
the basis of the examples in the XML in mkiv manual, I had two layers of
namespaces in addition to that. Redoing the mappings for the MathML
elements resulted in glorious formulas coming out.

Duncan

On Sun, 29 May 2022 at 22:23, Duncan Hothersall <d...@capdm.com> wrote:

> This feels like a really stupid question but I can't find an answer to it
> anywhere.
>
> When processing an XML file directly with ConTeXt, i.e.
> using \startxmlsetups rules, how can I make use of the MathML module for
> the MathML content in my XML source? Should I include a specific piece of
> code with a \registerctxluafile command as well as / instead of
> \usemodule[mathml]? Do I need to use something other than \xmlflush to pass
> the XML to the module?
>
> Sorry, it's probably obvious but I can't work it out!
>
> Thanks.
>
> Duncan
>


-- 
Duncan Hothersall, Operations Director
CAPDM Limited - Online Program Enablers
0131 677 2400  www.capdm.com
Registered in Scotland: SC168970       VAT: 682 846 983
Registered address: 20 Forth Street Edinburgh EH1 3LH UK
<https://maps.google.com/?q=22+Forth+Street,+Edinburgh,+EH1+3LH,+UK&entry=gmail&source=g>

Capture, author, publish, deliver and manage your learning materials.


*Sign up to the CAPDM newsletter here <http://eepurl.com/bqzBQn>*
___________________________________________________________________________________
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 via email to