Am 08.06.2013 um 16:18 schrieb Wolfgang Schuster:

> 
> Am 08.06.2013 um 12:53 schrieb Steffen Wolfrum <cont...@st.estfiles.de>:
> 
>> Hi friends,
>> 
>> we need to run MathML inside \sym (see below).
>> Is there a way to solve the error "! Argument of \buff_gobble has an extra 
>> }."
> 
> You can’t use \startbuffer … \stopbuffer in other commands but with \setbuffer
> there is a command which can be used here.
> 
> \sym{\setbuffer … \endbuffer\processxmlbuffer}



great, thanks. but this immediately gives the next error: "invalid xml file - 
parsed text"

what's wrong with the code below?

Steffen
-------

\usemodule[mathml] \starttext


\setbuffer <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML";>
<mn xmlns="http://www.w3.org/1998/Math/MathML";>0</mn>
<mo xmlns="http://www.w3.org/1998/Math/MathML";>≤</mo>
<msub xmlns="http://www.w3.org/1998/Math/MathML";>
<mrow>
<mi>δ</mi>
</mrow>
<mrow>
<mi>j</mi>
<mi>s</mi>
</mrow>
</msub>
<mo xmlns="http://www.w3.org/1998/Math/MathML";><</mo>
<mroot xmlns="http://www.w3.org/1998/Math/MathML";>
<mrow>
<msub>
<mrow>
<mi>k</mi>
</mrow>
<mrow>
<mi>j</mi>
</mrow>
</msub>
<msub>
<mrow>
<mi>k</mi>
</mrow>
<mrow>
<mi>s</mi>
</mrow>
</msub>
</mrow>
<mrow/>
</mroot>
</mml:math>\endbuffer\processxmlbuffer

\stoptext
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to