From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/60208 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: imbalanced columns Date: Thu, 15 Jul 2010 13:37:32 -0400 (EDT) Message-ID: References: <4C3E1D62.9080404@gmx.net> <4C3EC7BF.2020804@gmx.net> <4C3F4170.5080600@gmx.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1279215467 9267 80.91.229.12 (15 Jul 2010 17:37:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 15 Jul 2010 17:37:47 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jul 15 19:37:46 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OZSNW-0003PQ-4B for gctc-ntg-context-518@m.gmane.org; Thu, 15 Jul 2010 19:37:46 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A09F9C9CE8; Thu, 15 Jul 2010 19:37:45 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 3lXEyb4d5geq; Thu, 15 Jul 2010 19:37:43 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EECE3C9CD9; Thu, 15 Jul 2010 19:37:42 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 80079C9CD9 for ; Thu, 15 Jul 2010 19:37:41 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id cqpWKcycxiaa for ; Thu, 15 Jul 2010 19:37:36 +0200 (CEST) Original-Received: from hellskitchen.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.82]) by balder.ntg.nl (Postfix) with ESMTP id 28D27C9CC7 for ; Thu, 15 Jul 2010 19:37:34 +0200 (CEST) Original-Received: FROM [192.168.2.8] (c-76-28-91-31.hsd1.ct.comcast.net [76.28.91.31]) By hellskitchen.mr.itd.umich.edu ID 4C3F475D.87DEC.24192 ; Authuser adityam; 15 Jul 2010 13:37:33 EDT In-Reply-To: <4C3F4170.5080600@gmx.net> User-Agent: Alpine 2.01 (LNX 1266 2009-07-14) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:60208 Archived-At: On Thu, 15 Jul 2010, Peter Rolf wrote: >>> also: i can't imagine how a user interface for this should look like. >> >> \setuptables[spanalign=balance] >> > > right. you can implement all kind of different spanning algorithms. i > would expect that 'balance' would share the additional space equally on > all involved columns. > > but table macros in tex are really ugly. you need tons of bookkeeping > data for maxima, styles, multi-column|row, whatever. and tex has no data > types for bookkeeping (like a programming language), so you have to > store all the data in macros, dimens... it's a complete mess. have a > look at the macro definitions and you will agree :) > > anyhow, i expect much better functionality (e.g. clever spanning > alternatives) with a lua based table implementation. we have to wait for > that. Also remember that the starttable macros are just a wrapper around TaBlE macros written by Michael Wichura. I don't know if those have enough hooks to support a high level interface. Have you tried using natural tables. Now you can use them with almost the same amount of typing as the old table macros. \startTABLE \NC text 1 \NC text 2 \NC\NR \NC text 3 \NC text 4 \NC\NR \stopTABLE and you have a high level interface of \setupTABLE (although I do not know if natural tables support equal column widths) Aditya ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________