Re: [Orgmode] feature request: save LaTeX as title for ltxpng html images

2010-03-31 Thread Eric Schulte
Thanks, I've made your suggested change and applied the patch. -- Eric Carsten Dominik carsten.domi...@gmail.com writes: Hi Eric, looks good to me, please go ahead and apply this patch. I would not have expected that this is such a compact change. The only improvement I can see would be to

Re: [Orgmode] feature request: save LaTeX as title for ltxpng html images

2010-03-30 Thread Eric Schulte
Hi, The attached patch places the latex source into alt html image tags as described below. I think it should be safe, in that I remove all s from inside of the alt string. Thanks for the implementation advice -- Eric diff --git a/lisp/org-html.el b/lisp/org-html.el index b8925e7..2246daf

Re: [Orgmode] feature request: save LaTeX as title for ltxpng html images

2010-03-30 Thread Carsten Dominik
Hi Eric, looks good to me, please go ahead and apply this patch. I would not have expected that this is such a compact change. The only improvement I can see would be to use org-add-props to put the properties on the link before inserting it and in this way shave off a let form. Thanks! -

[Orgmode] feature request: save LaTeX as title for ltxpng html images

2010-03-26 Thread Eric Schulte
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.

Re: [Orgmode] feature request: save LaTeX as title for ltxpng html images

2010-03-26 Thread Carsten Dominik
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