项目作者: roniemartinez

项目描述 :
Pure Python library for LaTeX to MathML conversion
高级语言: Python
项目地址: git://github.com/roniemartinez/latex2mathml.git
创建时间: 2016-01-05T12:51:23Z
项目社区:https://github.com/roniemartinez/latex2mathml

开源协议:MIT License

下载































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

  1. pip install latex2mathml

Usage

Python

  1. import latex2mathml.converter
  2. latex_input = "<your_latex_string>"
  3. mathml_output = latex2mathml.converter.convert(latex_input)

Command-line

  1. % latex2mathml -h
  2. usage: latex2mathml [-h] [-V] [-b] [-t TEXT | -f FILE | -s]
  3. Pure Python library for LaTeX to MathML conversion
  4. options:
  5. -h, --help show this help message and exit
  6. -V, --version Show version
  7. -b, --block Display block
  8. required arguments:
  9. -t TEXT, --text TEXT Text
  10. -f FILE, --file FILE File
  11. -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

🐛
Felix Yan
Felix Yan

💻
Rob Blackbourn
Rob Blackbourn

💻

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