From: Günter M. <mi...@us...> - 2022-11-01 17:45:05
|
> One big advantage of pandoc is that it supports {align} and {gather}. I see. Active development and widespread use is another bonus (especially over other external tools). > Pandoc and latex2mathml.py supports different subsets of latex. For > example, latex2mathml.py does not support \gsime, but pandoc does. > The pandoc list of supported symbols is here [1] and it appears to be > bigger (~2800 symbols) than the one in latex2mathml.py (~100 symbols) latex2mathml uses the same database and extracts the about 600 symbols supported by the most common math packages. It also supports literal Unicode characters in the input. > Actually it appears [1] is written by yourself, and that version is 8 > years old, so if you know where a newer version is I can go file a PR > to them to support newer stuff like \underleftrightarrow. The database and related work is available under https://milde.users.sourceforge.net/LUCR/Math/ The latest revision is used in latex2mathml but not published yet. The "unimathsymbols" database only contains LaTeX math macros that map directly to Unicode code points. (\underleftrightarrow is implemented using ↔ (\leftrightarrow) in a `<munder>` element.) --- ** [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:** Tue Nov 01, 2022 11:44 AM 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 doc...@li... 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. |