From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/13221 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Newbie wants to make long tables Date: Sat, 13 Sep 2003 22:54:23 +0200 Sender: ntg-context-admin@ntg.nl Message-ID: <5.2.0.9.1.20030913224523.0865b020@localhost> References: <5.2.0.9.1.20030821232737.0128e4f8@server-1> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: sea.gmane.org 1063490684 18085 80.91.224.253 (13 Sep 2003 22:04:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 13 Sep 2003 22:04:44 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Sun Sep 14 00:04:42 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 19yIVW-0005UE-00 for ; Sun, 14 Sep 2003 00:04:42 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 712B210B4F; Sun, 14 Sep 2003 00:04:40 +0200 (MEST) Original-Received: from mail.solcon.net (mail.solcon.net [212.45.33.5]) by ref.ntg.nl (Postfix) with ESMTP id 2DBFB10ACC for ; Sat, 13 Sep 2003 23:47:24 +0200 (MEST) Original-Received: from server-1.pragma-net.nl (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by mail.solcon.net (8.11.6/8.9.3) with ESMTP id h8DLlCw27319 for ; Sat, 13 Sep 2003 23:47:12 +0200 Original-Received: by server-1.pragma-net.nl (Postfix, from userid 65534) id F229421F48; Sat, 13 Sep 2003 23:47:16 +0200 (CEST) Original-Received: from laptop-3.wxs.nl (unknown [10.100.1.1]) by server-1.pragma-net.nl (Postfix) with ESMTP id 26D4621F21 for ; Sat, 13 Sep 2003 21:47:14 +0000 (UTC) X-Sender: hagen-mail@localhost X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Original-To: ntg-context@ntg.nl In-Reply-To: Original-References: <5.2.0.9.1.20030821232737.0128e4f8@server-1> 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:13221 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:13221 At 08:36 12/09/2003 +0100, you wrote: >Hans, >I have been looking at core-ntb (dangerous bend for me) and I found >[b|e]TABLEhead, [b|e]TABLEbody and [b|e]TABLEfoot. I then put 2 + 2 together >and made 5. It doesn't work as I expected. Are Table heads and foots >available? TABLEbody gives no output and TABLEhead and TABLEfoot just place >themselves at the end of table (head first, foot next) rather than at the >beginning and end of each column. One version of my test code is below; > >\bTABLEhead >\bTR \bTH Head 1 \eTH \bTH Head 2 \eTH \eTR >\eTABLEhead >\bTABLEfoot >\bTR \bTH Foot 1 \eTH \bTH Foot 2 \eTH \eTR >\eTABLEfoot >\bTABLE[split=yes] >\dorecurse{40}{\bTR \bTD left \eTD\bTD right \eTD \eTR} >\eTABLE > >I have been looking forward to this feature for some time. If you work on >it, it would be nice to have the middle table breaks to have their own heads >and foots such that one can put 'continued' etc. into the table. the following will repeat the head, \bTABLE[split=repeat] \bTABLEhead \bTR \bTH Head 1 \eTH \bTH Head 2 \eTH \eTR \eTABLEhead \bTABLEfoot \bTR \bTH Foot 1 \eTH \bTH Foot 2 \eTH \eTR \eTABLEfoot \bTABLEbody \dorecurse{40}{\bTR \bTD left \eTD\bTD right \eTD \eTR} \eTABLEbody \eTABLE since foots often contain sums or so, they are not repeated, we could consider something \bMIDDLE \eMIDDLE but it would require some close re-reading of the source code since the available size calculation is tricky (unless we limit sucn a middle to a one liner 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 -------------------------------------------------------------------------