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.22.0.tar.gz
(65.6 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.22.0.tar.gz.
File metadata
- Download URL: latex2mathml-3.22.0.tar.gz
- Upload date:
- Size: 65.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.6 CPython/3.9.5 Linux/5.4.0-1047-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
867345d5760258a34c96b4c4cf48ee0434a86f55f8ed4949e5f054ec58c73c03
|
|
| MD5 |
95bbb4dbd77e189b53f12a49fe120116
|
|
| BLAKE2b-256 |
2870725644d80a6bf03a6de925d266474d075544e7b8e88fe1fbbf70beb7e5ca
|
File details
Details for the file latex2mathml-3.22.0-py3-none-any.whl.
File metadata
- Download URL: latex2mathml-3.22.0-py3-none-any.whl
- Upload date:
- Size: 66.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.6 CPython/3.9.5 Linux/5.4.0-1047-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
33d7f745b463a64eb5a396a5bd05615cd5bfc3d555b2bef628ba1fdb2f9391da
|
|
| MD5 |
f98de02a905c48132a1dad894337c03a
|
|
| BLAKE2b-256 |
28a7df0a2751379bbeee2a89b7c310b16985ad96d096c135d79e75e9111a1552
|