* Re: ConTeXt file as a result of mapping
@ 2001-12-17 13:12 Patrick Gundlach
0 siblings, 0 replies; 4+ messages in thread
From: Patrick Gundlach @ 2001-12-17 13:12 UTC (permalink / raw)
Hi,
[...]
> 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.
Something like this can be easily done with xslt processors. Why
should anyone abuse TeX for that?
Viele Grüße,
Patrick Gundlach
^ permalink raw reply [flat|nested] 4+ messages in thread
* ConTeXt file as a result of mapping
@ 2001-12-15 17:03 Lukas Kubin
2001-12-17 8:55 ` Hans Hagen
0 siblings, 1 reply; 4+ messages in thread
From: Lukas Kubin @ 2001-12-15 17:03 UTC (permalink / raw)
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.
lukas
--
Lukas Kubin
lukas.kubin@permonik.com
phone: 00420603836180
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: ConTeXt file as a result of mapping
2001-12-15 17:03 Lukas Kubin
@ 2001-12-17 8:55 ` Hans Hagen
[not found] ` <Pine.LNX.4.21.0112191812550.2947-100000@x.opf.slu.cz>
0 siblings, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2001-12-17 8:55 UTC (permalink / raw)
Cc: ntg-context
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 | 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
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-12-21 9:14 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-17 13:12 ConTeXt file as a result of mapping Patrick Gundlach
-- strict thread matches above, loose matches on Subject: below --
2001-12-15 17:03 Lukas Kubin
2001-12-17 8:55 ` Hans Hagen
[not found] ` <Pine.LNX.4.21.0112191812550.2947-100000@x.opf.slu.cz>
2001-12-21 9:14 ` Hans Hagen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).