Skip to main content

Pure Python library for LaTeX to MathML conversion

Project description

latex2mathml

Pure Python library for LaTeX to MathML conversion

License License Version Version
Travis CI Travis CI Coverage CodeCov
Supported versions Python Versions Wheel Wheel
Status Status Downloads Downloads

Support

If you like latex2mathml or if it is useful to you, show your support by buying me a coffee.

Buy Me A Coffee

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: l2m [-h] [-V] [-b] [-t TEXT | -f FILE]

Pure Python library for LaTeX to MathML conversion

optional arguments:
  -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

References

LaTeX

MathML

Author

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.5.1.tar.gz (64.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

latex2mathml-3.5.1-py3-none-any.whl (65.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: latex2mathml-3.5.1.tar.gz
  • Upload date:
  • Size: 64.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.6 CPython/3.6.7 Linux/4.15.0-1077-gcp

File hashes

Hashes for latex2mathml-3.5.1.tar.gz
Algorithm Hash digest
SHA256 f0286233efd496e438baa66f6c382296f032d54ae3345a98d63929464a5f5c32
MD5 e2fea85bfb5b119a29f39e2779dfde60
BLAKE2b-256 caf4d597ddea65fb274a24e7cb939aec2203a96d7f2af31a4b885a5c5760834d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: latex2mathml-3.5.1-py3-none-any.whl
  • Upload date:
  • Size: 65.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.6 CPython/3.6.7 Linux/4.15.0-1077-gcp

File hashes

Hashes for latex2mathml-3.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c174c063e38ce2d47fbfd7bc6d30caf8b2d0246f58774e9bca8cc281488ece85
MD5 2c301f9ac9e6542c4c527db8c2948edb
BLAKE2b-256 da02b5a2661edc320dc2e8f1453ac9f7a205f0a58d49a7d36108e785a4b91288

See more details on using hashes here.

Supported by

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