RE: [NTG-context] some XML stuff (and bugs?)

2003-08-14 Thread Martin Kolarík
ok, I use \tt and \color,

thank you,

Martin

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Behalf Of Hans Hagen
 Sent: Monday, August 11, 2003 2:38 PM
 To: [EMAIL PROTECTED]
 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 containstype#60;tag#62;/type
 I define\defineXMLargument [type] \type
 ConTeXt outputs #60;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#60;tag#62;/type test
 \stopXMLdata

 \stoptext


 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


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


Re: [NTG-context] some XML stuff (and bugs?)

2003-08-12 Thread Hans Hagen
At 10:12 11/08/2003 +0200, =?iso-8859-2?Q?Martin_Kola=F8=EDk?= wrote:

4. if I use mathbuffer//math it does not work -- math implementation
using \XMLremapdata[mml] does not find any MML tag. Anyhow, I did not suceed
with pre expansion of buffer/ -- probably, if I am able to expand (get
content of) buffer/ (it contains MML tags) it would work.
\starttext

\defineXMLsave [buffer]

\defineXMLsingular [buffer] {\XMLflush{buffer}}

\startXMLdata
test bufferhere/buffer test buffer/
\stopXMLdata
\stoptext

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