[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] alternating row colours in HTML export: org-table-row-tags with
From: |
Christian Moe |
Subject: |
Re: [O] alternating row colours in HTML export: org-table-row-tags with new exporter? |
Date: |
Tue, 26 Mar 2013 23:20:07 +0100 |
User-agent: |
mu4e 0.9.9.5-dev6; emacs 24.3.1 |
Hi,
The variable has been renamed org-html-table-row-tags.
I think the general rule is, if you had org-<foo> working for export and
can't find it, try org-<backend>-<foo>.
Yours,
Christian
Stefan Vollmar writes:
> Hallo,
>
> when exporting tables to HTML we used this function:
>
> (setq org-table-row-tags
> (cons '(if head
> "<tr>"
> (if (= (mod nline 2) 1)
> "<tr class=\"tr-odd\">"
> "<tr class=\"tr-even\">"))
> "</tr>"))
>
> to assign different CSS-classes to alternating rows of a table. With a
> suitable CSS file we were then able to assign different shades of gray to
> these classes and thus create tables with improved readability (nice looking,
> too). However, I did not find a corresponding option for the new exporter
> with a very recent version (release_8.0-pre-193-gaa7b1). Is there a way to
> achieve this goal?
>
> Many thanks in advance.
> Warm regards,
> Stefan