unofficial mirror of emacs-orgmode@gnu.org
 help / color / Atom feed
* [bug?] should ltxpng be ltximg in ox-html?
@ 2020-06-22 16:06 Eric S Fraga
  0 siblings, 0 replies; only message 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] only message in thread

only message in thread, back to index

Thread overview: (only message) (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

unofficial mirror of emacs-orgmode@gnu.org

Archives are clonable:
	git clone --mirror https://yhetil.org/orgmode/0 orgmode/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 orgmode orgmode/ https://yhetil.org/orgmode \
		emacs-orgmode@gnu.org
	public-inbox-index orgmode

Example config snippet for mirrors

Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.emacs.orgmode
	nntp://news.gmane.io/gmane.emacs.orgmode


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git