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.11.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.11.0.tar.gz.
File metadata
- Download URL: latex2mathml-3.11.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 |
42cf1f14e377d1d5f07398f78b10eeb5d569c0274574498341d9abdc3ef72648
|
|
| MD5 |
efe387ca37acec3f8f6ac4c66ae45024
|
|
| BLAKE2b-256 |
daaae495b4d28ce223ae534dfd206741a6227b1c8d64e986578ff5dce26869a8
|
File details
Details for the file latex2mathml-3.11.0-py3-none-any.whl.
File metadata
- Download URL: latex2mathml-3.11.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 |
9f33b0a2c9f242269879b034f8d8a5ae3790b8d7933d702e19a89194c944663c
|
|
| MD5 |
2550915dfe38a41497187525e18f7f08
|
|
| BLAKE2b-256 |
ed5dbb2827330bfe79955fda71cb1fd02a980e05edc54073bf5ec536e58f2350
|