emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Issue with dvisvgm Option for Exporting TeX Snippets to HTML
@ 2023-08-05 10:27 yc wang
  2023-08-05 13:09 ` Ihor Radchenko
  0 siblings, 1 reply; 5+ messages in thread
From: yc wang @ 2023-08-05 10:27 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

Dear Community,

I hope this letter finds you well. My name is ywangmy, and I am an avid user of org-export for exporting TeX snippets to HTML. First and foremost, I want to extend my appreciation for the hard work and dedication put forth by the developers to create such a valuable tool.

I am writing to bring to your attention a particular issue that I encountered. When I enable the dvisvgm option for exporting TeX snippets, I noticed that the displayed math environment enclosed in \[…\] is not recognized as "equations," similar to other math environments like \begin{align*}...\end{align*}, which are placed in a “equation-container” div tag in HTML. Instead, the generated SVG is simply inserted as an image like inline math enclosed in \(…\), leading to formatting disorders.

I kindly request the esteemed developers to consider modifying the org-html--math-environment-p function(if my tracking of the exporting utility is accurate) accordingly. By ensuring that the dvisvgm option (or any other options that insert TeX snippets as images) treats the displayed math environment as "equations," it would substantially improve the formatting and overall user experience when exporting TeX snippets to HTML.

Thank you for your attention, and I look forward to your valuable contributions to this matter.

Sincerely,
ywangmy

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

end of thread, other threads:[~2023-08-05 16:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-05 10:27 Issue with dvisvgm Option for Exporting TeX Snippets to HTML yc wang
2023-08-05 13:09 ` Ihor Radchenko
2023-08-05 13:47   ` yc wang
2023-08-05 14:26     ` Ihor Radchenko
2023-08-05 16:21       ` yc wang

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).