At 06:03 PM 12/15/2001 +0100, Lukas Kubin wrote:
>Maybe this question is better to Hans Hagen directly:
>Is it possible (or do you plan it) to get a plain ConTeXt source file as
>a result of mapping the ConTeXt code to XML? I wish to get the code after
>changing XML elements into ConTeXt according to my mapping file and before
>it is translated by ConTeXt into dvi, pdf ...
>Thank you.
I'm not sure if I understand you right.
You want
\defineXMLenvironment[test]
{\startnarrower[2*left]}
{\stopnarrower}
\startXMLdata
<test>
bla bla
</test>
\stopXMLdata
to produce
\startnarrower[2*left]
bla bla
\stopnarrrower
as output?
Not a real problem (did a quick test here), but for what purpose? There is
for instance some formatting involved.
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
-------------------------------------------------------------------------