[NTG-context] <mtext> formatting broken?

Taco Hoekwater taco at elvenkind.com
Tue Jun 14 11:37:30 CEST 2005


Hi Duncan,

It probably doesn't help, but this still works:

   <mrow><mtext>vol</mtext><mo>&times;—</mo><msqrt>

Sorry I cannot help any further.

Taco


Duncan Hothersall wrote:
> Hi all, quick query:
> 
> In presentational mathml, the <mtext> element used to set its contents
> in roman font, with correct spacing for text. In recent and current
> (Live) ConTeXt this seems to be broken, and the contents of <mtext>
> elements come out in math italic with spaces ignored.
> 
> Test file showing problem on Live:
> 
> \usemodule[mathml]
> \setuppagenumbering[state=stop]
> \starttext
> \startXMLdata
> <math display="block">
> <mrow><mml:mtext>vol</mml:mtext><mo>&times;—</mo><msqrt>
> <mrow><mo>(</mo><mi>t</mi><mo>-</mo><mi>T</mi><mo>)</mo> </mrow>
> </msqrt> </mrow> </math>\stopXMLdata
> \stoptext
> 
> "vol" should be in roman, not math italic.
> 
> Is there a quick fix?
> 
> Thanks,
> 
> Duncan
> _______________________________________________
> ntg-context mailing list
> ntg-context at ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context


More information about the ntg-context mailing list