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



_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to