all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: William Crandall <bc3141592@gmail.com>
Cc: emacs-orgmode@gnu.org, Jambunathan K <kjambunathan@gmail.com>
Subject: Re: org-e-html: Including ATTR_HTML: title="hover text"
Date: Sat, 09 Jun 2012 15:54:20 +0200	[thread overview]
Message-ID: <87ipf0egkz.fsf@gmail.com> (raw)
In-Reply-To: <CAENLK5Wjni2_Hx7zzEZ50Z+Q+nQFFxuvfEuzLxsxLXRCOci0ag@mail.gmail.com> (William Crandall's message of "Fri, 8 Jun 2012 16:53:57 -0700")

Hello,

William Crandall <bc3141592@gmail.com> 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

  reply	other threads:[~2012-06-09 13:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-07  2:08 org-e-html: Including ATTR_HTML: title="hover text" William Crandall
2012-06-07  2:59 ` William Crandall
2012-06-07 19:28 ` Nicolas Goaziou
2012-06-07 22:26   ` William Crandall
2012-06-08 13:28     ` Nicolas Goaziou
2012-06-08 17:03       ` William Crandall
2012-06-08 22:37         ` Nicolas Goaziou
2012-06-08 23:53           ` William Crandall
2012-06-09 13:54             ` Nicolas Goaziou [this message]
2012-06-10  1:43               ` William Crandall
2012-06-14  9:51                 ` Nicolas Goaziou

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to=87ipf0egkz.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=bc3141592@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=kjambunathan@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.