[Top][All Lists]

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

Re: [Orgmode] Release 6.28

From: Xin Shi
Subject: Re: [Orgmode] Release 6.28
Date: Thu, 25 Jun 2009 14:38:08 -0400

Hi Carsten,

On Thu, Jun 25, 2009 at 3:10 AM, Carsten Dominik <address@hidden> wrote:

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


- 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
            (if (= (mod nline 2) 1)
                "<tr class=\"tr-odd\">"
              "<tr class=\"tr-even\">"))

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!


reply via email to

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