At 15:41 11/08/2003 +0200, you wrote:
yes, this works:

> \starttext
>
> \defineXMLsave [buffer]
>
> \defineXMLsingular [buffer] {\XMLflush{buffer}}
>
> \startXMLdata
> test <buffer>here</buffer> test <buffer/>
> \stopXMLdata

but try:

\startXMLdata
test
<buffer><mrow><mfenced><mi>a</mi><mo>+</mo><mi>b</mi></mfenced></mrow></buff
er> test <math><buffer/></math>.
\stopXMLdata

yes, of course, this can be done including <math> into buffer (and use
<buffer/> as you wrote). But this, e.g., denies including <buffer/> into
some other pieces of math etc.

the problem is that math does lookahead trickery and for that purpose the mathml list is converted into something internal; this also means that <buffer/> is simply ignored; think of it: what should expand and what not and when?


Hans
-------------------------------------------------------------------------
                                  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
                      Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                       information: http://www.pragma-ade.com/roadmap.pdf
                    documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------

_______________________________________________
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to