ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* xml, verbatim
@ 2001-12-18 18:13 Patrick Gundlach
  2001-12-18 19:03 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Patrick Gundlach @ 2001-12-18 18:13 UTC (permalink / raw)


Hi, 

I'd like to use the "verbatim" environment from html and typset 
it using \starttyping ... \stoptyping like this

<html> 
 [...]
   11
    <pre>
      22
    </pre>
    33 44 55
 [...]
</html>

shoud be typeset like this:

11
\starttyping
    22
\stoptyping
33 44 55 

(I hope you get the idea)

I have tried:

\defineXMLenvironment [pre] \starttyping \stoptyping

but this lead me to 
Runaway argument?
! File ended while scanning use of \copyverbatimline.
<inserted text> 
                \par 
<to be read again> 
                   \relax 
\dodoreadfile ...normalinput \readfilename \relax 
                                                  \the \everyafterreadfile 
\processlocalfile ...#2}\processedfiles #1{#2}{}{}
                                                  \doglobal \decrement \file...
l.50 \processXMLfile {d2.html}

any Ideas?

Viele Grüße,

  Patrick Gundlach


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-12-21 10:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-18 18:13 xml, verbatim Patrick Gundlach
2001-12-18 19:03 ` Hans Hagen
2001-12-21 10:21   ` Patrick Gundlach

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).