[docutils:patches] #197 MathML: support pandoc(1) as an external converter

"Günter Milde" via Docutils-develop <[email protected]>
Newsgroups gmane.text.docutils.devel
Message-ID </p/docutils/patches/197/f247e18712b7541e62cf80e8d39fd052469825a7.patches@docutils.p.sourceforge.net>
Thank you for the patch.

What are the advantages over the native LaTeX -> MathML converter?

A test of the new conversion route with the maths documentation source
[mathematics.txt](https://docutils.sourceforge.io/docs/ref/rst/mathematics.txt)  revealed:

* it takes long to run (considerably longer than the native converter but far shorter than `latexml`),
* there are > 120 conversion errors (unknown AMSmath macros),
* the error messages need getting used to
   (instead of reporting an unknown macro, it tells about expecting "%", "\\label", "\\nonumber" or whitespace)
* the successfull conversions are similar to the native MathML support.

BTW: a fix for "amsfonts" commands with `latexml` is ready and will be soon in the repository.






---

** [patches:#197] MathML: support pandoc(1) as an external converter**

**Status:** open
**Group:** None
**Created:** Fri Oct 28, 2022 02:21 PM UTC by Ximin Luo
**Last Updated:** Fri Oct 28, 2022 02:21 PM UTC
**Owner:** nobody
**Attachments:**

- [0001-MathML-support-pandoc-1-as-an-external-converter.patch](https://sourceforge.net/p/docutils/patches/197/attachment/0001-MathML-support-pandoc-1-as-an-external-converter.patch) (3.5 kB; text/x-patch)


In my personal experience, `pandoc` is more reliable than `latexml`, e.g. the current support for the latter in docutils does not automatically include amsfonts which prevents things like mathbb from working. In `pandoc` it Just Works.


---

Sent from sourceforge.net because [email protected] is subscribed to https://sourceforge.net/p/docutils/patches/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/patches/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.