ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: <mtext> formatting broken?
       [not found] <20050614100003.B06F6127D5@ronja.ntg.nl>
@ 2005-06-14 10:42 ` Duncan Hothersall
  0 siblings, 0 replies; 3+ messages in thread
From: Duncan Hothersall @ 2005-06-14 10:42 UTC (permalink / raw)


> 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

Ah! You have indeed helped, by pointing out that I am failing to strip
the mml: prefix from my mtext elements. Apologies for the noise - I
couldn't see it for staring at it. Thanks Taco.

Duncan

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: <mtext> formatting broken?
  2005-06-14  8:59 Duncan Hothersall
@ 2005-06-14  9:37 ` Taco Hoekwater
  0 siblings, 0 replies; 3+ messages in thread
From: Taco Hoekwater @ 2005-06-14  9:37 UTC (permalink / raw)



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@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

^ permalink raw reply	[flat|nested] 3+ messages in thread

* <mtext> formatting broken?
@ 2005-06-14  8:59 Duncan Hothersall
  2005-06-14  9:37 ` Taco Hoekwater
  0 siblings, 1 reply; 3+ messages in thread
From: Duncan Hothersall @ 2005-06-14  8:59 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-06-14 10:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20050614100003.B06F6127D5@ronja.ntg.nl>
2005-06-14 10:42 ` <mtext> formatting broken? Duncan Hothersall
2005-06-14  8:59 Duncan Hothersall
2005-06-14  9:37 ` Taco Hoekwater

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).