Pure Python library for LaTeX to MathML conversion
Project description
License | Version | ||
Github Actions | Coverage | ||
Supported versions | Wheel | ||
Status | Downloads | ||
All Contributors |
latex2mathml
Pure Python library for LaTeX to MathML conversion
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: latex2mathml [-h] [-V] [-b] [-t TEXT | -f FILE | -s]
Pure Python library for LaTeX to MathML conversion
options:
-h, --help show this help message and exit
-V, --version Show version
-b, --block Display block
required arguments:
-t TEXT, --text TEXT Text
-f FILE, --file FILE File
-s, --stdin Stdin
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
- https://www.tutorialspoint.com/tex_commands
- https://www.giss.nasa.gov/tools/latex/ltx-86.html
- https://ftp.gwdg.de/pub/ctan/info/l2tabu/english/l2tabuen.pdf
MathML
Author
Contributors ✨
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!
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.77.0.tar.gz
(74.1 kB
view details)
Built Distribution
File details
Details for the file latex2mathml-3.77.0.tar.gz
.
File metadata
- Download URL: latex2mathml-3.77.0.tar.gz
- Upload date:
- Size: 74.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.12.0 Linux/6.2.0-1016-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2f501d1878f2e489c3f6f12786bef74c62f712d2770f7f3c837eb20a55d0a1e |
|
MD5 | f9a0ba3fee72f847148ac87b2c894c71 |
|
BLAKE2b-256 | a3dc6630656e3aa7430b61acefcc3d8a9c23110790193cde0eed1c27a31e4187 |
File details
Details for the file latex2mathml-3.77.0-py3-none-any.whl
.
File metadata
- Download URL: latex2mathml-3.77.0-py3-none-any.whl
- Upload date:
- Size: 73.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.12.0 Linux/6.2.0-1016-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5531e18a2a9eae7c24e257118b6a444cbba253cd27ff3e81f1bd6c41e88e786e |
|
MD5 | 36ce72d75b010d0001b518077eab672b |
|
BLAKE2b-256 | f20a181ed55562ce90179aedf33b09fcd79db31c868a5d480f3cb71a31d19692 |