Skip to content

roniemartinez/latex2mathml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

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

πŸ›
Felix Yan
Felix Yan

πŸ’»
Rob Blackbourn
Rob Blackbourn

πŸ’»

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