From: Carsten Dominik <carsten.dominik@gmail.com>
To: Eric Schulte <schulte.eric@gmail.com>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: feature request: save LaTeX as title for ltxpng html images
Date: Fri, 26 Mar 2010 21:42:16 +0100 [thread overview]
Message-ID: <EA8A8165-F245-494B-B0E3-3054B2A1C70C@gmail.com> (raw)
In-Reply-To: <87aatv2kkj.fsf@gmail.com>
On Mar 26, 2010, at 4:01 PM, Eric Schulte wrote:
> Hi,
>
> HTML <img> tags allow both alternate text (rendered when the image
> can't
> be rendered), as well as titles which show as tooltips on hover. I
> wonder if it would be difficult to place the text latex used in
> generating an image into these two fields. If not then I at least
> would
> find it useful.
It is not trivial, but not too hard either.
It is not trivial because Org first produces the images and inserts
org-style links. Later, in a second step, these links are replaced
(formatted for HTML).
One way to solve this is that `org-format-latex' will add this
information
as text properties to the link. Then later, when the HTML formatting
is done,
the text property could be retrieved and converted into the attributes
you are mentioning.
You have worked on org-format-latex before, I think this should be
relatively easy for you.
- Carsten
next prev parent reply other threads:[~2010-03-26 21:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-26 15:01 feature request: save LaTeX as title for ltxpng html images Eric Schulte
2010-03-26 20:42 ` Carsten Dominik [this message]
2010-03-30 6:26 ` Eric Schulte
2010-03-30 7:37 ` Carsten Dominik
2010-03-31 16:24 ` Eric Schulte
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=EA8A8165-F245-494B-B0E3-3054B2A1C70C@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=schulte.eric@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.