From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Moe Subject: Re: Attributes on HTML tables? Date: Sun, 07 Apr 2013 22:39:28 +0200 Message-ID: References: <86bo9rnj6q.fsf@iro.umontreal.ca> <87ppy66eke.fsf@bzg.ath.cx> <878v4uxjp6.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:51998) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UOwLD-0002yu-Jj for emacs-orgmode@gnu.org; Sun, 07 Apr 2013 16:37:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UOwLA-0004qu-HI for emacs-orgmode@gnu.org; Sun, 07 Apr 2013 16:37:31 -0400 In-reply-to: <878v4uxjp6.fsf@gmail.com> 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: Nicolas Goaziou Cc: Bastien , =?utf-8?Q?Fran=C3=A7ois_Pinard?= , emacs-orgmode@gnu.org Nicolas Goaziou writes: >> When I export, both the defaults /and/ the "options" are applied, >> resulting in duplicated attributes, like this: >> >> > frame="hsides" border="2" rules="all" frame="border"> > > This is a bug. Ah, good (from my perspective, anyway, I was getting concerned about my setup). > The idea is to define some widely used > attributes that will be written directly like: > > #+attr_html: :border 0 :width 400 > > Then, :options attribute is used as a bucket for every other attribute, > since we cannot support all of them. I'm sorry, you've probably explained this many times before and I should go read the archives. But what is it that nees to be supported, and why couldn't you just pass through *whatever* :attribute value pair the user puts in attr_html? I really like the switch to plist style, but I think the combination with :options and literal syntax is confusing. > Unfortunately, no attribute is current recognized in table HTML > transcoder. It needs to be improved. > > If Someone provides a list of such attributes, I can implement it. I'd be happy to, but I need to understand the above. On what basis should attributes be selected for either plist style or the :options bucket, and what does the exporter need to know about them in order to support them? Yours, Christian