On Tue, Jun 11, 2013 at 6:31 PM, Steffen Wolfrum <wolfrum@st.estfiles.de> wrote:

Am 10.06.2013 um 17:43 schrieb luigi scarso:

>
>
>
> On Sun, Jun 9, 2013 at 4:33 PM, luigi scarso <luigi.scarso@gmail.com> wrote:
>
>
>
> On Sun, Jun 9, 2013 at 4:27 PM, Steffen Wolfrum <context@st.estfiles.de> wrote:
> ... no. it should look this (see below): $\overline{U_A}$
>
> it should be ok now with the latest standalone

well, the minimal example works ok (see below).
but the real piece of code doesn not (see below, too).

any idea why??

 
thanks, steffen
-------



\usemodule[mathml] \starttext


\startbuffer
<math xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
        <mover accent="true">
                <mrow>
                        <msub>
                                <mi>U</mi>
                                <mi>A</mi>
                        </msub>
                </mrow>
                <mo>&OverBar;</mo>
        </mover>
</mrow>
</math>
\stopbuffer{\processxmlbuffer}

This is ok: all the elements have MathML namespace

Now,  in the next example  you declare the mml name space
and the you use it  only for
<mml:math>and </mml:math>
--- all the other nodes that are not in the mml namespace are skipped.
But with
<msubsup xmlns="http://www.w3.org/1998/Math/MathML">
you still declare the MathML namespace, so they are ok
and then  with
<mrow>
        <mover accent="true">
                <mrow>
                        <msub>
                                <mi>U</mi>
                                <mi>A</mi>
                        </msub>
                </mrow>
                <mo>&OverBar;</mo>
        </mover>
</mrow>
you are again *outside* the MathML namespace so they are your private markup
and context doesn't render as MathML --- after all they are your private markup.





--
luigi