emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [bug?] should ltxpng be ltximg in ox-html?
@ 2020-06-22 16:06 Eric S Fraga
  2020-09-05  8:43 ` Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: Eric S Fraga @ 2020-06-22 16:06 UTC (permalink / raw)
  To: Emacs Org mode mailing list

Hello,

line 1696 of ox-html.el (up to date version on git) is:

   :alt (if (string-match-p "^ltxpng/" source)
   
I wonder whether "^ltxpng" should actually be "^ltximg"?

Better yet, should it not be built from the value of
org-preview-latex-image-directory, defined as a custom variable and used
in one place in ox-html?  Or have I confused two different aspects of
LaTeX images?  I'm asking because the hardcoded pattern doesn't pick up
the alt= text for accessibility in HTML export of LaTeX fragments.

The same applies to ox-odt, by the way.

Thank you.
-- 
: Eric S Fraga via Emacs 28.0.50, Org release_9.3.7-645-g945f49


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-09-05  8:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-22 16:06 [bug?] should ltxpng be ltximg in ox-html? Eric S Fraga
2020-09-05  8:43 ` Bastien

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).