Skip to content

Pure Python library for LaTeX to MathML conversion

License

Notifications You must be signed in to change notification settings

DenisSalem/latex2mathml

 
 

Repository files navigation

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

🐛

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

About

Pure Python library for LaTeX to MathML conversion

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.8%
  • Makefile 0.2%