From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/26280 Path: news.gmane.org!not-for-mail From: "Randall Skelton" Newsgroups: gmane.comp.tex.context Subject: Multi-page tables Date: Wed, 8 Mar 2006 14:44:08 -0500 Message-ID: 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 1141847075 14348 80.91.229.2 (8 Mar 2006 19:44:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 8 Mar 2006 19:44:35 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Mar 08 20:44:33 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 1FH4a3-0002RG-2r for gctc-ntg-context-518@m.gmane.org; Wed, 08 Mar 2006 20:44:19 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 81BE71279C; Wed, 8 Mar 2006 20:44:18 +0100 (CET) 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 19804-03; Wed, 8 Mar 2006 20:44:14 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 44CC012780; Wed, 8 Mar 2006 20:44:14 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 60C0F12780 for ; Wed, 8 Mar 2006 20:44:12 +0100 (CET) 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 19787-03 for ; Wed, 8 Mar 2006 20:44:11 +0100 (CET) Original-Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.206]) by ronja.ntg.nl (Postfix) with SMTP id 163381277F for ; Wed, 8 Mar 2006 20:44:10 +0100 (CET) Original-Received: by nproxy.gmail.com with SMTP id c31so209304nfb for ; Wed, 08 Mar 2006 11:44:08 -0800 (PST) Original-Received: by 10.48.233.6 with SMTP id f6mr531814nfh; Wed, 08 Mar 2006 11:44:08 -0800 (PST) Original-Received: by 10.49.63.12 with HTTP; Wed, 8 Mar 2006 11:44:08 -0800 (PST) Original-To: "mailing list for ConTeXt users" Content-Disposition: inline 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:26280 Archived-At: Hi all, I'm having a bit of trouble getting multiple page tables to work when also using \placetable for captions. Essentially, I want: (1) Captions and the ability to reference with \in[]. (2) Alignment within a cell at a decimal point. (3) Span multiple pages with header/footer. I think I would prefer to use the standard 'TABLES' method but it looks like item 2 is only supported in natural tables? Below are two examples. I don't get page breaks in either case and the table runs off the bottom of pages 2 and 3. Thanks, Randall \definepapersize [width=8.5in, height=11in] \setupcaption[table] [location=top] \starttext \section{Testing} This is a silly table test. \placetable[page][tbl:sample] {Sample table caption goes here} {\start \switchtobodyfont[small] \starttablehead \HL \VL command \NC meaning \NC $\lambda$ (deg.) \VL\SR \HL \stoptablehead \starttabletail \HL \stoptabletail \starttables[|c|l|c|] \VL \tex{NC} \NC next column \NC 1.15 \VL\FR \VL \tex{HL} \NC horizontal line \NC 10.20 \VL\MR \VL \tex{VL} \NC vertical line \NC -14.30 \VL\MR \VL \tex{NR} \NC next row \NC -100.00 \VL\MR \VL \tex{SR} \NC single row \NC 2.35 \VL\MR \VL \tex{FR} \NC first row \NC 159.00 \VL\MR \VL \tex{MR} \NC middle row \NC -1.00 \VL\MR \VL \tex{LR} \NC last row \NC nr \VL\MR \VL \tex{NC} \NC next column \NC 1.15 \VL\MR \VL \tex{HL} \NC horizontal line \NC 10.20 \VL\MR \VL \tex{VL} \NC vertical line \NC -14.30 \VL\MR \VL \tex{NR} \NC next row \NC -100.00 \VL\MR \VL \tex{SR} \NC single row \NC 2.35 \VL\MR \VL \tex{FR} \NC first row \NC 159.00 \VL\MR \VL \tex{MR} \NC middle row \NC -1.00 \VL\MR \VL \tex{LR} \NC last row \NC nr \VL\MR \VL \tex{NC} \NC next column \NC 1.15 \VL\MR \VL \tex{HL} \NC horizontal line \NC 10.20 \VL\MR \VL \tex{VL} \NC vertical line \NC -14.30 \VL\MR \VL \tex{NR} \NC next row \NC -100.00 \VL\MR \VL \tex{SR} \NC single row \NC 2.35 \VL\MR \VL \tex{FR} \NC first row \NC 159.00 \VL\MR \VL \tex{MR} \NC middle row \NC -1.00 \VL\MR \VL \tex{LR} \NC last row \NC nr \VL\MR \VL \tex{NC} \NC next column \NC 1.15 \VL\MR \VL \tex{HL} \NC horizontal line \NC 10.20 \VL\MR \VL \tex{VL} \NC vertical line \NC -14.30 \VL\MR \VL \tex{NR} \NC next row \NC -100.00 \VL\MR \VL \tex{SR} \NC single row \NC 2.35 \VL\MR \VL \tex{FR} \NC first row \NC 159.00 \VL\MR \VL \tex{MR} \NC middle row \NC -1.00 \VL\MR \VL \tex{LR} \NC last row \NC nr \VL\MR \VL \tex{NC} \NC next column \NC 1.15 \VL\MR \VL \tex{HL} \NC horizontal line \NC 10.20 \VL\MR \VL \tex{VL} \NC vertical line \NC -14.30 \VL\MR \VL \tex{NR} \NC next row \NC -100.00 \VL\MR \VL \tex{SR} \NC single row \NC 2.35 \VL\MR \VL \tex{FR} \NC first row \NC 159.00 \VL\MR \VL \tex{MR} \NC middle row \NC -1.00 \VL\MR \VL \tex{LR} \NC last row \NC nr \VL\MR \VL \tex{NC} \NC next column \NC 1.15 \VL\MR \VL \tex{HL} \NC horizontal line \NC 10.20 \VL\MR \VL \tex{VL} \NC vertical line \NC -14.30 \VL\MR \VL \tex{NR} \NC next row \NC -100.00 \VL\MR \VL \tex{SR} \NC single row \NC 2.35 \VL\MR \VL \tex{FR} \NC first row \NC 159.00 \VL\MR \VL \tex{MR} \NC middle row \NC -1.00 \VL\MR \VL \tex{LR} \NC last row \NC nr \VL\LR \stoptables \stop} \section{Natural Testing} This is a silly natural table test. \placetable[page][tbl:naturalSample] {Sample table caption goes here} {\start \switchtobodyfont[small] \bTABLE[split=repeat, splitmethod=a] % Outside border \setupTABLE[frame=off] \setupTABLE[column][first][leftframe=on] \setupTABLE[column][last][rightframe=on] \setupTABLE[row][first][topframe=on] \setupTABLE[row][last][bottomframe=on] % Heading line bottom rule \setupTABLE[row][first][bottomframe=on] % Alignment \setupTABLE[column][1][width=2.5cm,align=middle] \setupTABLE[column][2][width=2.5cm,align=right] \setupTABLE[column][3][width=2.5cm,alignmentcharacter={.},aligncharacter=yes,align=middle] % Header \bTABLEhead \bTR\bTD command \eTD\bTD meaning \eTD\bTD $\lambda$ (deg.) \eTD\eTR \eTABLEhead % Body \bTABLEbody \bTR\bTD \tex{NC} \eTD\bTD next column \eTD\bTD 1.15 \eTD\eTR \bTR\bTD \tex{HL} \eTD\bTD horizontal line \eTD\bTD 10.20 \eTD\eTR \bTR\bTD \tex{VL} \eTD\bTD vertical line \eTD\bTD -14.30 \eTD\eTR \bTR\bTD \tex{NR} \eTD\bTD next row \eTD\bTD -100.00 \eTD\eTR \bTR\bTD \tex{SR} \eTD\bTD single row \eTD\bTD 2.35 \eTD\eTR \bTR\bTD \tex{FR} \eTD\bTD first row \eTD\bTD 159.00 \eTD\eTR \bTR\bTD \tex{MR} \eTD\bTD middle row \eTD\bTD -1.00 \eTD\eTR \bTR\bTD \tex{LR} \eTD\bTD last row \eTD\bTD nr \eTD\eTR \bTR\bTD \tex{NC} \eTD\bTD next column \eTD\bTD 1.15 \eTD\eTR \bTR\bTD \tex{HL} \eTD\bTD horizontal line \eTD\bTD 10.20 \eTD\eTR \bTR\bTD \tex{VL} \eTD\bTD vertical line \eTD\bTD -14.30 \eTD\eTR \bTR\bTD \tex{NR} \eTD\bTD next row \eTD\bTD -100.00 \eTD\eTR \bTR\bTD \tex{SR} \eTD\bTD single row \eTD\bTD 2.35 \eTD\eTR \bTR\bTD \tex{FR} \eTD\bTD first row \eTD\bTD 159.00 \eTD\eTR \bTR\bTD \tex{MR} \eTD\bTD middle row \eTD\bTD -1.00 \eTD\eTR \bTR\bTD \tex{LR} \eTD\bTD last row \eTD\bTD nr \eTD\eTR \bTR\bTD \tex{NC} \eTD\bTD next column \eTD\bTD 1.15 \eTD\eTR \bTR\bTD \tex{HL} \eTD\bTD horizontal line \eTD\bTD 10.20 \eTD\eTR \bTR\bTD \tex{VL} \eTD\bTD vertical line \eTD\bTD -14.30 \eTD\eTR \bTR\bTD \tex{NR} \eTD\bTD next row \eTD\bTD -100.00 \eTD\eTR \bTR\bTD \tex{SR} \eTD\bTD single row \eTD\bTD 2.35 \eTD\eTR \bTR\bTD \tex{FR} \eTD\bTD first row \eTD\bTD 159.00 \eTD\eTR \bTR\bTD \tex{MR} \eTD\bTD middle row \eTD\bTD -1.00 \eTD\eTR \bTR\bTD \tex{LR} \eTD\bTD last row \eTD\bTD nr \eTD\eTR \bTR\bTD \tex{NC} \eTD\bTD next column \eTD\bTD 1.15 \eTD\eTR \bTR\bTD \tex{HL} \eTD\bTD horizontal line \eTD\bTD 10.20 \eTD\eTR \bTR\bTD \tex{VL} \eTD\bTD vertical line \eTD\bTD -14.30 \eTD\eTR \bTR\bTD \tex{NR} \eTD\bTD next row \eTD\bTD -100.00 \eTD\eTR \bTR\bTD \tex{SR} \eTD\bTD single row \eTD\bTD 2.35 \eTD\eTR \bTR\bTD \tex{FR} \eTD\bTD first row \eTD\bTD 159.00 \eTD\eTR \bTR\bTD \tex{MR} \eTD\bTD middle row \eTD\bTD -1.00 \eTD\eTR \bTR\bTD \tex{LR} \eTD\bTD last row \eTD\bTD nr \eTD\eTR \bTR\bTD \tex{NC} \eTD\bTD next column \eTD\bTD 1.15 \eTD\eTR \bTR\bTD \tex{HL} \eTD\bTD horizontal line \eTD\bTD 10.20 \eTD\eTR \bTR\bTD \tex{VL} \eTD\bTD vertical line \eTD\bTD -14.30 \eTD\eTR \bTR\bTD \tex{NR} \eTD\bTD next row \eTD\bTD -100.00 \eTD\eTR \bTR\bTD \tex{SR} \eTD\bTD single row \eTD\bTD 2.35 \eTD\eTR \bTR\bTD \tex{FR} \eTD\bTD first row \eTD\bTD 159.00 \eTD\eTR \bTR\bTD \tex{MR} \eTD\bTD middle row \eTD\bTD -1.00 \eTD\eTR \bTR\bTD \tex{LR} \eTD\bTD last row \eTD\bTD nr \eTD\eTR \bTR\bTD \tex{NC} \eTD\bTD next column \eTD\bTD 1.15 \eTD\eTR \bTR\bTD \tex{HL} \eTD\bTD horizontal line \eTD\bTD 10.20 \eTD\eTR \bTR\bTD \tex{VL} \eTD\bTD vertical line \eTD\bTD -14.30 \eTD\eTR \bTR\bTD \tex{NR} \eTD\bTD next row \eTD\bTD -100.00 \eTD\eTR \bTR\bTD \tex{SR} \eTD\bTD single row \eTD\bTD 2.35 \eTD\eTR \bTR\bTD \tex{FR} \eTD\bTD first row \eTD\bTD 159.00 \eTD\eTR \bTR\bTD \tex{MR} \eTD\bTD middle row \eTD\bTD -1.00 \eTD\eTR \bTR\bTD \tex{LR} \eTD\bTD last row \eTD\bTD nr \eTD\eTR \eTABLEbody \eTABLE \stop} \stoptext