emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Stefan Vollmar <vollmar@nf.mpg.de>
To: Bastien <bzg@gnu.org>
Cc: Org Mode Mailing List <emacs-orgmode@gnu.org>
Subject: Re: [ox-html] bug in documentation of org-html-table-row-tags
Date: Tue, 09 Apr 2013 12:52:35 +0200	[thread overview]
Message-ID: <984AC132-774A-4B3A-B8A5-7450C71909F0@nf.mpg.de> (raw)
In-Reply-To: <87bo9q2fvp.fsf@bzg.ath.cx>

[-- Attachment #1: Type: text/plain, Size: 1466 bytes --]

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>"))

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

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 4490 bytes --]

  reply	other threads:[~2013-04-09 10:52 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-27  9:35 [ox-html] bug in documentation of org-html-table-row-tags Stefan Vollmar
2013-04-07 21:23 ` Bastien
2013-04-09 10:52   ` Stefan Vollmar [this message]
2013-04-09 11:46     ` Bastien
2013-04-09 11:56       ` Stefan Vollmar
2013-04-09 14:56       ` Nicolas Goaziou
2013-04-09 15:19         ` Bastien
2013-04-09 17:18         ` Achim Gratz
2013-04-09 20:50           ` Nicolas Goaziou
2013-04-10 16:32             ` Achim Gratz
2013-04-10 17:04               ` Nicolas Goaziou
2013-04-09 17:29         ` Stefan Vollmar
2013-04-09 17:40           ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=984AC132-774A-4B3A-B8A5-7450C71909F0@nf.mpg.de \
    --to=vollmar@nf.mpg.de \
    --cc=bzg@gnu.org \
    --cc=emacs-orgmode@gnu.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).