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:37:48 +0200 Message-ID: <87mxq6hvcj.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=49185 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P9NSm-0008Re-VL for emacs-orgmode@gnu.org; Fri, 22 Oct 2010 15:39:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P9NR8-0007JQ-Hg for emacs-orgmode@gnu.org; Fri, 22 Oct 2010 15:38:00 -0400 Received: from mailout-de.gmx.net ([213.165.64.23]:34082 helo=mail.gmx.net) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1P9NR8-0007Iw-3o for emacs-orgmode@gnu.org; Fri, 22 Oct 2010 15:37:58 -0400 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... ? > > - Carsten Hi Carsten, one more, sorry. How about this (line-wrapped for readability): 1 bar text instead of 1 bar text ?? Combined with the ways to add IDs and classes to tables, we could then style the columns better. I would like to set this for right aligned tags as default: td.right { font-family:monospace;text-align:right; } since most of the time I want fixed width fonts in right aligned cells. Sebastian