At 22:11 12/05/2003 +0200, you wrote:
Hi,
I'm trying to make a frame around the verbatim text. The approach that first came to my mind: \framed{% \starttyping quite a lot of multiline verbatim stuff \stoptyping} doesn't work.
Any ideas how to achieve that (and still have possibility of applying background to that frame)?
for verbatim that is part of the text flow: \setupcolors[state=start] \definetextbackground [whatever] [state=start, before=\blank, after=\blank, location=paragraph] \setuptyping [before={\starttextbackground[whatever]}, after={\stoptextbackground}] \starttext test \starttyping whatever you want to do \stoptyping test \stoptext otherwise use \startframedtext ... \stopframedtext 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 ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------