Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

README

        


License
License
Version
Version


Github Actions
Github Actions
Coverage
CodeCov


Supported versions
Python Versions
Wheel
Wheel


Status
Status
Downloads
Downloads


All Contributors
All Contributors

# latex2mathml

Pure Python library for LaTeX to MathML conversion

## Installation

```bash
pip install latex2mathml
```

## Usage

### Python

```python
import latex2mathml.converter

latex_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 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

- 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
Ronie Martinez

🚧 πŸ’» πŸš‡
askender
askender

πŸ“–
06180339
06180339

πŸ’»
chaihahaha
chaihahaha

πŸ’»
HQY
HQY

πŸ›
ιΈ­ζ’¨
ιΈ­ζ’¨

πŸ›
oliverstefanov
oliverstefanov

πŸ›


Deleted user
Deleted user

πŸ›
Cesaryuan
Cesaryuan

πŸ›
TonyStank
TonyStank

πŸ›
Dirk Winkel
Dirk Winkel

πŸ›
sinslu
sinslu

πŸ›
Nikola Ubavić
Nikola Ubavić

πŸ›
abhisheksia
abhisheksia

πŸ›


Denis Salem
Denis Salem

πŸ› πŸ’»
Steven Clontz
Steven Clontz

πŸ›
η©Ίη™½
η©Ίη™½

πŸ›
MURAMATSU Atshshi
MURAMATSU Atshshi

πŸ›
leingang
leingang

πŸ›
Nigel Amers
Nigel Amers

πŸ›
retsyo
retsyo

πŸ›


Mia Kramer
Mia Kramer

πŸ’» πŸ“–
Nguyα»…n Gia Phong
Nguyα»…n Gia Phong

πŸ› πŸ’» ⚠️
Collin Delker
Collin Delker

πŸ›
jiotv321
jiotv321

πŸ›
Felix Yan
Felix Yan

πŸ’»
Rob Blackbourn
Rob Blackbourn

πŸ’»

This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!