From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/18334 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Framed text splitting over pages Date: Wed, 16 Feb 2005 14:28:55 +0100 Message-ID: <42134A97.6050104@wxs.nl> References: <20050216110547.GA54768@prioris.mini.pw.edu.pl> <42132DCB.1050204@wxs.nl> <20050216125151.GA12376@thirst.unx.era.pl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1108560381 11624 80.91.229.2 (16 Feb 2005 13:26:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 16 Feb 2005 13:26:21 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Feb 16 14:26:21 2005 Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1D1PC4-0003Bc-UK for gctc-ntg-context-518@m.gmane.org; Wed, 16 Feb 2005 14:26:17 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 05DE3127C9; Wed, 16 Feb 2005 14:28:55 +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 11644-06; Wed, 16 Feb 2005 14:28:51 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5C7F81279A; Wed, 16 Feb 2005 14:28:51 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 58F791279A for ; Wed, 16 Feb 2005 14:28:50 +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 11878-01 for ; Wed, 16 Feb 2005 14:28:49 +0100 (CET) Original-Received: from mailrelay02.solcon.nl (maillb.solcon.nl [212.45.32.200]) by ronja.ntg.nl (Postfix) with ESMTP id 7A49212784 for ; Wed, 16 Feb 2005 14:28:49 +0100 (CET) Original-Received: from server-1.pragma-net.nl (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by mailrelay02.solcon.nl (8.12.11/SQL-8.12.11-5/8.12.11) with ESMTP id j1GDSkV0010095 for ; Wed, 16 Feb 2005 14:28:46 +0100 Original-Received: by server-1.pragma-net.nl (Postfix, from userid 65534) id 0FE451A218; Wed, 16 Feb 2005 14:17:41 +0100 (CET) Original-Received: from [10.100.1.191] (unknown [10.100.1.191]) by server-1.pragma-net.nl (Postfix) with ESMTP id 0EF6717B8A for ; Wed, 16 Feb 2005 13:17:41 +0000 (UTC) User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <20050216125151.GA12376@thirst.unx.era.pl> X-Virus-Scanned: ClamAV 0.80/705/Fri Feb 11 17:51:32 2005 clamav-milter version 0.80j on mailrelay02 X-Virus-Status: Clean 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 X-MailScanner-From: ntg-context-bounces@ntg.nl X-MailScanner-To: gctc-ntg-context-518@m.gmane.org Xref: main.gmane.org gmane.comp.tex.context:18334 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:18334 Hi > It gives me frame too, but definetextbackground doesn't accept framecorner=round > parameter. I use ConTeXt ver: 2004.6.30 fmt: 2004.7.5. Is it too old? ok, this is old functionality > {code snippet} > \definetextbackground[zak][state=start,framecolor=blue,framecorner=round] > >>(see core-pos.tex for the real dirty details and how to hook in your own mp >>code) >> >>todo, excercise: only topline at first page and bottom line at last page >>(not that hard -) > > > Would work nicely. Not in this case though, as rounded frames would look rather > silly this way :) \setupcolors[state=start] \definetextbackground[zak][state=start,corner=round,radius=10pt] \starttext \starttextbackground[zak] \dorecurse{10}{\input bryson\endgraf} \stoptextbackground \stoptext ps. these are the mappings to mp: gridtype=\getvalue{\??td#1\c!alternative}, filltype=\getvalue{\??td#1\c!background}, linetype=\getvalue{\??td#1\c!frame}, gridcolor=\getvalue{\??td#1\c!framecolor}, linecolor=\getvalue{\??td#1\c!framecolor}, fillcolor=\getvalue{\??td#1\c!backgroundcolor}, filloffset=\getvalue{\??td#1\c!backgroundoffset}, gridwidth=\getvalue{\??td#1\c!rulethickness}, linewidth=\getvalue{\??td#1\c!rulethickness}, lineradius=\getvalue{\??td#1\c!radius}}}% ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------