More precisely, what formerly worked (with my 2008 installation, and it still works when I switch back) is the following minimized setup. The frame and the background are gone :(, the red text is there.

Matthias

\setupcolors[state=start]

\definecolor[defc][r=.9,g=.9,b=.94]

\definetextbackground
[defbackground]
[background=color,
backgroundcolor=defc,
align=right,
frame=on,
corner=round,
before=\blank,
after=\blank,
leftoffset=5pt,
rightoffset=5pt,
topoffset=5pt,
bottomoffset=5pt,
framecolor=darkred,
location=paragraph,
color=darkred]

\defineenumeration
[definition]
[before={\starttextbackground[defbackground]},
after={\stoptextbackground},
text=Definition,
way=bysection,
location=hanging,
letter=rm]


\starttext

\startdefinition
\input knuth
\stopdefinition


\input knuth

\stoptext ___________________________________________________________________________________
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