ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: luigi scarso <luigi.scarso@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Fwd:  bug with overbar
Date: Tue, 11 Jun 2013 21:03:36 +0200	[thread overview]
Message-ID: <CAG5iGsD9w=vxM1-wHUmWCt1yxUmDV6vhQxq=WSO0Zz3WDgjKZw@mail.gmail.com> (raw)
In-Reply-To: <CAG5iGsDgfc3umAaXZegUxH8AeF+bSLR-x_dwYSS1+05HNs0XZg@mail.gmail.com>


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

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

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

[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

      parent reply	other threads:[~2013-06-11 19:03 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-09 13:38 Steffen Wolfrum
2013-06-09 13:46 ` luigi scarso
2013-06-09 14:27   ` Steffen Wolfrum
2013-06-09 14:33     ` luigi scarso
2013-06-10 15:43       ` luigi scarso
2013-06-11 16:32         ` Steffen Wolfrum
     [not found]         ` <42FA1FA7-CE2C-4CEC-ADE6-6C09EB7B8DC6@st.estfiles.de>
     [not found]           ` <CAG5iGsDgfc3umAaXZegUxH8AeF+bSLR-x_dwYSS1+05HNs0XZg@mail.gmail.com>
2013-06-11 19:03             ` luigi scarso [this message]

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='CAG5iGsD9w=vxM1-wHUmWCt1yxUmDV6vhQxq=WSO0Zz3WDgjKZw@mail.gmail.com' \
    --to=luigi.scarso@gmail.com \
    --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).