From: Bastien <bzg@gnu.org>
To: Eric S Fraga <e.fraga@ucl.ac.uk>
Cc: Emacs Org mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: [bug?] should ltxpng be ltximg in ox-html?
Date: Sat, 05 Sep 2020 10:43:22 +0200 [thread overview]
Message-ID: <87d0303979.fsf@gnu.org> (raw)
In-Reply-To: <87a70v9jan.fsf@ucl.ac.uk> (Eric S. Fraga's message of "Mon, 22 Jun 2020 17:06:40 +0100")
Hi Eric,
Eric S Fraga <e.fraga@ucl.ac.uk> writes:
> 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.
I think using `org-preview-latex-image-directory' is the way to go.
I did this in 9ad3606bf in the master branch.
If you have a chance to test and confirm the fix, that'd help.
Thanks,
--
Bastien
prev parent reply other threads:[~2020-09-05 8:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-22 16:06 [bug?] should ltxpng be ltximg in ox-html? Eric S Fraga
2020-09-05 8:43 ` Bastien [this message]
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=87d0303979.fsf@gnu.org \
--to=bzg@gnu.org \
--cc=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).