From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/13235 Path: main.gmane.org!not-for-mail From: Michal Kvasnicka Newsgroups: gmane.comp.tex.context Subject: Re: Table with metapost framing and colors Date: Mon, 15 Sep 2003 10:32:37 +0200 Sender: ntg-context-admin@ntg.nl Message-ID: <3F657925.6080503@econ.muni.cz> References: <5.2.0.9.1.20030913230718.02740448@localhost> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1063615246 4196 80.91.224.253 (15 Sep 2003 08:40:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 15 Sep 2003 08:40:46 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Mon Sep 15 10:40:45 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19youb-0003yy-00 for ; Mon, 15 Sep 2003 10:40:45 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 0F7F510B2D; Mon, 15 Sep 2003 10:40:41 +0200 (MEST) Original-Received: from anor.ics.muni.cz (anor.ics.muni.cz [147.251.4.35]) by ref.ntg.nl (Postfix) with ESMTP id 971EC10ACC for ; Mon, 15 Sep 2003 10:34:00 +0200 (MEST) Original-Received: from merkur.econ.muni.cz (merkur.econ.muni.cz [147.251.189.10]) by anor.ics.muni.cz (8.12.1/8.12.1) with ESMTP id h8F8XwTP020843 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Mon, 15 Sep 2003 10:33:58 +0200 Original-Received: from econ.muni.cz (ke-kvasnicka.econ.muni.cz [147.251.224.167]) by merkur.econ.muni.cz (8.12.3/8.11.2/SuSE Linux 8.11.1-0.5) with ESMTP id h8F8XwCR005410 for ; Mon, 15 Sep 2003 10:33:58 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, en, cs Original-To: ntg-context@ntg.nl X-Muni-Spam-TestIP: 147.251.189.10 X-Muni-Virus-Test: Clean 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:13235 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:13235 Wow. If I knew this mechanism some time ago, I would same a lot of time. :-( It is great. Many thanks. BTW, is it possile to set a different rule-thickness for different part of the frame (e.g. leftframerulethikness=3pt etc.)? Is it possible to set this way also offset? With many thanks Michal Kvasnicka > however, i wonder if you really need all that mp code: > > \defineframedcontent[SomeTable][offset=1pt,rulethickness=2pt] > \startframedcontent[SomeTable] > \setupTABLE[2][1][background=color,backgroundcolor=black,foregroundcolor=white] > > \bTABLE > \bTR\bTD Date \eTD\bTD Index CPI \eTD\eTR > \bTR\bTD jan 1991 \eTD\bTD 59.4 \eTD\eTR > \bTR\bTD feb 1991 \eTD\bTD 63.1 \eTD\eTR > \bTR\bTD mar 1991 \eTD\bTD 65.7 \eTD\eTR > \bTR\bTD $\vdots$ \eTD\bTD $\vdots$ \eTD\eTR > \bTR\bTD dec 1995 \eTD\bTD 112.5 \eTD\eTR > \eTABLE > \stopframedcontent > > (\defineframedcontent is just a kind of preset framed text) > ------------------------------------------------------------------------- > 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 > ------------------------------------------------------------------------- > > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context