ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* bug with overbar
@ 2013-06-09 13:38 Steffen Wolfrum
  2013-06-09 13:46 ` luigi scarso
  0 siblings, 1 reply; 7+ messages in thread
From: Steffen Wolfrum @ 2013-06-09 13:38 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi Hans,

this seems to be a bug: the overbar should not be set separately again over A



\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} 

\stoptext



Is there a fix?

Steffen
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: bug with overbar
  2013-06-09 13:38 bug with overbar Steffen Wolfrum
@ 2013-06-09 13:46 ` luigi scarso
  2013-06-09 14:27   ` Steffen Wolfrum
  0 siblings, 1 reply; 7+ messages in thread
From: luigi scarso @ 2013-06-09 13:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

On Sun, Jun 9, 2013 at 3:38 PM, Steffen Wolfrum <context@st.estfiles.de>wrote:

> Hi Hans,
>
> this seems to be a bug: the overbar should not be set separately again
> over A
>
>
>
> \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}
>
> \stoptext
>
>
> not a fix but should overbar be only over U ?

\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}

\startbuffer
<math xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
        <msub>
        <mover accent="true">
                <mrow>
                                <mi>U</mi>

                        </mrow>
                <mo>&OverBar;</mo>
        </mover>
        <mi>A</mi>
        </msub>
</mrow>
</math>
\stopbuffer{\processxmlbuffer}

\stoptext



>
> Is there a fix?
>
> Steffen
>
> ___________________________________________________________________________________
> 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
>
> ___________________________________________________________________________________
>



-- 
luigi

[-- Attachment #1.2: Type: text/html, Size: 4136 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: bug with overbar
  2013-06-09 13:46 ` luigi scarso
@ 2013-06-09 14:27   ` Steffen Wolfrum
  2013-06-09 14:33     ` luigi scarso
  0 siblings, 1 reply; 7+ messages in thread
From: Steffen Wolfrum @ 2013-06-09 14:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 87 bytes --]

... no. it should look this (see below): $\overline{U_A}$

but coded in MathML.

st.



[-- Attachment #2: Bildschirmfoto 2013-06-09 um 16.25.37.pdf --]
[-- Type: application/pdf, Size: 7619 bytes --]

[-- Attachment #3: Type: text/plain, Size: 2 bytes --]




[-- Attachment #4: 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: bug with overbar
  2013-06-09 14:27   ` Steffen Wolfrum
@ 2013-06-09 14:33     ` luigi scarso
  2013-06-10 15:43       ` luigi scarso
  0 siblings, 1 reply; 7+ messages in thread
From: luigi scarso @ 2013-06-09 14:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

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}$
>
> but coded in MathML.
>
> st.
>
> ok

-- 
luigi

[-- Attachment #1.2: Type: text/html, Size: 543 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: bug with overbar
  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>
  0 siblings, 2 replies; 7+ messages in thread
From: luigi scarso @ 2013-06-10 15:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

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


-- 
luigi

[-- Attachment #1.2: Type: text/html, Size: 1049 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: bug with overbar
  2013-06-10 15:43       ` luigi scarso
@ 2013-06-11 16:32         ` Steffen Wolfrum
       [not found]         ` <42FA1FA7-CE2C-4CEC-ADE6-6C09EB7B8DC6@st.estfiles.de>
  1 sibling, 0 replies; 7+ messages in thread
From: Steffen Wolfrum @ 2013-06-11 16:32 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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}





\startbuffer <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML">
<msubsup xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mi>U</mi>
</mrow>
<mrow>
<mi>P</mi>
</mrow>
<mrow>
<mi>F</mi>
<mi>V</mi>
<mi>m</mi>
<mi>M</mi>
</mrow>
</msubsup>
<mo xmlns="http://www.w3.org/1998/Math/MathML">=</mo>
<mfrac xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mn>1</mn>
</mrow>
<mrow>
<mn>2</mn>
<mi>k</mi>
</mrow>
</mfrac>
<mfenced xmlns="http://www.w3.org/1998/Math/MathML" open="[" close="]" separators="|">
<mrow>
<mfenced separators="|">
<mrow>
<mi>i</mi>
<mo>+</mo>
<mi>f</mi>
</mrow>
</mfenced>
<mfenced separators="|">
<mrow>
<mn>2</mn>
<mi>p</mi>
<mo>+</mo>
<mi>i</mi>
<mo>+</mo>
<mi>f</mi>
</mrow>
</mfenced>
<mo>-</mo>
<msup>
<mrow>
<mi>f</mi>
</mrow>
<mrow>
<mn>2</mn>
</mrow>
</msup>
<mi>k</mi>
<mi>r</mi>
<msup>
<mrow>
<mi>σ</mi>
</mrow>
<mrow>
<mn>2</mn>
</mrow>
</msup>
</mrow>
</mfenced>
<mo xmlns="http://www.w3.org/1998/Math/MathML">-</mo>
<mi xmlns="http://www.w3.org/1998/Math/MathML">c</mi>
<mo xmlns="http://www.w3.org/1998/Math/MathML">-</mo>
<mrow>
       <mover accent="true">
               <mrow>
                       <msub>
                               <mi>U</mi>
                               <mi>A</mi>
                       </msub>
               </mrow>
               <mo>&OverBar;</mo>
       </mover>
</mrow>
</mml:math>\stopbuffer{\processxmlbuffer}



\stoptext


___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Fwd:  bug with overbar
       [not found]           ` <CAG5iGsDgfc3umAaXZegUxH8AeF+bSLR-x_dwYSS1+05HNs0XZg@mail.gmail.com>
@ 2013-06-11 19:03             ` luigi scarso
  0 siblings, 0 replies; 7+ messages in thread
From: luigi scarso @ 2013-06-11 19:03 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-06-11 19:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-09 13:38 bug with overbar 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             ` Fwd: " luigi scarso

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).