From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: Emacs Org mode mailing list <emacs-orgmode@gnu.org>
Subject: [bug?] should ltxpng be ltximg in ox-html?
Date: Mon, 22 Jun 2020 17:06:40 +0100 [thread overview]
Message-ID: <87a70v9jan.fsf@ucl.ac.uk> (raw)
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
next reply other threads:[~2020-06-22 16:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-22 16:06 Eric S Fraga [this message]
2020-09-05 8:43 ` [bug?] should ltxpng be ltximg in ox-html? Bastien
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a70v9jan.fsf@ucl.ac.uk \
--to=e.fraga@ucl.ac.uk \
--cc=emacs-orgmode@gnu.org \
/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 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).