[NTG-context] MathML in ConTeXt conforming to MathML3?

2014-05-21 Thread Meer, H. van der
Does the MathML in ConText conforms to the MathML3 specification? (see 
http://www.w3.org/TR/MathML3/chapter5.html)

I find that with \usemodule[mathml]
(1) semanticsannotation 
encoding=application/x-texTeX-code/annotation/semantics does not 
typesets, but 
(2) semanticsannotation encoding=texTeX-code/annotation/semantics 
does.

As I understand from the specification, (1) should have been correct, but does 
not processes the TeX and the attribute application/x-tex seems not to be 
recognized. Does ConTeXt-MathML deviates in this respect from the current 
standard? Or do I miss some important fact?

Hans van der Meer



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


Re: [NTG-context] MathML in ConTeXt conforming to MathML3?

2014-05-21 Thread Hans Hagen

On 5/21/2014 8:09 PM, Meer, H. van der wrote:

Does the MathML in ConText conforms to the MathML3 specification? (see 
http://www.w3.org/TR/MathML3/chapter5.html)

I find that with \usemodule[mathml]
(1) semanticsannotation 
encoding=application/x-texTeX-code/annotation/semantics does not typesets, but
(2) semanticsannotation encoding=texTeX-code/annotation/semantics 
does.

As I understand from the specification, (1) should have been correct, but does not 
processes the TeX and the attribute application/x-tex seems not to be 
recognized. Does ConTeXt-MathML deviates in this respect from the current standard? Or do 
I miss some important fact?


I can add that encoding spec but you post to make a complete minimal 
example first.


Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___


Re: [NTG-context] MathML in ConTeXt conforming to MathML3?

2014-05-21 Thread Meer, H. van der
Examples below, the two examples change between tex and application/x-tex 
in the annotation.
Hans van der Meer




On 21 May 2014, at 22:14, Hans Hagen pra...@wxs.nlmailto:pra...@wxs.nl 
wrote:

On 5/21/2014 8:09 PM, Meer, H. van der wrote:
Does the MathML in ConText conforms to the MathML3 specification? (see 
http://www.w3.org/TR/MathML3/chapter5.html)

I find that with \usemodule[mathml]
(1) semanticsannotation 
encoding=application/x-texTeX-code/annotation/semantics does not 
typesets, but
(2) semanticsannotation encoding=texTeX-code/annotation/semantics 
does.

As I understand from the specification, (1) should have been correct, but does 
not processes the TeX and the attribute application/x-tex seems not to be 
recognized. Does ConTeXt-MathML deviates in this respect from the current 
standard? Or do I miss some important fact?

I can add that encoding spec but you post to make a complete minimal example 
first.

Hans


-
 Hans Hagen | PRAGMA ADE
 Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | voip: 087 875 68 74 | 
www.pragma-ade.comhttp://www.pragma-ade.com/
| 
www.pragma-pod.nlhttp://www.pragma-pod.nl/
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nlmailto: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
___



mathml-fail.pdf
Description: mathml-fail.pdf


mathml-fail.pdf
Description: mathml-fail.pdf
___
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
___

Re: [NTG-context] MathML in ConTeXt conforming to MathML3?

2014-05-21 Thread Hans Hagen

On 5/21/2014 10:43 PM, Meer, H. van der wrote:

Examples below, the two examples change between tex and
application/x-tex in the annotation.
Hans van der Meer




On 21 May 2014, at 22:14, Hans Hagen pra...@wxs.nl
mailto:pra...@wxs.nl wrote:


On 5/21/2014 8:09 PM, Meer, H. van der wrote:

Does the MathML in ConText conforms to the MathML3 specification?
(see http://www.w3.org/TR/MathML3/chapter5.html)

I find that with \usemodule[mathml]
(1)semanticsannotation
encoding=application/x-texTeX-code/annotation/semantics does
not typesets, but
(2)semanticsannotation
encoding=texTeX-code/annotation/semantics does.


you can patch x-math.mkiv:

\xmldoifelse {#1} 
{.[oneof(@encoding,'TeX','tex','application/x-tex','TEX','ConTeXt','context','CONTEXT','ctx')]} 
{


as that seems to work okay


As I understand from the specification, (1) should have been correct,
but does not processes the TeX and the attribute application/x-tex
seems not to be recognized. Does ConTeXt-MathML deviates in this
respect from the current standard? Or do I miss some important fact?


I can add that encoding spec but you post to make a complete minimal
example first.

Hans


-
 Hans Hagen | PRAGMA ADE
 Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | voip: 087 875 68 74 |www.pragma-ade.com
http://www.pragma-ade.com/
|www.pragma-pod.nl
http://www.pragma-pod.nl/
-
___
If your question is of interest to others as well, please add an entry
to the Wiki!

maillist : ntg-context@ntg.nl mailto: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
___




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




--

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___


Re: [NTG-context] MathML in ConTeXt conforming to MathML3?

2014-05-21 Thread Meer, H. van der
Thanks. And added to some future beta? I would be obliged.
Hans van der Meer

 
 you can patch x-math.mkiv:
 
\xmldoifelse {#1} 
 {.[oneof(@encoding,'TeX','tex','application/x-tex','TEX','ConTeXt','context','CONTEXT','ctx')]}
  {
 
 as that seems to work okay
 


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