From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/31059 Path: news.gmane.org!not-for-mail From: Peter Rolf Newsgroups: gmane.comp.tex.context Subject: Re: split natural table over columns Date: Wed, 27 Sep 2006 14:00:01 +0200 Message-ID: <451A67C1.5050601@gmx.net> References: <97a06f070609260235jbfa4a60pd9688fd985c6811f@mail.gmail.com> <45196309.8010108@gmx.net> <97a06f070609261214t3ef122afn14621a56812c4ae1@mail.gmail.com> <4519984A.1050802@gmx.net> <97a06f070609270025w12937d62m1880e725eb00caf1@mail.gmail.com> <451A40F1.2070606@gmx.net> <97a06f070609270228v76e0ec74y76a84a036675b174@mail.gmail.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 1159358462 17494 80.91.229.2 (27 Sep 2006 12:01:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 27 Sep 2006 12:01:02 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Sep 27 14:00:58 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 1GSY5T-0004CA-Ny for gctc-ntg-context-518@m.gmane.org; Wed, 27 Sep 2006 14:00:28 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 64C9B1FF0C; Wed, 27 Sep 2006 14:00:27 +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 25946-09-6; Wed, 27 Sep 2006 14:00:20 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5F8941FF07; Wed, 27 Sep 2006 14:00:20 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 64DB01FF07 for ; Wed, 27 Sep 2006 14:00:18 +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 25946-09-5 for ; Wed, 27 Sep 2006 14:00:14 +0200 (CEST) Original-Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by ronja.ntg.nl (Postfix) with SMTP id 4988B1FF06 for ; Wed, 27 Sep 2006 14:00:14 +0200 (CEST) Original-Received: (qmail invoked by alias); 27 Sep 2006 12:00:14 -0000 Original-Received: from i577B9176.versanet.de (EHLO [192.168.1.3]) [87.123.145.118] by mail.gmx.net (mp027) with SMTP; 27 Sep 2006 14:00:14 +0200 X-Authenticated: #24293357 User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) Original-To: johan.sandblom@ki.se, mailing list for ConTeXt users In-Reply-To: <97a06f070609270228v76e0ec74y76a84a036675b174@mail.gmail.com> X-Enigmail-Version: 0.94.0.0 X-Y-GMX-Trusted: 0 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:31059 Archived-At: Johan Sandblom wrote: > Good point, in the actual case there were two columns, a name and a > number. The reason for using the table is align the name to the left > and the number to the right. So a more realistic example is something > like > > \starttext > \bTABLE > \setupTABLE[c][1][align=right] > \setupTABLE[c][2][align=left] > \dorecurse{10}{ > \bTR\bTD foo\eTD\bTD 123\eTD\eTR > \bTR\bTD b \eTD\bTD 123456\eTD\eTR} > \eTABLE > \stoptext > So there is no need to split that table. I would suggest to only rearrange it a bit for your column layout. Also TABLE is not the best choise here (I'm no table expert, but I think table is better here). %\SetTableToWidth\hsize \starttable[|l|r|l|r|] \dorecurse{10}{% \VL foo \NC 123 \VL[2] b \NC 12345 \VL\AR} \stoptable For more details about table see http://wiki.contextgarden.net/Table HTH, Peter > Thank you for your interest. > > Regards, Johan > > > 2006/9/27, Peter Rolf : >> Johan Sandblom wrote: >>> What is missing from the example that started the thread? >>> >> Nothing, but I think it would be a waste of time. Instead of a one >> column table (of this size) I would use >> \startitemize[n,columns,three] or simply change the orientation of the >> table and use column spanning (columns.pdf). >> In my eyes a one column table is the wrong approach to present such content. >> >> Peter >> >>> Johan >>> >>> 2006/9/26, Peter Rolf : >>>> Hi Johan, >>>> >>>> Johan Sandblom wrote: >>>>> Hi >>>>> >>>>>> But I don't understand why you want to split a table over columns. You >>>>>> can reach this effect by using offsets (or empty columns if you use >>>>>> backgrounds or frames), beside from the (in my eyes) strange look. And >>>>>> how will you guarantee that a complete table line is horizontally >>>>>> aligned inside of columns (and pages)? Sounds like overkill to me ;) >>>>> I don't understand how you mean with offsets or empty columns, do you >>>>> have an example? I wanted the functionality for a very narrow table in >>>>> a booklet where paper economy is a great concern. It does not matter >>>>> if it is horizontally aligned, a hole at the end (though ugly) might >>>>> still save an entire page for other useful information. Of course it >>>>> is overkill, but since every strange request on this list usually >>>>> leads to a pointer to functionality implemented several years back, I >>>>> figured it couldn't hurt to ask ... >>>>> >>>> Sorry, I have missed that your test table has only one column (really >>>> narrow). So offset and empty column are pretty useless. :) >>>> I thought there were 9 table columns, that should be split over the >>>> three page columns. >>>> >>>> So all depends on the exact size of your table. Can you make a minimal >>>> example? >>>> >>>> Greetings, Peter >>>> >>>>> Johan >>>>> >>>>>> Peter >>>>>> >>>>>>> For instance below I would like three cells in each column >>>>>>> >>>>>>> \starttext >>>>>>> \startcolumns{3} >>>>>>> \placetable{}{ >>>>>>> \bTABLE[split=repeat] >>>>>>> \dorecurse{9}{\bTR\bTD ha \eTD\eTR} >>>>>>> \eTABLE} >>>>>>> \stopcolumns >>>>>>> \stoptext >>>>>>> >>>>>> _______________________________________________ >>>>>> ntg-context mailing list >>>>>> ntg-context@ntg.nl >>>>>> http://www.ntg.nl/mailman/listinfo/ntg-context >>>>>> >>>>> >>>> >>> >> _______________________________________________ >> ntg-context mailing list >> ntg-context@ntg.nl >> http://www.ntg.nl/mailman/listinfo/ntg-context >> > >