Hi Mathias,

I tested your sample-code with the minimals

This is LuaTeX, Version beta-0.50.0-2009122422
ConTeXt ver: 2010.01.11 14:57 MKIV fmt: 2010.1.11 int: english/ english

The outcome is to my knowledge correct See attachment.

Kind regards
Willi

Attachment: backgrounds.pdf
Description: Adobe PDF document



On Jan 14, 2010, at 9:55 PM, Matthias Weber wrote:

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
______________________________________________________________________ _____________

___________________________________________________________________________________
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