Hi,

whats wrong with this formula (see below)?
It runs into error:

! Missing \endgroup inserted.

system          > tex > error on line 10 in file 
/Volumes/daten_pro/_AKTUELL/BRUNNER/mathml_test/mathml_test1.tex: Missing  ...

 1     %&context
 2     %!TEX TS-program = luatex
 3     
 4     
 5     
 6     \usemodule[mathml] \starttext
 7     
 8     
 9     \setbuffer <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML";>
10 >>  <mi xmlns="http://www.w3.org/1998/Math/MathML"; mathvariant="bold">a</mi>
11     <mo xmlns="http://www.w3.org/1998/Math/MathML";>∈</mo>
12     <mi xmlns="http://www.w3.org/1998/Math/MathML"; 
mathvariant="normal">a</mi>
13     <mi xmlns="http://www.w3.org/1998/Math/MathML"; 
mathvariant="normal">r</mi>
14     <mi xmlns="http://www.w3.org/1998/Math/MathML"; 
mathvariant="normal">g</mi>
15     <mrow xmlns="http://www.w3.org/1998/Math/MathML";>
16     <mrow>
17     <munder>
18     <mrow>
19     <mi mathvariant="normal">max</mi>
20     </mrow>

<inserted text> 
\endgroup 
<to be read again> 
\right 
\fakerightdelimiter ...nesting <\zerocount \right 
                                                  .\fi 
<argument> ...imiter \xmlflush {temp::22}\fakerightdelimiter 
                                                  \disabledelimiter 
\firstoftwoarguments #1#2h-#1
                             
\15>:mml:mrow ...sabledelimiter } {\xmlflush {#1}}
                                                  \endgroup 
...
l.217 </mml:math>\endbuffer{\processxmlbuffer}
                                            
? 
Process aborted



Steffen
-------


\usemodule[mathml] \starttext


\setbuffer <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML";>
<mi xmlns="http://www.w3.org/1998/Math/MathML"; mathvariant="bold">a</mi>
<mo xmlns="http://www.w3.org/1998/Math/MathML";>∈</mo>
<mi xmlns="http://www.w3.org/1998/Math/MathML"; mathvariant="normal">a</mi>
<mi xmlns="http://www.w3.org/1998/Math/MathML"; mathvariant="normal">r</mi>
<mi xmlns="http://www.w3.org/1998/Math/MathML"; mathvariant="normal">g</mi>
<mrow xmlns="http://www.w3.org/1998/Math/MathML";>
<mrow>
<munder>
<mrow>
<mi mathvariant="normal">max</mi>
</mrow>
<mrow>
<msup>
<mrow>
<mi mathvariant="bold">a</mi>
</mrow>
<mrow>
<mi mathvariant="bold">'</mi>
</mrow>
</msup>
</mrow>
</munder>
</mrow>
<mo>⁡</mo>
<mrow>
<mfenced open="{" close="}" separators=".">
<mrow>
<mi>F</mi>
<mo>+</mo>
<msup>
<mrow>
<mi mathvariant="bold">v</mi>
</mrow>
<mrow>
<mi mathvariant="bold">T</mi>
</mrow>
</msup>
<msup>
<mrow>
<mi mathvariant="bold">a</mi>
</mrow>
<mrow>
<mi mathvariant="bold">'</mi>
</mrow>
</msup>
<mo>+</mo>
<msup>
<mrow>
<mi mathvariant="bold">i</mi>
</mrow>
<mrow>
<mi mathvariant="bold">T</mi>
</mrow>
</msup>
<mi mathvariant="bold">a</mi>
<mo>-</mo>
<mfrac>
<mrow>
<mn>1</mn>
</mrow>
<mrow>
<mn>2</mn>
</mrow>
</mfrac>
<mi mathvariant="bold"> </mi>
<msup>
<mrow>
<msup>
<mrow>
<mi mathvariant="bold">a</mi>
</mrow>
<mrow>
<mi mathvariant="bold">'</mi>
</mrow>
</msup>
</mrow>
<mrow>
<mi mathvariant="bold">T</mi>
</mrow>
</msup>
<mi mathvariant="bold">K</mi>
<mi mathvariant="bold"> </mi>
<msup>
<mrow>
<mi mathvariant="bold">a</mi>
</mrow>
<mrow>
<mi mathvariant="bold">'</mi>
</mrow>
</msup>
<mo>-</mo>
<mfenced open="[" close="]" separators=".">
<mrow>
<mi>c</mi>
<mo>-</mo>
<msup>
<mrow>
<mi mathvariant="bold">f</mi>
</mrow>
<mrow>
<mi mathvariant="bold">T</mi>
</mrow>
</msup>
<msup>
<mrow>
<mi mathvariant="bold">a</mi>
</mrow>
<mrow>
<mi mathvariant="bold">'</mi>
</mrow>
</msup>
<mo>+</mo>
<mi>l</mi>
<mfenced separators=".">
<mrow>
<msup>
<mrow>
<mi mathvariant="bold">v</mi>
</mrow>
<mrow>
<mi mathvariant="bold">T</mi>
</mrow>
</msup>
<msup>
<mrow>
<mi mathvariant="bold">a</mi>
</mrow>
<mrow>
<mi mathvariant="bold">'</mi>
</mrow>
</msup>
</mrow>
</mfenced>
</mrow>
</mfenced>
<mo>-</mo>
<mfrac>
<mrow>
<mi>r</mi>
</mrow>
<mrow>
<mn>2</mn>
</mrow>
</mfrac>
<msup>
<mrow>
<mfenced open="[" close="]" separators=".">
<mrow>
<mfenced separators=".">
<mrow>
<mn>1</mn>
<mo>-</mo>
<mi>l</mi>
</mrow>
</mfenced>
<mi mathvariant="bold">v</mi>
<mo>+</mo>
<mi mathvariant="bold">f</mi>
</mrow>
</mfenced>
</mrow>
<mrow>
<mi mathvariant="bold">T</mi>
</mrow>
</msup>
<mi mathvariant="bold"> </mi>
<mi mathvariant="bold">Σ</mi>
<mfenced open="[" close="]" separators=".">
<mrow>
<mfenced separators=".">
<mrow>
<mn>1</mn>
<mo>-</mo>
<mi>l</mi>
</mrow>
</mfenced>
<mi mathvariant="bold">v</mi>
<mo>+</mo>
<mi mathvariant="bold">f</mi>
</mrow>
</mfenced>
<mo>|</mo>
<mi mathvariant="bold-italic"> </mi>
<msup>
<mrow>
<mi mathvariant="bold">a</mi>
</mrow>
<mrow>
<mi mathvariant="bold">'</mi>
</mrow>
</msup>
<mo>∈</mo>
<msubsup>
<mrow>
<mi mathvariant="double-struck">R</mi>
</mrow>
<mrow>
<mo>+</mo>
</mrow>
<mrow>
<mi>n</mi>
</mrow>
</msubsup>
</mrow>
</mfenced>
</mrow>
</mrow>
</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