* MathML in ConTeXt conforming to MathML3? @ 2014-05-21 18:09 Meer, H. van der 2014-05-21 20:14 ` Hans Hagen 0 siblings, 1 reply; 5+ messages in thread From: Meer, H. van der @ 2014-05-21 18:09 UTC (permalink / raw) To: NTG ConTeXt 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) <semantics><annotation encoding="application/x-tex">TeX-code</annotation></semantics> does not typesets, but (2) <semantics><annotation encoding="tex">TeX-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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: MathML in ConTeXt conforming to MathML3? 2014-05-21 18:09 MathML in ConTeXt conforming to MathML3? Meer, H. van der @ 2014-05-21 20:14 ` Hans Hagen 2014-05-21 20:43 ` Meer, H. van der 0 siblings, 1 reply; 5+ messages in thread From: Hans Hagen @ 2014-05-21 20:14 UTC (permalink / raw) To: ntg-context 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) <semantics><annotation encoding="application/x-tex">TeX-code</annotation></semantics> does not typesets, but > (2) <semantics><annotation encoding="tex">TeX-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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: MathML in ConTeXt conforming to MathML3? 2014-05-21 20:14 ` Hans Hagen @ 2014-05-21 20:43 ` Meer, H. van der 2014-05-21 21:13 ` Hans Hagen 0 siblings, 1 reply; 5+ messages in thread From: Meer, H. van der @ 2014-05-21 20:43 UTC (permalink / raw) To: NTG ConTeXt [-- Attachment #1.1: Type: text/plain, Size: 1961 bytes --] 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 <pragma@wxs.nl<mailto:pragma@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) <semantics><annotation encoding="application/x-tex">TeX-code</annotation></semantics> does not typesets, but (2) <semantics><annotation encoding="tex">TeX-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<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 ___________________________________________________________________________________ [-- Attachment #1.2: Type: text/html, Size: 4039 bytes --] [-- Attachment #2: mathml-fail.pdf --] [-- Type: application/pdf, Size: 16152 bytes --] [-- Attachment #3: mathml-fail.pdf --] [-- Type: application/pdf, Size: 16689 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] 5+ messages in thread
* Re: MathML in ConTeXt conforming to MathML3? 2014-05-21 20:43 ` Meer, H. van der @ 2014-05-21 21:13 ` Hans Hagen 2014-05-21 21:49 ` Meer, H. van der 0 siblings, 1 reply; 5+ messages in thread From: Hans Hagen @ 2014-05-21 21:13 UTC (permalink / raw) To: mailing list for ConTeXt users 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 <pragma@wxs.nl > <mailto:pragma@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)<semantics><annotation >>> encoding="application/x-tex">TeX-code</annotation></semantics> does >>> not typesets, but >>> (2)<semantics><annotation >>> encoding="tex">TeX-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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: MathML in ConTeXt conforming to MathML3? 2014-05-21 21:13 ` Hans Hagen @ 2014-05-21 21:49 ` Meer, H. van der 0 siblings, 0 replies; 5+ messages in thread From: Meer, H. van der @ 2014-05-21 21:49 UTC (permalink / raw) To: NTG ConTeXt 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-05-21 21:49 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2014-05-21 18:09 MathML in ConTeXt conforming to MathML3? Meer, H. van der 2014-05-21 20:14 ` Hans Hagen 2014-05-21 20:43 ` Meer, H. van der 2014-05-21 21:13 ` Hans Hagen 2014-05-21 21:49 ` Meer, H. van der
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).