Am 13.01.2014 um 19:55 schrieb Elspeth McGullicuddy
In the following example \defineframedtext take precedence over \defineframed, and also I don't know how I can get rid of the "extra padding" (looks like a good \baselineskip before the text). (What I want is the first output, but with the readability of \startXY \stopXY)
As for the "take precedence", I can change the name; But for the extra padding I don't know how to remove it. I could add a \vskip-\baselineskip at the beginning, but there is probably a better solution.
\usemodule[annotation] \defineannotation [blueframed] [alternative=command, command=\BlueFramedCommand] \define[2]\BlueFramedCommand {\BlueFramed{#2}} \defineframed [BlueFramed] [width=local, frame=off, rulethickness=2mm, backgroundoffset=1mm, align=yes, background=color, backgroundcolor=lightblue, corner=round, radius=1.5mm] \setupcolor[x11] \starttext \blueframed{\input{knuth}} \startblueframed \input{knuth} \stopblueframed \stoptext Wolfgang