From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kodi Arfer Subject: Bug with automatic alignment of table columns in HTML export Date: Sun, 17 Mar 2013 11:08:49 -0400 Message-ID: <5145DC81.2070905@arfer.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:38198) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UHFDh-0002wD-Ls for emacs-orgmode@gnu.org; Sun, 17 Mar 2013 11:11:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UHFCd-0005Mw-JK for emacs-orgmode@gnu.org; Sun, 17 Mar 2013 11:09:57 -0400 Received: from mxout-08.mxes.net ([216.86.168.183]:40239) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UHFCd-0005LQ-F6 for emacs-orgmode@gnu.org; Sun, 17 Mar 2013 11:08:51 -0400 Received: from [192.168.1.106] (unknown [76.117.57.192]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 3E1CA509B6 for ; Sun, 17 Mar 2013 11:08:49 -0400 (EDT) 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 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. Emacs : GNU Emacs 24.1.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.12) of 2012-09-22 on batsu, modified by Debian Package: Org-mode version 7.9.4 (7.9.4-dist @ /usr/share/emacs/site-lisp/org/)