From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: Aligning Columns in HTML Export Tables Date: Fri, 22 Oct 2010 13:27:47 +0200 Message-ID: References: <878w1svl7y.fsf@gollum.intra.norang.ca> <53D6BE6F-C152-45DE-B01B-89D50B4848BC@gmail.com> <87iq0u5v9v.fsf@gmx.de> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=33812 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P9Fmq-0005MT-2Q for emacs-orgmode@gnu.org; Fri, 22 Oct 2010 07:27:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P9Fmo-0001w0-Gu for emacs-orgmode@gnu.org; Fri, 22 Oct 2010 07:27:51 -0400 Received: from mail-ey0-f169.google.com ([209.85.215.169]:61848) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P9Fmo-0001vg-88 for emacs-orgmode@gnu.org; Fri, 22 Oct 2010 07:27:50 -0400 Received: by eydd26 with SMTP id d26so271365eyd.0 for ; Fri, 22 Oct 2010 04:27:49 -0700 (PDT) In-Reply-To: <87iq0u5v9v.fsf@gmx.de> 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: Sebastian Rose Cc: Jeff Horn , Dan Davison , Bernt Hansen , Org-mode ml , Baoqiu Cui 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. - Carsten On Oct 22, 2010, at 1:20 PM, Sebastian Rose wrote: > 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: > > frame="hsides"> > > > > > > > > and I have no style attributes in the
tags. > > > > Sebastian - Carsten