emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: yc wang <ywangmy@outlook.com>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Issue with dvisvgm Option for Exporting TeX Snippets to HTML
Date: Sat, 5 Aug 2023 10:27:15 +0000	[thread overview]
Message-ID: <7C76EA1A-3581-4F54-87B1-8A63082E7C3C@outlook.com> (raw)

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

             reply	other threads:[~2023-08-05 10:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-05 10:27 yc wang [this message]
2023-08-05 13:09 ` Issue with dvisvgm Option for Exporting TeX Snippets to HTML Ihor Radchenko
2023-08-05 13:47   ` yc wang
2023-08-05 14:26     ` Ihor Radchenko
2023-08-05 16:21       ` yc wang

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=7C76EA1A-3581-4F54-87B1-8A63082E7C3C@outlook.com \
    --to=ywangmy@outlook.com \
    --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).