Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/roniemartinez/latex2mathml
Pure Python library for LaTeX to MathML conversion
https://github.com/roniemartinez/latex2mathml
latex mathml python python3
Last synced: 6 days ago
JSON representation
Pure Python library for LaTeX to MathML conversion
- Host: GitHub
- URL: https://github.com/roniemartinez/latex2mathml
- Owner: roniemartinez
- License: mit
- Created: 2016-01-05T12:51:23.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-09-16T19:34:36.000Z (17 days ago)
- Last Synced: 2024-09-23T20:02:01.785Z (10 days ago)
- Topics: latex, mathml, python, python3
- Language: Python
- Homepage:
- Size: 1.48 MB
- Stars: 182
- Watchers: 7
- Forks: 23
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
License
Version
Github Actions
Coverage
Supported versions
Wheel
Status
Downloads
All Contributors
# latex2mathml
Pure Python library for LaTeX to MathML conversion
## Installation
```bash
pip install latex2mathml
```## Usage
### Python
```python
import latex2mathml.converterlatex_input = ""
mathml_output = latex2mathml.converter.convert(latex_input)
```### Command-line
```shell
% 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 blockrequired 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
- http://www.xmlmind.com/tutorials/MathML/
## Author
- [Ronie Martinez](mailto:[email protected])
## Contributors β¨
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
Ronie Martinez
π§ π» π
askender
π
06180339
π»
chaihahaha
π»
HQY
π
ιΈζ’¨
π
oliverstefanov
π
Deleted user
π
Cesaryuan
π
TonyStank
π
Dirk Winkel
π
sinslu
π
Nikola UbaviΔ
π
abhisheksia
π
Denis Salem
π π»
Steven Clontz
π
η©Ίη½
π
MURAMATSU Atshshi
π
leingang
π
Nigel Amers
π
retsyo
π
Mia Kramer
π» π
Nguyα» n Gia Phong
π π» β οΈ
Collin Delker
π
jiotv321
π
Felix Yan
π»
Rob Blackbourn
π»
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!