From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Christopher J. White" Subject: Re: Multicolumn Date: Tue, 28 Aug 2012 17:28:50 -0700 Message-ID: <503D6242.2040708@grierwhite.com> References: <1DB0A90A-0891-46BF-A110-C8EB85175B5B@univie.ac.at> Reply-To: orgmode@grierwhite.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:36235) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6W9S-0000xT-2e for emacs-orgmode@gnu.org; Tue, 28 Aug 2012 20:28:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T6W9Q-0001U0-2R for emacs-orgmode@gnu.org; Tue, 28 Aug 2012 20:28:58 -0400 Received: from mail223c25.carrierzone.com ([64.29.147.237]:47008) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6W9P-0001Tv-R8 for emacs-orgmode@gnu.org; Tue, 28 Aug 2012 20:28:55 -0400 Received: from cwhite-mbpro.local ([65.203.131.194]) (authenticated bits=0) by mail223c25.carrierzone.com (8.13.6/8.13.1) with ESMTP id q7T0SqV9024552 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 29 Aug 2012 00:28:54 GMT In-Reply-To: <1DB0A90A-0891-46BF-A110-C8EB85175B5B@univie.ac.at> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi Erich, I have a hack for multicolumn support that may help... It's not great, but serves my purpose. I implemented a TWiki mode that uses orgtbl-minor-mode. TWiki pages support multicolumn cells by adding vertical bars with no separators: Display: | Multicol | | C1 | C2 | TWiki format: | Multicol || | C1 | C2 | Notice the double vertical bars after Multicol. The number of vertical bars on every row must be the same. You can join as many cells as you want that way. I basically wanted to be able to still use orgtbl-minor-mode to edit such tables. So I hacked my twiki-import/export code to convert "||" to "| << |" and vice-versa. So the orgtbl version of the above looks like this in the buffer: | Multicol | << | | C1 | C2 | The down side is that the text "Multicol" will expand the display size of C1, so if it gets long, the table grows: | This is a long multicol cell | << | | C1 | C2 | So it gets me what I want, which is orgtbl editing, and import/export support to twiki format. Seems a similar technique could be backed in to any org export engine. ...cj On 8/28/12 5:10 PM, Neuwirth Erich wrote: > After some googling it seems that multicolumn support is not yet > implemented in org tables. > I would need multicolumn headers quite urgently, > but I have not yet found a way to make this possible. > > I think that tables with headers like this: > > | | mean | s.e. | > | gender | varA | varB | varA | varB | > > are quite common, so I really want to put this feature on the wish list. > I am not able to implement this myself. > > Erich > > > >