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 adjust how the automatic
numbering is generated using \setup
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 adjust
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}}
> \edef\mmlformulatitle{\xmla