From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/11635 Path: main.gmane.org!not-for-mail From: Giuseppe Bilotta Newsgroups: gmane.comp.tex.context Subject: Re[3]: Backgrounds Date: Tue, 25 Mar 2003 11:43:58 +0100 Sender: ntg-context-admin@ntg.nl Message-ID: <1205637386.20030325114358@iol.it> References: <5.1.0.14.1.20030325094633.031a8c80@server-1> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1048589894 418 80.91.224.249 (25 Mar 2003 10:58:14 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 25 Mar 2003 10:58:14 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Tue Mar 25 11:58:13 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18xm8D-00006c-00 for ; Tue, 25 Mar 2003 11:58:13 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 20E1510B2B; Tue, 25 Mar 2003 11:58:10 +0100 (MET) Original-Received: from smtp2.libero.it (smtp2.libero.it [193.70.192.52]) by ref.ntg.nl (Postfix) with ESMTP id 0FAA310B5A for ; Tue, 25 Mar 2003 11:47:58 +0100 (MET) Original-Received: from [151.29.131.87] (151.29.131.87) by smtp2.libero.it (6.7.015) id 3E48BA3400FD537F for ntg-context@ntg.nl; Tue, 25 Mar 2003 11:48:00 +0100 X-Mailer: The Bat! (v1.63 Beta/7) X-Priority: 3 (Normal) Original-To: ntg-context@ntg.nl In-Reply-To: <5.1.0.14.1.20030325094633.031a8c80@server-1> Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:11635 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:11635 Tuesday, March 25, 2003 Hans Hagen wrote: HH> \starttext HH> \setupcolors[state=start] HH> \definetextbackground[gb][state=start] HH> \startuseMPgraphic{mpos:par:columnset} HH> for i := 1 upto nofmultipars : HH> fill multipars[i] enlarged 5pt cornered 5pt withcolor green ; HH> draw multipars[i] enlarged 5pt cornered 5pt withcolor red ; HH> endfor ; HH> \stopuseMPgraphic HH> \input tufte \blank HH> \starttextbackground[gb] HH> \dorecurse{10}{\input tufte \par} HH> \stoptextbackground HH> \blank \input tufte HH> \stoptext HH> they split, can have corners, lay behind the text, ... Ok, I start to see the picture: one must use MetaPost. I can accept that :) (even if it's somewhat clumsier, but this is no problem, one can write interfaces for that). The problem is still that I cannot separate the behaviour at the end of the background from the behaviour at a split. What I'm looking for is something like this: /-------------------------------\ | text text text text text text | | text text text text text text | | text text text text text text | | text text text text text text | ---- (page split) -------------- | text text text text text text | | text text text text text text | | text text text text text text | | text text text text text text | \-------------------------------/ Instead, what I get is this: /-------------------------------\ | text text text text text text | | text text text text text text | | text text text text text text | | text text text text text text | \-------------------------------/ ---- (page split) -------------- /-------------------------------\ | text text text text text text | | text text text text text text | | text text text text text text | | text text text text text text | \-------------------------------/ Can the first effect be achieved? -- Giuseppe "Oblomov" Bilotta