On Thu, 2011-11-03 at 05:26 +0100, Wolfgang Schuster wrote:
> ???

What's wrong?

> \defineframedtext
>   [CodeExampleFrame]
>   [before=\blank,
>    after=\blank,
>    corner=round,
>    offset=0.5cm]
> 
> \definetyping
>   [CodeExample]
>   [before=\startCodeExampleFrame,
>    after=\stopCodeExampleFrame]
> 
> \starttext
> 
> Hello World
> 
> \startCodeExample
> Hello World Again
> \stopCodeExample
> 
> \stoptext
> 
> or
> 
> \definetextbackground
>   [CodeExampleFrame]
>   [before=\blank,
>    after=\blank,
>    corner=round,
>    frame=on,
>    background=,
>    location=paragraph,
>    topoffset=0.5cm,
>    leftoffset=0.5cm]
> 
> \definetyping
>   [CodeExample]
>   [before=\startCodeExampleFrame,
>    after=\stopCodeExampleFrame]

Ok, this latter method works, but the frame is gone now around it. How
do I get it back? Thanks Wolfgang.

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com

Attachment: signature.asc
Description: This is a digitally signed message part

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to