From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Bug with automatic alignment of table columns in HTML export Date: Tue, 19 Mar 2013 18:26:13 +0100 Message-ID: <87ehfbrzil.fsf@bzg.ath.cx> References: <5145DC81.2070905@arfer.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:37018) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UI1gV-0002l4-8t for emacs-orgmode@gnu.org; Tue, 19 Mar 2013 14:54:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UI1gO-0002HR-N7 for emacs-orgmode@gnu.org; Tue, 19 Mar 2013 14:54:55 -0400 Received: from mail-wg0-f46.google.com ([74.125.82.46]:64696) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UI1gO-0002H4-FL for emacs-orgmode@gnu.org; Tue, 19 Mar 2013 14:54:48 -0400 Received: by mail-wg0-f46.google.com with SMTP id fg15so643466wgb.25 for ; Tue, 19 Mar 2013 11:54:47 -0700 (PDT) In-Reply-To: <5145DC81.2070905@arfer.net> (Kodi Arfer's message of "Sun, 17 Mar 2013 11:08:49 -0400") 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: Kodi Arfer Cc: emacs-orgmode@gnu.org Hi Kodi, Kodi Arfer writes: > Consider an Org file with the following content: > > | a | b | > |-----+---| > | 100 | 1 | > | 1 | 1 | > | | 1 | > | | 1 | > | | 1 | > | | 1 | > | | 1 | > | | 1 | > > Within Emacs, Org right-aligns the left column, as it should, since most > nonempty cells in the column are numeric. In HTML export, though (starting > from "emacs -Q -l /tmp/minimal-org.el"), the column comes out > left-aligned. The problem seems to be with how the exporter treats empty > cells, since if you put numbers in all the empty cells above, the column > comes out right-aligned in HTML export. Fixed, thanks. -- Bastien