On Thu, 2011-07-07 at 07:04 +0200, Wolfgang Schuster wrote:
Am 07.07.2011 um 03:16 schrieb Kip Warner:
I'm not very competent with ConTeXt, but I tried to translate what you and wrote into the following:
[...]
Solution 1:
\definestartstop [SpecialFramed] [ before={\setupbackground[frame=on,before=\blank,after=\blank]\startbackground}, after=\stopbackground, %commands={\setupalign[flushleft,broad]}, style=italic]
\starttext
\input knuth
\startSpecialFramed \dorecurse{6}{\input knuth\par} \stopSpecialFramed
\input knuth
\stoptext
Solution 2:
\definetextbackground [SpecialFramed] [ before=\blank, after=\blank, background=, framecolor=black, location=paragraph, %align={flushleft,broad}, style=italic]
\starttext
\input knuth
\startSpecialFramed \dorecurse{6}{\input knuth\par} \stopSpecialFramed
\input knuth
\stoptext
Wolfgang
Thanks Wolfgang. It worked. I also didn't know about \definestartstop. Thanks for that too. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com