ok, I use \tt and \color, thank you, Martin
-----Original Message----- From: ntg-context-admin@ntg.nl [mailto:ntg-context-admin@ntg.nl]On Behalf Of Hans Hagen Sent: Monday, August 11, 2003 2:38 PM To: ntg-context@ntg.nl Subject: Re: [NTG-context] some XML stuff (and bugs?)
At 10:12 11/08/2003 +0200, you wrote:
Hi all,
I have some problems with XML and ConTeXt, some of them are probably not implemented in ConTeXt yet.
1. XML contains <type><tag></type> I define \defineXMLargument [type] \type ConTeXt outputs <tag>
It is interesting that inside \bTD..\eTD it is typeset correctly (<tag>).
has to with the famous catcode problems, no reason to use the \type macro here:
\starttext
\defineXMLgrouped [type] \tt
\startXMLdata test <type><tag></type> test \stopXMLdata
\stoptext
Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl 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 ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context