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.22.0.tar.gz (65.6 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.22.0-py3-none-any.whl (66.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: latex2mathml-3.22.0.tar.gz
  • Upload date:
  • Size: 65.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.6 CPython/3.9.5 Linux/5.4.0-1047-azure

File hashes

Hashes for latex2mathml-3.22.0.tar.gz
Algorithm Hash digest
SHA256 867345d5760258a34c96b4c4cf48ee0434a86f55f8ed4949e5f054ec58c73c03
MD5 95bbb4dbd77e189b53f12a49fe120116
BLAKE2b-256 2870725644d80a6bf03a6de925d266474d075544e7b8e88fe1fbbf70beb7e5ca

See more details on using hashes here.

File details

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

File metadata

  • Download URL: latex2mathml-3.22.0-py3-none-any.whl
  • Upload date:
  • Size: 66.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.6 CPython/3.9.5 Linux/5.4.0-1047-azure

File hashes

Hashes for latex2mathml-3.22.0-py3-none-any.whl
Algorithm Hash digest
SHA256 33d7f745b463a64eb5a396a5bd05615cd5bfc3d555b2bef628ba1fdb2f9391da
MD5 f98de02a905c48132a1dad894337c03a
BLAKE2b-256 28a7df0a2751379bbeee2a89b7c310b16985ad96d096c135d79e75e9111a1552

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