From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/9167 Path: main.gmane.org!not-for-mail From: "Duncan Hothersall" Newsgroups: gmane.comp.tex.context Subject: Descriptions/enumerations with a background Date: Tue, 10 Sep 2002 11:52:23 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035399514 1097 80.91.224.250 (23 Oct 2002 18:58:34 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:58:34 +0000 (UTC) Original-To: "ConTeXt Mailing List" Xref: main.gmane.org gmane.comp.tex.context:9167 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:9167 Hello all, I have been trying to set up an enumeration to have a background screen. Having completely failed, I ended up putting a \startbackground ... \stopbackground pair inside the \startsubactivity ... \stopsubactivity, but this does strange things with page breaks, presumbly because it is interfering with the glue between the enumeration title and the body of it. Can anyone help me with a \defineenumeration or \setupenumeration parameter that will make the background go grey? Here's what I have up top: \defineenumeration[activity] [text=Activity, before={\blank[2*big]}, after={\blank[2*big]}] \setupenumerations[activity] [headstyle=\ss\tfa] \setupbackground [background=screen, corner=round, offset=6pt] Here's what I currently do, which doesn't work well: \startsubactivity \startbackground This text sometimes jumps over a page break even when there is lots of space on the page. It can have more than one paragraph in it. \stopbackground \stopsubactivity And here's what I'd like to do: \startsubactivity This text behaves well and has a grey box behind it. It can have more than one paragraph in it too. \stopsubactivity Any pointers as to what to put at the top to make the bottom happen would be gratefully received. Thanks, Duncan