Re: [NTG-context] Override MathML formula label

2019-07-29 Thread Duncan Hothersall
Brilliant, thanks Hans. Looks like I need to start delving properly into the power of the XML setups. Duncan On Sun, 28 Jul 2019 at 21:04, Hans Hagen wrote: > > \usemodule[mathml] > > \startxmlsetups mml:formula > \edef\mmlformulalabel{\xmlatt{#1}{label}} >

Re: [NTG-context] Override MathML formula label

2019-07-28 Thread Hans Hagen
On 7/27/2019 8:23 AM, Duncan Hothersall wrote: Hi all. In processing MathML if I want a formula to be numbered I add a label="X" attribute to the tag as per: \usemodule[mathml] \starttext \xmlprocessdata{}{     p=c-t   }{} \stoptext This will label the formula as (1). I know I can