emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] [ox-html] bug in documentation of org-html-table-row-tags


From: Stefan Vollmar
Subject: Re: [O] [ox-html] bug in documentation of org-html-table-row-tags
Date: Tue, 09 Apr 2013 12:52:35 +0200

Dear Bastien,

On 07.04.2013, at 23:23, Bastien wrote:

> [...] I pushed a fix which preserves the spirit of the previous option,
> but with more variables to check against.  I know this is not the
> most user-friendly we can do here, but at least it is consistent
> with what the code allows.


Thanks for the fix! 

But I think the lisp example is faulty in two respects: it needs to include the 
closing "</tr>" and the default case without class name.

The example given in the documentation:

(setq org-html-table-row-tags
      (cons '(cond (top-row-p "<tr class=\"tr-top\">")
                   (bottom-row-p "<tr class=\"tr-bottom\">"))))


should probably be:

(setq org-html-table-row-tags
      (cons '(cond (top-row-p "<tr class=\"tr-top\">")
                   (bottom-row-p "<tr class=\"tr-bottom\">")
                   (t "<tr>"))
            "</tr>"))

This is already very useful. However, in addition to rowgroup-number, top-row-p 
and bottom-row-p it would be really helpful to have a row counter variable. Is 
this difficult to implement (I honestly tried but did not see an obvious way)?

Warm regards,
 Stefan
-- 
Dr. Stefan Vollmar, Dipl.-Phys.
Head of IT group
Max-Planck-Institut für neurologische Forschung
Gleueler Str. 50, 50931 Köln, Germany
Tel.: +49-221-4726-213  FAX +49-221-4726-298
Tel.: +49-221-478-5713  Mobile: 0160-93874279
E-Mail: address@hidden   http://www.nf.mpg.de








Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

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