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
>     <mml:math xmlns="http://www.w3.org/1998/Math/MathML";>
>       <mfenced separators="" open="" close=" ">
>         <mi>x</mi>
>         <mi>y</mi>
>       </mfenced>
>     </mml:math>
> \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
   <mml:math xmlns="http://www.w3.org/1998/Math/MathML";>
     <apply><divide/><ci>1</ci><ci>6</ci></apply>
   </mml:math>
\stopXMLdata

But this compiles:

\startXMLdata
   <math>
     <apply><divide/><ci>1</ci><ci>6</ci></apply>
   </math>
\stopXMLdata

Regards,
BG
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to