• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

humenda/GladTeX: embed LaTeX formulas into LaTeX

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

humenda/GladTeX

开源软件地址(OpenSource Url):

https://github.com/humenda/GladTeX

开源编程语言(OpenSource Language):

Python 99.9%

开源软件介绍(OpenSource Introduction):

GladTeX

GladTeX is a utility and library to display formulas on the Web and in HTML-based formats such as EPUB. Formulas are embedded within <eq>…</eq> tags and converted automatically to a scalable SVG image using LaTeX. The images integrate seamlessly into the output documents, work with any browser and are accessible for visually impaired and blind users as well.

Features

  • LaTeX-quality formulas with partial unicode maths support
  • Pandoc support to convert from any format with LaTeX-formulas (MarkDown, …) to any HTML-based format, e.g. EPUB
  • Cache formulas to speed up subsequent document conversion
  • Python library GleeTeX to embed into other applications or to tailor to a specific workflow
  • cross-platform, written in Python, comes with Windows executables.

License

  • (C) 1999-2010 Martin G. Gulbrandsen (Perl version)
  • (C) 2011-2013 Jonathan Daugherty (especially release 1.3) (Perl version)
  • (C) 2013-2020 Sebastian Humenda (Python version)

This program is distributed under the LGPL-3, or at your option, any later version of the license; for details see the accompanying file COPYING.

The official project homepage is at http://humenda.github.io/GladTeX

Installation

Debian/Ubuntu

On all derivatives of Debian (as Ubuntu/Mint, etc.), installing GladTeX is as easy as

# apt-get install gladtex

Windows

If you want to use the program without the Python library, you should download a pre-compiled binary from https://github.com/humenda/GladTeX/releases.

Just unzip the archive and move the files to a directory within %PATH%.

From Source

The following is required for installing GladTeX:

  • Python >= 3.4
  • LaTeX (2e), dvisvgm (optionally png)
  • the LaTeX package preview.sty

Debian / Ubuntu

On Debian/Ubuntu systems the following commands will satisfy the dependencies:

# apt-get install python3-all texlive-fonts-recommended texlive-latex-recommended preview-latex-style dvipng

The package can then be installed using

# python3 setup.py install

Note: If your system ships python as the command for Python3 you have to use python in the above command instead.

OS X

You need to install a LaTeX distribution on your Mac. GladTeX was successfully run with MacTex.

You can download a zip source archive from GitHub or use git:

$ git clone https://github.com/humenda/GladTeX.git

Use cd to change to the GladTeX source directory and issue

$ python setup.py install

Documentation

Please use man gladtex for further instructions or have a look at the file manpage.md.

Contribute

Contributions are welcome. Please use black to format the code.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap