[Top][All Lists]
[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: |
Fri, 22 Oct 2010 13:20:12 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Carsten Dominik <address@hidden> writes:
>> | <l> | <l> | <r> |
>> | 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 "<c>" 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 <c>, while it does honor
> <l> and <r>. 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:
<table border="0" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<caption></caption>
<colgroup><col align="right" /></colgroup>
<colgroup><col align="left" /></colgroup>
<colgroup><col align="left" /></colgroup>
<thead>
and I have no style attributes in the <td> tags.
Sebastian
Re: [Orgmode] Re: Aligning Columns in HTML Export Tables, Carsten Dominik, 2010/10/22
- Re: [Orgmode] Re: Aligning Columns in HTML Export Tables,
Sebastian Rose <=
- Re: [Orgmode] Re: Aligning Columns in HTML Export Tables, Carsten Dominik, 2010/10/22
- Re: [Orgmode] Re: Aligning Columns in HTML Export Tables, Sebastian Rose, 2010/10/22
- Re: [Orgmode] Re: Aligning Columns in HTML Export Tables, Carsten Dominik, 2010/10/22
- Re: [Orgmode] Re: Aligning Columns in HTML Export Tables, Sebastian Rose, 2010/10/22
- Re: [Orgmode] Re: Aligning Columns in HTML Export Tables, Carsten Dominik, 2010/10/23
- Re: [Orgmode] Re: Aligning Columns in HTML Export Tables, Sebastian Rose, 2010/10/23
Re: [Orgmode] Re: Aligning Columns in HTML Export Tables, Sebastian Rose, 2010/10/22
Re: [Orgmode] Re: Aligning Columns in HTML Export Tables, Carsten Dominik, 2010/10/23
Re: [Orgmode] Re: Aligning Columns in HTML Export Tables, Sebastian Rose, 2010/10/23
Re: [Orgmode] Re: Aligning Columns in HTML Export Tables, Sebastian Rose, 2010/10/23