From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: org-e-html: Including ATTR_HTML: title="hover text" Date: Sat, 09 Jun 2012 15:54:20 +0200 Message-ID: <87ipf0egkz.fsf@gmail.com> References: <87aa0egbvy.fsf@gmail.com> <87wr3ic4pz.fsf@gmail.com> <87r4tpwhul.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:60268) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SdMAN-0007lN-Gj for emacs-orgmode@gnu.org; Sat, 09 Jun 2012 09:57:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SdMAL-0000xr-MZ for emacs-orgmode@gnu.org; Sat, 09 Jun 2012 09:57:23 -0400 Received: from mail-wi0-f171.google.com ([209.85.212.171]:59909) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SdMAL-0000xn-Dc for emacs-orgmode@gnu.org; Sat, 09 Jun 2012 09:57:21 -0400 Received: by wibhm14 with SMTP id hm14so1070410wib.12 for ; Sat, 09 Jun 2012 06:57:19 -0700 (PDT) In-Reply-To: (William Crandall's message of "Fri, 8 Jun 2012 16:53:57 -0700") 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: William Crandall Cc: emacs-orgmode@gnu.org, Jambunathan K Hello, William Crandall writes: > You mentioned before using "filters." I take it these are the ones > described in org-export-filters.el (line 1775), "The Filter System." > Has anyone written up any worked examples of these? org-e-ascii.el and org-e-html.el both use filters. Also, I posted a few examples on this list while answering to requests from users. > And, is that the best tool for adding attributes to links? Besides your canonical example, I don't know exactly what are your needs. Hence, it may be, but that's hard to tell. Filters are meant to modify output from transcoders (so you're working with HTML, or LaTeX, or... material) before it is concatenated into global result. They allow the user to have the last word in any situation. You can also define your own transcoders if you prefer to work on parsed data. Now, if the attributes you want to add have no pattern with regards to related link, you cannot do much programmatically and you'll have to insert HTML code manually. Also, besides code comments, you may have a look at: http://orgmode.org/worg/dev/org-export-reference.html Regards, -- Nicolas Goaziou