From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/16393 Path: main.gmane.org!not-for-mail From: Peter Rolf Newsgroups: gmane.comp.tex.context Subject: row background (TABLE) Date: Wed, 08 Sep 2004 14:09:04 +0200 Sender: ntg-context-bounces@ntg.nl Message-ID: <413EF660.2080006@arcor.de> Reply-To: mailing list for ConTeXt users 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 1094645371 10020 80.91.224.253 (8 Sep 2004 12:09:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 8 Sep 2004 12:09:31 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Sep 08 14:09:16 2004 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 1C51GF-00080p-00 for ; Wed, 08 Sep 2004 14:09:15 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1E0631278B; Wed, 8 Sep 2004 14:09:15 +0200 (CEST) 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 22443-03; Wed, 8 Sep 2004 14:09:13 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 032901277C; Wed, 8 Sep 2004 14:09:13 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3E5991277C for ; Wed, 8 Sep 2004 14:09:11 +0200 (CEST) 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 22401-03 for ; Wed, 8 Sep 2004 14:09:10 +0200 (CEST) Original-Received: from mail-in-01.arcor-online.net (unknown [151.189.21.45]) by ronja.ntg.nl (Postfix) with ESMTP id B2E1812777 for ; Wed, 8 Sep 2004 14:09:10 +0200 (CEST) Original-Received: from [145.254.95.247] (dialin-145-254-095-247.arcor-ip.net [145.254.95.247]) by mail-in-01.arcor-online.net (Postfix) with ESMTP id 2AD222A938 for ; Wed, 8 Sep 2004 14:09:09 +0200 (CEST) User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.1) Gecko/20040707 X-Accept-Language: en-us, en Original-To: NTG-ConTeXt X-Enigmail-Version: 0.84.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime 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: , Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:16393 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:16393 Hello, I need a way to set the background for a complete row in the TABLE environment. TABLE uses \framed for every single entry. But if I set the framed parameters right after \bTR, it sets the defaults for all the \bTD \eTD entries and not for that row. See example below to give you an idea. So what I need is an additional \framed for every row entry.... or any other miracle :) Greetings, Peter % interface=en output=pdftex \setupcolors[state=start] \startuniqueMPgraphic{row} save ow,oh,p ; path p ; ow:= \overlaywidth ; oh:= \overlayheight ; p:= unitsquare xyscaled(ow,oh) ; fill p withcolor yellow ; draw origin--(ow,0) yshifted oh withcolor blue ; clip currentpicture to boundingbox p ; \stopuniqueMPgraphic \defineoverlay[rowbg] [\uniqueMPgraphic{row}] \starttext % what I want (but in a TABLE) \framed[background={rowbg}, align={middle,lohi}, strut=no, offset=0pt]{% \setupframed[frame=off] \framed{Just}\framed[background=color,backgroundcolor=white]{a stupid}\framed{test}} \blank[big] % what I get \bTABLE \bTR [background={rowbg}, offset=0pt] \bTD Just \eTD \bTD [background=color,backgroundcolor=white] a stupid \eTD \bTD test \eTD \eTR \eTABLE \stoptext