[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug?] should ltxpng be ltximg in ox-html?
From: |
Eric S Fraga |
Subject: |
[bug?] should ltxpng be ltximg in ox-html? |
Date: |
Mon, 22 Jun 2020 17:06:40 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug?] should ltxpng be ltximg in ox-html?,
Eric S Fraga <=