/latex2mathml

Pure Python library for LaTeX to MathML conversion

Primary LanguagePythonMIT LicenseMIT

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

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

MathML

Author

Contributors ✨

Thanks goes to these wonderful people (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

πŸ›

This project follows the all-contributors specification. Contributions of any kind welcome!