Skip to main content

Pure Python library for LaTeX to MathML conversion

Project description

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!

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

latex2mathml-3.78.0.tar.gz (73.7 kB view details)

Uploaded Source

Built Distribution

latex2mathml-3.78.0-py3-none-any.whl (73.7 kB view details)

Uploaded Python 3

File details

Details for the file latex2mathml-3.78.0.tar.gz.

File metadata

  • Download URL: latex2mathml-3.78.0.tar.gz
  • Upload date:
  • Size: 73.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.13.3 Linux/6.11.0-1012-azure

File hashes

Hashes for latex2mathml-3.78.0.tar.gz
Algorithm Hash digest
SHA256 712193aa4c6ade1a8e0145dac7bc1f9aafbd54f93046a2356a7e1c05fa0f8b31
MD5 b48e49ed9cb0e7eecfe473524137f04a
BLAKE2b-256 6933ad2c3929494ad160f5130ea132ca298627a6c81c70be6bedd1bc806b5b01

See more details on using hashes here.

File details

Details for the file latex2mathml-3.78.0-py3-none-any.whl.

File metadata

  • Download URL: latex2mathml-3.78.0-py3-none-any.whl
  • Upload date:
  • Size: 73.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.13.3 Linux/6.11.0-1012-azure

File hashes

Hashes for latex2mathml-3.78.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1aeca3dc027b3006ad7b301b7f4a15ffbb4c1451e3dc8c3389e97b37b497e1d6
MD5 cf2d203b039133422aa42b5896b9be6b
BLAKE2b-256 1efdaba08bb9e527168efad57985d7db9a853eb2384b1efa5ca5f3a3794c9cef

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page