From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/11625 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re[2]: Backgrounds Date: Tue, 25 Mar 2003 09:46:37 +0100 Sender: ntg-context-admin@ntg.nl Message-ID: <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"; format=flowed X-Trace: main.gmane.org 1048582224 5185 80.91.224.249 (25 Mar 2003 08:50:24 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 25 Mar 2003 08:50:24 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Tue Mar 25 09:50:21 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 18xk8S-0001LF-00 for ; Tue, 25 Mar 2003 09:50:20 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 7A49210B2F; Tue, 25 Mar 2003 09:50:17 +0100 (MET) Original-Received: from mail.solcon.nl (mail.solcon.nl [212.45.33.11]) by ref.ntg.nl (Postfix) with ESMTP id 105EC10B2F for ; Tue, 25 Mar 2003 09:47:03 +0100 (MET) Original-Received: from server-1.pragma-net.nl (wc-58016.solcon.nl [212.45.58.16]) by mail.solcon.nl (8.12.5/pre1.0-MySQL/8.12.5) with ESMTP id h2P8kojx007119 for ; Tue, 25 Mar 2003 09:46:51 +0100 Original-Received: from LAPTOP-3.wxs.nl (laptop-3 [10.100.1.191]) by server-1.pragma-net.nl (8.12.3/8.12.2) with ESMTP id h2P8kxEe015895 for ; Tue, 25 Mar 2003 09:47:01 +0100 X-Sender: hagen-mail@server-1 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Original-To: ntg-context@ntg.nl X-RAVMilter-Version: 8.4.1(snapshot 20020919) (mail.solcon.nl) 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:11625 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:11625 At 07:52 PM 3/24/2003 +0100, you wrote: >Actually I did have a look at it (assuming you're talking about >textbackgrounds), but I found their behaviour to be rather >different from that of backgrounds even when location=paragraph. >For example, setting frame=on doesn't give me a frame, and it >doesn't seem to support rounded corners for neither the background >nor the frame. Also, setting a largish offset "covers" the text >that precedes the background, and this isn't nice at all. I think >that textbackgrounds and backgrounds serve different purpouses. > >And what about the other requests? (Behaviour at splits, different >corner styles) \starttext \setupcolors[state=start] \definetextbackground[gb][state=start] \startuseMPgraphic{mpos:par:columnset} for i := 1 upto nofmultipars : fill multipars[i] enlarged 5pt cornered 5pt withcolor green ; draw multipars[i] enlarged 5pt cornered 5pt withcolor red ; endfor ; \stopuseMPgraphic \input tufte \blank \starttextbackground[gb] \dorecurse{10}{\input tufte \par} \stoptextbackground \blank \input tufte \stoptext they split, can have corners, lay behind the text, ... only some spacing issues need to be solved (working on that on and off) Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------