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.75.0.tar.gz
(73.9 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.75.0.tar.gz.
File metadata
- Download URL: latex2mathml-3.75.0.tar.gz
- Upload date:
- Size: 73.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.1 CPython/3.11.0 Linux/5.15.0-1024-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
34ad6aa41b648b96205936c7fc9cd6fd1ff478520e14b3fe22d5fa4969341746
|
|
| MD5 |
55f7c24155130589e12fed46091d5985
|
|
| BLAKE2b-256 |
3ca9bc066b040c30e3236e74a2071904ac9a2df5de82a6b69feca80c19e227b2
|
File details
Details for the file latex2mathml-3.75.0-py3-none-any.whl.
File metadata
- Download URL: latex2mathml-3.75.0-py3-none-any.whl
- Upload date:
- Size: 72.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.1 CPython/3.11.0 Linux/5.15.0-1024-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2d21bc7aa8e71eca7b643c66dd83d9f675fc01a23dca3b6017331303a69d25ef
|
|
| MD5 |
44bc8ca309ad0b7070027191debcf100
|
|
| BLAKE2b-256 |
7e901a32f789b2955ad6f6c8b23ff68e6d2bc7ebb8ff91d41387c1923036cb62
|