Dear Bastien,

On 09.04.2013, at 13:46, Bastien wrote:

>> (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>"))
> 
> Of course, you're right, I fixed this.

great, thanks!

>> 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)?
> 
> I think it is non-trivial -- as least non-trivial enough so that I
> can't do it at the moment, sorry.


not a problem - "non-trivial" was my assessment, too, as this kind of counter 
probably needs to be part of some infrastructure several levels above 
org-html-table-row. But it would be desirable in the long run, for 
semi-cosmetic stuff like alternating row colours in tables, but potentially 
also for more concise error messages or more complex formatting options.

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: voll...@nf.mpg.de   http://www.nf.mpg.de








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

Reply via email to