Hi Carsten,


On Thu, Jun 25, 2009 at 3:10 AM, Carsten Dominik <carsten.dominik@gmail.com> wrote:
Hi,

I have uploaded release 6.28.  Once more I urge you to read
the release notes carefully, there are many very interesting changes.

Enjoy!

- Carsten

Changes in Version 6.28
=======================

Agenda changes
......

Miscellaneous changes
~~~~~~~~~~~~~~~~~~~~~~

....

HTML table export: Assign alternating classes to rows
======================================================

The new variable `org-export-table-row-tags' can now be set up in
a way so that different table lines get special CSS classes
assigned.  This can be used for example to choose different
background colors for odd and even lines, respectively.  The
docstring of the variable contains this example:

 (setq org-export-table-row-tags
       (cons '(if head
              "<tr>"
            (if (= (mod nline 2) 1)
                "<tr class=\"tr-odd\">"
              "<tr class=\"tr-even\">"))
         "</tr>"))


It makes use of the local variables `head' and `nline' which are
used to check whether the current line is a header line, and whether
it is an odd or an even line.  Since this is fully programmable,
you can do other things as well.

This was a request by Xin Shi.

I've just tested it. It works great!

Thank you!

Xin