emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "David Lukeš" <dafydd.lukes@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Using pandoc to convert LaTeX math to MathML
Date: Tue, 1 Mar 2022 15:59:36 +0100	[thread overview]
Message-ID: <CAEPTPEzvx5ZhY5qrCJnFtAC_NpPC9d1a-Q=yE+XNTrPXiMpTag@mail.gmail.com> (raw)

Hi all,

I recently wanted to set up LaTeX-to-MathML conversion in Org exports
and got a bit frustrated trying to get either of the two options
recommended in the docs (MathToWeb and LaTeXML) to work. But then I
realized I should be able to use Pandoc for this -- and indeed, `(setq
org-latex-to-mathml-convert-command "pandoc -f latex -t html5 --mathml
%I -o %o")' seems to work!

So I'm wondering -- is it maybe worth adding this option to the docs?
MathToWeb and LaTeXML are both relatively obscure compared to Pandoc.
What's more, chances are users will already have Pandoc installed, as
it enables additional export capabilities for Org.

What are your thoughts?

Best,

David


                 reply	other threads:[~2022-03-01 15:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='CAEPTPEzvx5ZhY5qrCJnFtAC_NpPC9d1a-Q=yE+XNTrPXiMpTag@mail.gmail.com' \
    --to=dafydd.lukes@gmail.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).