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.62.0.tar.gz
(70.3 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.62.0.tar.gz.
File metadata
- Download URL: latex2mathml-3.62.0.tar.gz
- Upload date:
- Size: 70.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.11 CPython/3.10.0 Linux/5.8.0-1042-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1dfdf38c8d43bae72c8ead069be121edbe60a5e1c9c949dc4dfcd4460a8f3140
|
|
| MD5 |
56f38a22960aedd09a4537eee2ef95fe
|
|
| BLAKE2b-256 |
da035a3f07ee7496f6ec07ea3ca2112a75a95a94924d7a27585db641997c3b08
|
File details
Details for the file latex2mathml-3.62.0-py3-none-any.whl.
File metadata
- Download URL: latex2mathml-3.62.0-py3-none-any.whl
- Upload date:
- Size: 70.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.11 CPython/3.10.0 Linux/5.8.0-1042-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac1747c9bd49f5de77004581b3d53c72be64fa5e3b9f3221ed4f04843a9a470d
|
|
| MD5 |
f1c4bea6e175e59b59f44108400ac1a6
|
|
| BLAKE2b-256 |
66e785c92a61099dfdb5f1f0deb2899e8d96263134a9d8b1116c4e831a7b1acf
|