[NTG-context] Two further MathML queries

Hans Hagen pragma at wxs.nl
Wed Jun 22 21:43:35 CEST 2005


Duncan Hothersall wrote:

> #1 Inline MathML has a wide space before, and no space after.

the space before is a bug: in xtag-ini, locate:

.unexpanded.def<B.doXMLelementE*

and add the * (comment token) which prevents the spurious space. (interesting 
that this went unnoticed so long)

the space after ... well, it took me a while to notice that this is expected 
behaviour (space after \stopXMLdata is naturally gobbled):

MathML aligns \startXMLdata<imath><mi>x</mi></imath>\stopXMLdata\space
squashed to the right.\par

\startbuffer
MathML aligns <imath><ci>x</ci></imath> squashed to the right.
\stopbuffer

\processXMLbuffer

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------



More information about the ntg-context mailing list