emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Re: Aligning Columns in HTML Export Tables


From: Sebastian Rose
Subject: Re: [Orgmode] Re: Aligning Columns in HTML Export Tables
Date: Thu, 21 Oct 2010 15:25:35 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Sebastian Rose <address@hidden> writes:
> Carsten Dominik <address@hidden> writes:
>> On Oct 21, 2010, at 9:36 AM, Christian Moe wrote:
>>
>>> On 10/21/10 2:25 AM, Sebastian Rose wrote:
>>> (...)
>>>>>
>>>>> |<l>  |<l>  |<r>  |
>>>>> | A   | B   |   C |
>>>>> | 1   | 2   |   3 |
>>>>> | 12  | 13  | 300 |
>>>>> | 9   | 11  |   4 |
>>>>
>>>>
>>>> I get
>>>>
>>>> <colgroup><col align="left" /><col align="left" /><col align="right" />
>>>> </colgroup>
>>>>
>>>> as expected.
>>>
>>> That's interesting. From the same example I get
>>>
>>> <colgroup><col align="right" /><col align="right" /><col align="right"
>>> /></colgroup>
>>>
>>> ...using freshly pulled 7.01trans. What might account for the difference?
>>
>> Actually, I also get what Christian gets.  Sebastian, how did you get 
>> something
>> different?
>
>
> I guess I just didn't pull for a few days.
>
> Nononono, just kidding :)
>
> I tried my own table, which is different:
>
> a) The <l> line is the last one.
> b) There's an empty extra column, the first one, as the docs propose.
>    This column contains in the first cell of the "<l> | <r>" line  a
>    slash: 
>
>     |   | A   | B   |   C |
>     |   | 1   | 2   |   3 |
>     |   | 12  | 13  | 300 |
>     |   | 9   | 11  |   4 |
>     | / | <l> | <l> | <r> |
>
>
> All this does not help.  But the third difference might be the key:
>
> c) The table is a captured column view ("#+BEGIN: columnview...") with
>    293 lines. 


Well, OK, forget it...
It was just that my <l>s and <r>s matched with the sensible thing to do
for each column.

Seems it's just looking at the numbers and says "OK, numbers only, right
aligned",  just as you said in a previous mail.


 |   | A   | B    |   C  |
 |---+-----+------+------|
 |   | 1   | bar  | text |
 |   | 12  | test |  300 |
 |   | 9   | foo  |    4 |
 | / | <l> | <l>  |  <r> |


gives us

<colgroup><col align="right" /><col align="left" /><col align="left" />
</colgroup>


  Sebastian



reply via email to

[Prev in Thread] Current Thread [Next in Thread]