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.79.0.tar.gz
(151.1 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.79.0.tar.gz.
File metadata
- Download URL: latex2mathml-3.79.0.tar.gz
- Upload date:
- Size: 151.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
11bde318c2d2d6fcdd105a07509d867cee2208f653278eb80243dec7ea77a0ce
|
|
| MD5 |
fef6a6a39e733988dbac38f54d884149
|
|
| BLAKE2b-256 |
dd8d2161f46485d9c36c0fa0e1c997faf08bb7843027e59b549598e49f55f8bf
|
File details
Details for the file latex2mathml-3.79.0-py3-none-any.whl.
File metadata
- Download URL: latex2mathml-3.79.0-py3-none-any.whl
- Upload date:
- Size: 73.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9f10720d4fcf6b22d1b81f6628237832419a7a29783c13aa92fa8d680165e63d
|
|
| MD5 |
f5dd97ccdb66bdb9964b3a66fba0b284
|
|
| BLAKE2b-256 |
fd9256a954dd59637dd2ee013581fa3beea0821f17f2c07f818fc51dcc11fd10
|