From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Moe Subject: Re: Attributes on HTML tables? Date: Sun, 07 Apr 2013 16:42:04 +0200 Message-ID: References: <86bo9rnj6q.fsf@iro.umontreal.ca> <87ppy66eke.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:60874) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UOqlR-0006SB-Tb for emacs-orgmode@gnu.org; Sun, 07 Apr 2013 10:40:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UOqlJ-0002Zk-CH for emacs-orgmode@gnu.org; Sun, 07 Apr 2013 10:40:13 -0400 In-reply-to: <87ppy66eke.fsf@bzg.ath.cx> 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: Bastien Cc: =?utf-8?Q?Fran=C3=A7ois_Pinard?= , emacs-orgmode@gnu.org Bastien writes: > You need to use :options now: > > #+CAPTION: This is a table with lines around and between cells > #+ATTR_HTML: :options border="2" rules="all" frame="border" Oddly, this doesn't work for me at the moment. I'm running release_8.0-pre-344-g882454, pulled this morning. (It /could/ be just me; I seem to have some unresolved installation issues.) When I export, both the defaults /and/ the "options" are applied, resulting in duplicated attributes, like this: and on Firefox, at least, the values defined the second time are ignored. The documentation currently up on Worg (http://orgmode.org/worg/org-8.0.html#sec-8-3), which seems to say we should now use plists for HTML attributes. But that currently doesn't work for me either. Sorry if you've heard this before, but this doesn't make sense to me as a new syntax: #+ATTR_HTML: :options attribute="value" It's not just more verbose than the old way, it's redundant to say both "attr" and "options", since all it does is set attributes. Yours, Christian