From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/27337 Path: news.gmane.org!not-for-mail From: nico Newsgroups: gmane.comp.tex.context Subject: Re: TABLE 'last line' tag? Date: Fri, 21 Apr 2006 09:07:00 +0200 Message-ID: References: <4447BBC9.1040607@elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1145603043 596 80.91.229.2 (21 Apr 2006 07:04:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 21 Apr 2006 07:04:03 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Apr 21 09:03:59 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org 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 1FWpgI-00066O-Vv for gctc-ntg-context-518@m.gmane.org; Fri, 21 Apr 2006 09:03:55 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 289CC1279F; Fri, 21 Apr 2006 09:03:54 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 25440-01; Fri, 21 Apr 2006 09:03:48 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 74C6812783; Fri, 21 Apr 2006 09:03:48 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9A59612783 for ; Fri, 21 Apr 2006 09:03:46 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 22580-05 for ; Fri, 21 Apr 2006 09:03:45 +0200 (CEST) Original-Received: from swip.net (mailfe02.tele2.fr [212.247.154.44]) by ronja.ntg.nl (Postfix) with SMTP id A09AD1276B for ; Fri, 21 Apr 2006 09:03:45 +0200 (CEST) X-T2-Posting-ID: 3brHPWvyEzVNt0QNlxQWsxGJRDYe7rueGgqwO1zxZAg= X-Cloudmark-Score: 0.000000 [] Original-Received: from [83.179.168.230] (HELO localhost) by mailfe02.swip.net (CommuniGate Pro SMTP 5.0.8) with ESMTP id 184622661 for ntg-context@ntg.nl; Fri, 21 Apr 2006 09:03:42 +0200 Original-To: "mailing list for ConTeXt users" In-Reply-To: User-Agent: Opera M2/7.54 (FreeBSD, build 955) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:27337 Archived-At: On Thu, 20 Apr 2006 17:27:50 -0700, Johannes Graumann wrote: > nico wrote: > >> Why don't you test if the attribute is set before applying it to the TR? >> You see the problem on the last row, but the fact is that you force the >> bottomframe clear for every row (which is dirty IMHO). > It's not that easy, since the bottomframe - once set - is persistent ... > so > every row underneath my header (e.g.) will have 'bottomframe=on' set. No, the options are local to the current level where it is set. If bottomframe is on for one row, it won't set bottomframe to the next rows. In the following example, only two rows (the header and another one in the body) have local bottomframe on, and the last row bottomframe is done with table setup: \starttext \setupTABLE[frame=off] \setupTABLE[row][last][rulethickness=0.90pt,bottomframe=on] \bTABLE \bTABLEhead \bTR[bottomframe=on]\bTH a \eTH\bTH b \eTH\eTR \eTABLEhead \bTABLEbody \bTR\bTD bla \eTD\bTD bla \eTD\eTR \bTR\bTD bla \eTD\bTD bla \eTD\eTR \bTR\bTD bla \eTD\bTD bla \eTD\eTR \bTR[bottomframe=on]\bTD bla \eTD\bTD bla \eTD\eTR \bTR\bTD bla \eTD\bTD bla \eTD\eTR \bTR\bTD bla \eTD\bTD bla \eTD\eTR \eTABLEbody \eTABLE \stoptext You can also put bottomframe only for a cell with bTD[bottomframe=on]...\eTD. Regards, BG