Am 03.11.2011 um 03:41 schrieb Kip Warner:
Hey list,
I can't recall if either I explicitly changed something in my ConTeXt typesetting or if this happened with the most recent version of ConTeXt I pulled from Adam's PPA. I am using version 2011.11.02 20:10.
Here is a minimal example: \definestartstop [CodeExample] [before={ \crlf \setupbackground[frame=on, before=\blank, after=\blank, corner=round, topoffset=0.5cm, leftoffset=0.5cm, rightoffset=0.5cm, bottomoffset=0.5cm] \startbackground \startlines }, after={ \stoplines \stopbackground \crlf }, commands={\setupalign[right]}, style=type]
??? \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] \starttext Hello World \startCodeExample Hello World Again \stopCodeExample \stoptext Wolfgang