[NTG-context] MathML test suite feedback
Hello, I've compiled with ConTeXt a large excerpt from the MathML 2.0 Test Suite (http://www.w3.org/Math/testsuite) and I encountered the following problems (test cases attached): - Percentage in tag attributes are not correctly handled (seem to be seen as tex comments) and make context crashes. - mfenced with empty separators doesn't work. - Using different brackets in doesn't work. - I don't know if it's a local install problem, but some fonts are not found when using UTF encoding. This said, only 6% (41/657) of the tests fails, which is an excellent rate. BTW, if someone is interested in the big context file containing all the tests, just tell me. I can also send the perl script used to generate this doc. Regards, BG mathml-tests.tar.gz Description: GNU Zip compressed data ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] MathML test suite feedback
nico wrote: > Hello, > > I've compiled with ConTeXt a large excerpt from the MathML 2.0 Test > Suite (http://www.w3.org/Math/testsuite) and I encountered the > following problems (test cases attached): > > - Percentage in tag attributes are not correctly handled (seem to be > seen as tex comments) and make context crashes. > - mfenced with empty separators doesn't work. > - Using different brackets in doesn't work. > - I don't know if it's a local install problem, but some fonts are not > found when using UTF encoding. > > This said, only 6% (41/657) of the tests fails, which is an excellent > rate. BTW, if someone is interested in the big context file containing > all the tests, just tell me. I can also send the perl script used to > generate this doc. i assume that you ran with \usemodule[mathml] how does \usemodule[newmml] perform? that one should work better with utf if you prepare a file with 'failures' i can have a look at it Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] MathML test suite feedback
nico wrote: > This said, only 6% (41/657) of the tests fails, which is an excellent > rate. BTW, if someone is interested in the big context file containing > all the tests, just tell me. I can also send the perl script used to > generate this doc. ah, you attached the problematic files; i'll have a look Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] MathML test suite feedback
nico wrote: > Hello, > > I've compiled with ConTeXt a large excerpt from the MathML 2.0 Test > Suite (http://www.w3.org/Math/testsuite) and I encountered the > following problems (test cases attached): you say: \starttyping http://www.w3.org/1998/Math/MathML";> x y \stoptyping is rendered as: \startXMLdata x y \stopXMLdata \startbuffer http://www.w3.org/1998/Math/MathML";> x y \stopbuffer \typebuffer is rendered as: \processXMLbuffer saves keystrokes and is less error prone (differences in code) Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] MathML test suite feedback
nico wrote: > Hello, > > I've compiled with ConTeXt a large excerpt from the MathML 2.0 Test > Suite (http://www.w3.org/Math/testsuite) and I encountered the > following problems (test cases attached): > > - Percentage in tag attributes are not correctly handled (seem to be > seen as tex comments) and make context crashes. \startXMLdata does not change the catcode of % and it grabs an argument; could be a low priority feature request ( to be added to the wiki/collector) best use: \startXMLbuffer \stopXMLbuffer \processXMLbuffer (the fontsize is not supported (does not make sense in a regular typesetting context) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] MathML test suite feedback
On Mon, 20 Mar 2006 21:37:25 +0100, Hans Hagen <[EMAIL PROTECTED]> wrote: > nico wrote: >> Hello, >> >> I've compiled with ConTeXt a large excerpt from the MathML 2.0 Test >> Suite (http://www.w3.org/Math/testsuite) and I encountered the >> following problems (test cases attached): > you say: [...] > > \startbuffer > http://www.w3.org/1998/Math/MathML";> > > x > y > > > \stopbuffer > > \typebuffer > > is rendered as: > > \processXMLbuffer > > saves keystrokes and is less error prone (differences in code) Thanks for the advice. Indeed it is shorter and much more elegant. But in this case the test was automatically generated. Actually the code is different because the XML namespace does not seem correctly handled. For example, this does not compile: \startXMLdata http://www.w3.org/1998/Math/MathML";> 16 \stopXMLdata But this compiles: \startXMLdata 16 \stopXMLdata Regards, BG ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] MathML test suite feedback
nico wrote: > > This said, only 6% (41/657) of the tests fails, which is an excellent > rate. BTW, if someone is interested in the big context file containing > all the tests, just tell me. I can also send the perl script used to > generate this doc. maybe we should start thinking of texmf/samples/context/third/mathml/.. kind of archives, test suites, regression tests etc (preferable maintained by some users -) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context