From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/17806 Path: main.gmane.org!not-for-mail From: Matthias Weber Newsgroups: gmane.comp.tex.context Subject: Problem with backgrounds and page breaks Date: Mon, 10 Jan 2005 11:12:26 -0500 Message-ID: <6B6CC5D9-6322-11D9-B2C7-0003934F9514@indiana.edu> References: <3.0.5.32.20041102061702.008e6640@mail.northcoast.com> <3.0.5.32.20041030142258.008da250@mail.northcoast.com> <3.0.5.32.20041030142258.008da250@mail.northcoast.com> <3.0.5.32.20041102061702.008e6640@mail.northcoast.com> <3.0.5.32.20041102094749.008e7b60@mail.northcoast.com> <41B45338.80401@hoki.ibp.fhg.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1105373562 19231 80.91.229.6 (10 Jan 2005 16:12:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 10 Jan 2005 16:12:42 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Jan 10 17:12:36 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Co29k-0000K4-00 for ; Mon, 10 Jan 2005 17:12:36 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 83265127B2; Mon, 10 Jan 2005 17:12:35 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 01708-04; Mon, 10 Jan 2005 17:12:33 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 031551278B; Mon, 10 Jan 2005 17:12:33 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 892031278B for ; Mon, 10 Jan 2005 17:12:31 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 01700-02 for ; Mon, 10 Jan 2005 17:12:30 +0100 (CET) Original-Received: from plounts.uits.indiana.edu (unknown [129.79.1.73]) by ronja.ntg.nl (Postfix) with ESMTP id 88F3412788 for ; Mon, 10 Jan 2005 17:12:30 +0100 (CET) Original-Received: from mail-relay.iu.edu (fontz.uits.indiana.edu [129.79.1.76]) by plounts.uits.indiana.edu (8.12.10/8.12.10/IUPO) with ESMTP id j0AGCRiB027422 for ; Mon, 10 Jan 2005 11:12:27 -0500 (EST) Original-Received: from [129.79.94.193] (129-79-94-193.dhcp-bl.indiana.edu [129.79.94.193]) (authenticated bits=0) by mail-relay.iu.edu (8.12.10/8.12.10/IUPO) with ESMTP id j0AGCTqt017917 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO) for ; Mon, 10 Jan 2005 11:12:29 -0500 (EST) In-Reply-To: Original-To: mailing list for ConTeXt users X-Mailer: Apple Mail (2.619) X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:17806 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:17806 Hello, when using text background colors in enumerations, I run into a problem whenever the enumeration appears on the beginning of a page: Then, the background extends over some part (sometimes all) of the previous page. I can manually correct this by putting a \break just before the enumeration, but this is a little tedious, as I am frequently reformatting the document. Below is a small example. Thanks for any help! (TeXExec 5.2.3 , ConTeXt ver: 2004.11.23 fmt: 2004.12.16 int: english mes: english) Matthias %ConText \mainlanguage [en] \setupcolors[state=start] \setupcolor[rgb] % Exercises and Activities \definecolor[exc] [r=.94,g=.9,b=.9] \definetextbackground [exbackground] [backgroundcolor=exc, corner=round, before=\blank, after=\blank, leftoffset=5pt, rightoffset=5pt, topoffset=5pt, bottomoffset=5pt, frame=on, framecolor=darkgreen, location=paragraph, color=darkgreen] \defineenumeration [exercise] [before={\starttextbackground[exbackground]}, after={\stoptextbackground}, way=bysection, text=Exercise, start=1, location=hanging, letter=rm] \setuppapersize[S6][S6] \setupbodyfont[12pt] \starttext \input tufte \input tufte new line new line new line \startexercise Please explain how to get rid of the additional framed stuff on page 1. \stopexercise \input tufte \stoptext