From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Vollmar Subject: [ox-html] bug in documentation of org-html-table-row-tags Date: Wed, 27 Mar 2013 10:35:00 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/signed; boundary=Apple-Mail-72--477355897; protocol="application/pkcs7-signature"; micalg=sha1 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:44870) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKnhB-0005Fg-Vu for emacs-orgmode@gnu.org; Wed, 27 Mar 2013 06:35:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UKnhA-0007jk-Dk for emacs-orgmode@gnu.org; Wed, 27 Mar 2013 06:35:05 -0400 Received: from mail.nf.mpg.de ([134.107.209.50]:46803) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKnh9-0007dL-Rj for emacs-orgmode@gnu.org; Wed, 27 Mar 2013 06:35:04 -0400 Received: from [192.168.0.18] by mail.nf.mpg.de (Sun Java(tm) System Messaging Server 6.3-8.03 (built Apr 24 2009; 32bit)) with ESMTPSA id <0MKB00M6TBYCK000@mail.nf.mpg.de> for emacs-orgmode@gnu.org; Wed, 27 Mar 2013 10:35:01 +0100 (MET) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org Mode Mailing List --Apple-Mail-72--477355897 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 Hallo, according to the documentation of org-html-table-row-tags in ox-html.el = the following code can be used to assign different CSS classes to = alternating rows: (setq org-html-table-row-tags (cons '(if head \"\" (if (=3D (mod nline 2) 1) \"\" \"\")) \"\")) This does not work for me because of these problems: eval: Symbol's value as variable is void: head =3D: Symbol's value as variable is void: nline My knowledge of elisp is very limited, but I assume fixing these errors = would require defining head and a line counter nline around ll. 2976 in = ox-html, at least the latter might be simple to fix. However, I would suggest to implement this differently: have an option = "org-html-alternating-table-row-classes" (or similar) that - if not nil = - is used for alternating class names. Or - in keeping with hardwired = class names like "org-ul" - always use "org-row-odd" and "org-row-even" = if "org-html-alternating-table-row-classes" is not nil. Users who would = prefer different class names could then still come up with their own = definition of org-html-table-row-tags if needed. Warm regards, Stefan --=20 Dr. Stefan Vollmar, Dipl.-Phys. Head of IT group Max-Planck-Institut f=FCr neurologische Forschung Gleueler Str. 50, 50931 K=F6ln, 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 --Apple-Mail-72--477355897 Content-Disposition: attachment; filename=smime.p7s Content-Type: application/pkcs7-signature; name=smime.p7s Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIOHTCCBCEw ggMJoAMCAQICAgDHMA0GCSqGSIb3DQEBBQUAMHExCzAJBgNVBAYTAkRFMRwwGgYDVQQKExNEZXV0 c2NoZSBUZWxla29tIEFHMR8wHQYDVQQLExZULVRlbGVTZWMgVHJ1c3QgQ2VudGVyMSMwIQYDVQQD ExpEZXV0c2NoZSBUZWxla29tIFJvb3QgQ0EgMjAeFw0wNjEyMTkxMDI5MDBaFw0xOTA2MzAyMzU5 MDBaMFoxCzAJBgNVBAYTAkRFMRMwEQYDVQQKEwpERk4tVmVyZWluMRAwDgYDVQQLEwdERk4tUEtJ MSQwIgYDVQQDExtERk4tVmVyZWluIFBDQSBHbG9iYWwgLSBHMDEwggEiMA0GCSqGSIb3DQEBAQUA A4IBDwAwggEKAoIBAQDpm8NnhfkNrvWNVMOWUDU9YuluTO2U1wBblSJ01CDrNI/W7MAxBAuZgeKm FNJSoCgjhIt0iQReW+DieMF4yxbLKDU5ey2QRdDtoAB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