Pure Python library for LaTeX to MathML conversion
Project description
latex2mathml
Pure Python library for LaTeX to MathML conversion
License | Version | ||
Travis CI | Coverage | ||
Supported versions | Wheel | ||
Status | Downloads |
Support
If you like latex2mathml
or if it is useful to you, show your support by buying me a coffee.
Installation
pip install latex2mathml
Usage
Python
import latex2mathml.converter
latex_input = "<your_latex_string>"
mathml_output = latex2mathml.converter.convert(latex_input)
Command-line
% latex2mathml -h
usage: l2m [-h] [-V] [-t TEXT | -f FILE]
Pure Python library for LaTeX to MathML conversion
optional arguments:
-h, --help show this help message and exit
-V, --version Show version
required arguments:
-t TEXT, --text TEXT Text
-f FILE, --file FILE File
References
LaTeX
- https://en.wikibooks.org/wiki/LaTeX/Mathematics
- http://artofproblemsolving.com/wiki/index.php?title=Main_Page
- http://milde.users.sourceforge.net/LUCR/Math/
- https://math-linux.com/latex-26/faq/latex-faq/article/latex-derivatives-limits-sums-products-and-integrals
MathML
Author
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
latex2mathml-3.0.0.tar.gz
(63.8 kB
view hashes)
Built Distribution
Close
Hashes for latex2mathml-3.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0014d00f2f5010ff31bafc18b739670bdeaff756a61de7b87a64915ca00c4390 |
|
MD5 | 277ef72262802d8ebce3cd76bdaaa9ac |
|
BLAKE2b-256 | 8998e0b4e7c2cf3d974ea6449aeb2f0cde3c6b3069e62bfd9419663c6c5f3ee5 |