From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose Subject: Re: Re: Aligning Columns in HTML Export Tables Date: Fri, 22 Oct 2010 21:30:56 +0200 Message-ID: <87r5fihvnz.fsf@gmx.de> References: <878w1svl7y.fsf@gollum.intra.norang.ca> <53D6BE6F-C152-45DE-B01B-89D50B4848BC@gmail.com> <87iq0u5v9v.fsf@gmx.de> <87mxq6jpkr.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=46789 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P9NKY-0006zk-AB for emacs-orgmode@gnu.org; Fri, 22 Oct 2010 15:31:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P9NKV-0004he-Mr for emacs-orgmode@gnu.org; Fri, 22 Oct 2010 15:31:10 -0400 Received: from mailout-de.gmx.net ([213.165.64.23]:50296 helo=mail.gmx.net) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1P9NKV-0004h4-BX for emacs-orgmode@gnu.org; Fri, 22 Oct 2010 15:31:07 -0400 In-Reply-To: (Carsten Dominik's message of "Fri, 22 Oct 2010 17:41:50 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: Jeff Horn , Dan Davison , Bernt Hansen , Org-mode ml , Baoqiu Cui Carsten Dominik writes: > On Oct 22, 2010, at 3:59 PM, Sebastian Rose wrote: > >> Carsten Dominik writes: >>> Hi Sebastian, >>> >>> my guess would be that you have customized the td and th tags? If yes, >>> please >>> reset the customization, you need the new default values (which you then can >>> still modify). >>> >>> Please check the variables org-export-table-header-tags and >>> org-export-table-data-tags. >> >> >> I've checked them, but they are not customized: >> >> Hide Org Export Table Data Tags: >> Opening tag: >> Closing tag: >> State : STANDARD. > > This does look right. > >> >> Hide Org Export Table Header Tags: >> Opening tag: >> Closing tag: >> State : STANDARD. > > This does not look right, it should be > > Opening tag: > Closing tag: > > >> >> >> The export of the OPs table works as expected. But the table I've sent >> is different in that it just uses empty `<>' marks for grouping and >> creating lines. > > While I do not think it is particularly nice that you > try to fool the parser in this way :-/ > it actually behaves quite well :-D > > Here is what I get when I export this table: > > ------------------------------------------------------------------------------------------- > > > > > > > > > > > > >
A style="text-align:left">BC
1bartext
12test300
9foo4
> ------------------------------------------------------------------------------------------- > > > The left/right comes from the analysis of the number of numbers > in each column... > > So I must assume that maybe some of your files did not > update correctly or you have some old compiled files... ? OK, found it. It was in my .emacs which I didn't use for ages... But: must be: i.e. "" and "" have to occur only once each and wrap the "" definitions. The after each "" happens only for the second table. The rest is just fine :) Correct: | | A | B | C | |---+-----+------+------| | | 1 | bar | text | | | 12 | test | 300 | | | 9 | foo | 4 | | / | | | | Wrong: | | A | B | C | |---+----+------+------| | | 1 | bar | text | | | 12 | test | 300 | | | 9 | foo | 4 | | / | <> | <> | <> | Thanks for the fix! Sebastian