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 13:20:12 +0200 Message-ID: <87iq0u5v9v.fsf@gmx.de> References: <878w1svl7y.fsf@gollum.intra.norang.ca> <53D6BE6F-C152-45DE-B01B-89D50B4848BC@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=38733 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P9Ffb-0003be-TU for emacs-orgmode@gnu.org; Fri, 22 Oct 2010 07:20:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P9Ffa-00006G-Aa for emacs-orgmode@gnu.org; Fri, 22 Oct 2010 07:20:23 -0400 Received: from mailout-de.gmx.net ([213.165.64.23]:45849 helo=mail.gmx.net) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1P9FfZ-00005V-UF for emacs-orgmode@gnu.org; Fri, 22 Oct 2010 07:20:22 -0400 In-Reply-To: <53D6BE6F-C152-45DE-B01B-89D50B4848BC@gmail.com> (Carsten Dominik's message of "Fri, 22 Oct 2010 09:32:30 +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: >> | | | | >> | A | B | C | >> | 1 | 2 | 3 | >> | 12 | 13 | 300 | >> | 9 | 11 | 4 | > > I have now fixed this issue, at least for the HTML exporter. > > 1. The HTML exporter now puts a style attribute onto each > individual field to make sure the field is aligned correctly. > Many Browsers need this, as pointed out by Sebastian. > If you do not like this overhead, you can configure > org-export-html-table-align-individual-fields. If you > do, the alignment will still be noted in the column tags, > handled correctly by Opera, but not by Firefox and Safari. > > 2. The HTML exporter will also honor a "" cookie. Note that > this will not change anything inside an Org buffer - this would > be complex to implement because of all the extra magic Org does > with limited column width etc etc. > > 3. The LaTeX exporter does not yet honor , while it does honor > and . The reason for this is that currently the vector > remembering the alignment is a vector of booleans, and larger > changes are necessary in order to allow for a third value. > This will come, but I do not have the time today. Hi Carsten, | | A | B | C | |---+-----+------+------| | | 1 | bar | text | | | 12 | test | 300 | | | 9 | foo | 4 | | / | <> | <> | <> | now gives me: and I have no style attributes in the
tags. Sebastian