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] [-b] [-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
-b, --block Display block
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
- 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
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.6.0.tar.gz
(65.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file latex2mathml-3.6.0.tar.gz.
File metadata
- Download URL: latex2mathml-3.6.0.tar.gz
- Upload date:
- Size: 65.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.6 CPython/3.6.7 Linux/4.15.0-1077-gcp
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4795b7cf94a8785cd03f310f2505aeac30de757a9b1c94a9b4d0490d0f1dc0f3
|
|
| MD5 |
a595bd8eac20a3fc626de61bffa833f2
|
|
| BLAKE2b-256 |
b9427ca81593fec3bd44542959e2ad45a22c6812d4168ad17008ee6a19467921
|
File details
Details for the file latex2mathml-3.6.0-py3-none-any.whl.
File metadata
- Download URL: latex2mathml-3.6.0-py3-none-any.whl
- Upload date:
- Size: 65.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.6 CPython/3.6.7 Linux/4.15.0-1077-gcp
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fcb733a1be6212431035225b9e89c1ef8cedb738dc223d75d1a56d04b9820158
|
|
| MD5 |
d332cb16ff1534135b3dd123cf24d5d8
|
|
| BLAKE2b-256 |
46655e7add7d501fcb4f2b267bb3005017022b5f585abe88ce8c2880446e7935
|