From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/21850 Path: news.gmane.org!not-for-mail From: Eckhart =?iso-8859-1?Q?Guth=F6hrlein?= Newsgroups: gmane.comp.tex.context Subject: multipage table in columns Date: Tue, 9 Aug 2005 15:54:10 +0200 Message-ID: <20050809135410.GA26757@cebitec.uni-bielefeld.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1123595731 2187 80.91.229.2 (9 Aug 2005 13:55:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 9 Aug 2005 13:55:31 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Aug 09 15:55:27 2005 Return-path: 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 1E2UYh-0000kH-5n for gctc-ntg-context-518@m.gmane.org; Tue, 09 Aug 2005 15:54:23 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 404CE127B5; Tue, 9 Aug 2005 15:54:22 +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 18595-03; Tue, 9 Aug 2005 15:54:18 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BB0F3127A9; Tue, 9 Aug 2005 15:54:17 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E26F1127A9 for ; Tue, 9 Aug 2005 15:54:15 +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 18548-04 for ; Tue, 9 Aug 2005 15:54:15 +0200 (CEST) Original-Received: from smtp-relay.CeBiTec.Uni-Bielefeld.DE (sauron.cebitec.uni-bielefeld.de [129.70.160.28]) by ronja.ntg.nl (Postfix) with ESMTP id F35D0127A8 for ; Tue, 9 Aug 2005 15:54:14 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id EC34E21F for ; Tue, 9 Aug 2005 15:54:13 +0200 (MEST) Original-Received: from smtp-relay.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (sauron [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 24648-01-7 for ; Tue, 9 Aug 2005 15:54:12 +0200 (MEST) Original-Received: from gollum.Genetik.Uni-Bielefeld.DE (gollum.CeBiTec.Uni-Bielefeld.DE [129.70.160.29]) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id EAA5221D for ; Tue, 9 Aug 2005 15:54:12 +0200 (MEST) Original-Received: by gollum.Genetik.Uni-Bielefeld.DE (Postfix, from userid 13119) id B81431211; Tue, 9 Aug 2005 15:54:12 +0200 (MEST) Original-To: ntg-context@ntg.nl Mail-Followup-To: ntg-context@ntg.nl Content-Disposition: inline User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new at cebitec.uni-bielefeld.de X-Virus-Scanned: 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-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on smtp.ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:21850 Hi all, I have to build a table which should split over several columns (probably two) and, if necessary, across pages. I have tried this with \starttext \startcolumns[n=3] \setupTABLE[split=yes] \bTABLE \bTABLEhead \bTR \bTD Head \eTD \bTD Head~2 \eTD \eTR \eTABLEhead \bTABLEbody \bTR \bTD once \eTD \bTD once~2 \eTD \eTR \dorecurse{120}{% \bTR \bTD test \eTD \bTD test~2 \eTD \eTR } \eTABLEbody \bTABLEfoot \bTR \bTD low \eTD \bTD low~2 \eTD \eTR \eTABLEfoot \eTABLE \stopcolumns \stoptext This does something at least similar to what I had in mind :-) Problems: - As soon a page break is involved, the balancing algorithm gets totally confused. For example, the code above gives me three pages, with a single cell on the second one. The head is repeated only on the third page. - How can I make a column break trigger head repetition instead of a page break? - How to get the footer repeated at the end of each column, too? Furthermore, there are some old messages concerning captions for multipage tables, but I could not find a satisfactory answer. How can I get a caption on the first page and something like "Table x cont." on the following ones? Thanks, -- Eckhart