用于LaTeX到MathML转换的纯Python库
项目描述
许可 | 版本 | ||
Github Actions | 覆盖率 | ||
支持版本 | Wheel | ||
状态 | 下载量 | ||
所有贡献者 |
latex2mathml
用于LaTeX到MathML转换的纯Python库
安装
pip install latex2mathml
使用
Python
import latex2mathml.converter
latex_input = "<your_latex_string>"
mathml_output = latex2mathml.converter.convert(latex_input)
命令行
% 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
参考
LaTeX
- https://wikibooks.cn/wiki/LaTeX/Mathematics
- http://artofproblemsolving.com/wiki/index.php?title=Main_Page
- http://milde.users.sourceforge.net/LUCR/Math/
- https://math-linux.com/latex-26/faq/latex-faq/article/latex-derivatives-limits-sums-products-and-integrals
- https://tutorialspoint.org.cn/tex_commands
- https://www.giss.nasa.gov/tools/latex/ltx-86.html
- https://ftp.gwdg.de/pub/ctan/info/l2tabu/english/l2tabuen.pdf
MathML
作者
贡献者 ✨
感谢这些可爱的人 (emoji key)
此项目遵循all-contributors规范。欢迎任何形式的贡献!
项目详情
下载文件
下载适用于您平台的文件。如果您不确定选择哪个,请了解有关安装包的更多信息。
源代码分发
latex2mathml-3.77.0.tar.gz (74.1 kB 查看哈希值)
构建分发
latex2mathml-3.77.0-py3-none-any.whl (73.7 kB 查看哈希值)
关闭
latex2mathml-3.77.0.tar.gz的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | e2f501d1878f2e489c3f6f12786bef74c62f712d2770f7f3c837eb20a55d0a1e |
|
MD5 | f9a0ba3fee72f847148ac87b2c894c71 |
|
BLAKE2b-256 | a3dc6630656e3aa7430b61acefcc3d8a9c23110790193cde0eed1c27a31e4187 |
关闭
latex2mathml-3.77.0-py3-none-any.whl的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 5531e18a2a9eae7c24e257118b6a444cbba253cd27ff3e81f1bd6c41e88e786e |
|
MD5 | 36ce72d75b010d0001b518077eab672b |
|
BLAKE2b-256 | f20a181ed55562ce90179aedf33b09fcd79db31c868a5d480f3cb71a31d19692 |