ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* mathml lim
@ 2013-06-11 17:24 Steffen Wolfrum
  2013-06-11 20:08 ` Aditya Mahajan
  0 siblings, 1 reply; 5+ messages in thread
From: Steffen Wolfrum @ 2013-06-11 17:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi (to whom it may concern),

I just saw that (by magic?) the missing mathvariant bold is implementetd in todays ctx suite! wow, thank you very much!!

two details that keep missing is "max" and "lim" (see below).

could this be done easily, too?!


Best wishes,
Steffen
-------

\startbuffer <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML">
<mrow xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<munder>
<mrow>
<mi mathvariant="normal">lim</mi>
</mrow>
<mrow>
<mi>l</mi>
<mo>→</mo>
<mo>-</mo>
<mi>∞</mi>
</mrow>
</munder>
</mrow>
<mo>⁡</mo>
<mrow>
<mover accent="true">
<mrow>
<mi>f</mi>
</mrow>
<mo>&tilde;</mo>
</mover>
<mfenced separators="|">
<mrow>
<mi>l</mi>
</mrow>
</mfenced>
</mrow>
</mrow>
<mo xmlns="http://www.w3.org/1998/Math/MathML">=</mo>
<mrow xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<munder>
<mrow>
<mi mathvariant="normal">lim</mi>
</mrow>
<mrow>
<mi>l</mi>
<mo>→</mo>
<mo>+</mo>
<mi>∞</mi>
</mrow>
</munder>
</mrow>
<mo>⁡</mo>
<mrow>
<mover accent="true">
<mrow>
<mi>f</mi>
</mrow>
<mo>&tilde;</mo>
</mover>
<mfenced separators="|">
<mrow>
<mi>l</mi>
</mrow>
</mfenced>
</mrow>
</mrow>
<mo xmlns="http://www.w3.org/1998/Math/MathML">=</mo>
<mfrac xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mi>i</mi>
<mo>+</mo>
<mi>p</mi>
</mrow>
<mrow>
<mi>k</mi>
<mi>r</mi>
<msup>
<mrow>
<mi>σ</mi>
</mrow>
<mrow>
<mn>2</mn>
</mrow>
</msup>
<mo>-</mo>
<mn>1</mn>
</mrow>
</mfrac>
</mml:math>\stopbuffer{\processxmlbuffer} 

___________________________________________________________________________________
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] 5+ messages in thread

* Re: mathml lim
  2013-06-11 17:24 mathml lim Steffen Wolfrum
@ 2013-06-11 20:08 ` Aditya Mahajan
  2013-06-11 20:12   ` Sander Maijers
  2013-06-11 20:25   ` Khaled Hosny
  0 siblings, 2 replies; 5+ messages in thread
From: Aditya Mahajan @ 2013-06-11 20:08 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Tue, 11 Jun 2013, Steffen Wolfrum wrote:

> two details that keep missing is "max" and "lim" (see below).
>
>
> <mi mathvariant="normal">lim</mi>
>

I do not know MATHML, but this seems like a wrong way to input \lim. The 
above is roughly equivalent to

$\mathrm{lim}$

This will not result in correct spacing around the limit operator. Doesn't 
mathml have something that maps to \mathop?

Aditya
___________________________________________________________________________________
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] 5+ messages in thread

* Re: mathml lim
  2013-06-11 20:08 ` Aditya Mahajan
@ 2013-06-11 20:12   ` Sander Maijers
  2013-06-11 20:26     ` Khaled Hosny
  2013-06-11 20:25   ` Khaled Hosny
  1 sibling, 1 reply; 5+ messages in thread
From: Sander Maijers @ 2013-06-11 20:12 UTC (permalink / raw)
  To: mailing list for ConTeXt users


On 11-06-13 22:08, Aditya Mahajan wrote:
> On Tue, 11 Jun 2013, Steffen Wolfrum wrote:
>
>> two details that keep missing is "max" and "lim" (see below).
>>
>>
>> <mi mathvariant="normal">lim</mi>
>>
>
> I do not know MATHML, but this seems like a wrong way to input \lim. The
> above is roughly equivalent to
>
> $\mathrm{lim}$
>
> This will not result in correct spacing around the limit operator.
> Doesn't mathml have something that maps to \mathop?
>
> Aditya
> ___________________________________________________________________________________
>
> 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
> ___________________________________________________________________________________
>

Is this what you need Steffen: 
http://zvon.org/xxl/MathML/Output/el_limit.html
___________________________________________________________________________________
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] 5+ messages in thread

* Re: mathml lim
  2013-06-11 20:08 ` Aditya Mahajan
  2013-06-11 20:12   ` Sander Maijers
@ 2013-06-11 20:25   ` Khaled Hosny
  1 sibling, 0 replies; 5+ messages in thread
From: Khaled Hosny @ 2013-06-11 20:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Tue, Jun 11, 2013 at 04:08:40PM -0400, Aditya Mahajan wrote:
> On Tue, 11 Jun 2013, Steffen Wolfrum wrote:
> 
> >two details that keep missing is "max" and "lim" (see below).
> >
> >
> ><mi mathvariant="normal">lim</mi>
> >
> 
> I do not know MATHML, but this seems like a wrong way to input \lim.
> The above is roughly equivalent to
> 
> $\mathrm{lim}$

No it isn't, MathML rules are a bit different, $\mathrm{lim}$ is
equivalent to:
<mi mathvariant="normal">l</mi>
<mi mathvariant="normal">i</mi>
<mi mathvariant="normal">m</mi>

What Steffen is using is the correct way (it should even be <mi>lim</mi>
as mathvariant="normal" is the default unless it is a single character).

Regards,
Khaled
___________________________________________________________________________________
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] 5+ messages in thread

* Re: mathml lim
  2013-06-11 20:12   ` Sander Maijers
@ 2013-06-11 20:26     ` Khaled Hosny
  0 siblings, 0 replies; 5+ messages in thread
From: Khaled Hosny @ 2013-06-11 20:26 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Tue, Jun 11, 2013 at 10:12:01PM +0200, Sander Maijers wrote:
> Is this what you need Steffen:
> http://zvon.org/xxl/MathML/Output/el_limit.html

That is content not presentation MathML, they are quite different.

Regards,
Khaled
___________________________________________________________________________________
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] 5+ messages in thread

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

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-11 17:24 mathml lim Steffen Wolfrum
2013-06-11 20:08 ` Aditya Mahajan
2013-06-11 20:12   ` Sander Maijers
2013-06-11 20:26     ` Khaled Hosny
2013-06-11 20:25   ` Khaled Hosny

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