Hello!
> There are no verbatim environments in XML, and you cannot get literal > content. Instead, you can have tags, like your verbatim above, that > request line-oriented layout. programlisting is such a tag in Docbook. > > This is how docbook in context does it: > > \def\XMLDBstartlineorientedlayout > {\bgroup > \frenchspacing \obeyspaces \obeytabs \obeylines > \parindent=0pt% > \setupwhitespace[none] > \def\obeyedline{\par\def\obeyedline{\strut\par}}% > \def\obeyedspace{\strut\space}% > \blank[medium]} > \def\XMLDBstoplineorientedlayout{\blank[medium]\egroup} > > \defineXMLenvironment[programlisting] > {\XMLDBstartlineorientedlayout > \tt\XMLsimpleentitiestrue}% > {\XMLDBstoplineorientedlayout}
Thanks Simon! Such line-oriented environment is also a solution.
Pawel,
you can learns a few tricks from x-contml and other x-* modules
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
