BSD Ports

textproc/py-gladtex 4.0 DragonFly

LaTeX formula preprocessor for HTML files

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
LGPL3+
Categories
math, textproc, www
Package size
121.8 KiB, 1004.7 KiB installed

Description

GladTeX is a preprocessor that enables the use of LaTeX maths within HTML files. The maths, embedded in <EQ>...</EQ> tags, as if within \(..\) in LaTeX (or $...$ in TeX), is fed through latex and replaced by images.

Additionally all images get an alt-tag for alternative texts that contains the LaTeX-equivalent of the image. This is handy for text-mode browsers or blind people.

* GladTeX supports caching of formulas in order to enable incremental document editing or simply to share formulas across web pages.

* GladTeX can be used with Pandoc in order to convert MarkDown to HTML with LaTeX formulas.

* It also contains a library GleeTeX to custom tailor the generation and conversion process to your needs and to embedd it into your (web) application.

* It allows the usage of umlauts and other non-ASCII characters within formulas, by replacing these characters through LaTeX sequences.

* It is cross-platform, written in Python.

* Its source code is documented and tested.

In the other systems

The newest version among them is 4.0, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlytextproc/py-gladtex4.0 newestnone known-[email protected]-
FreeBSDtextproc/py-gladtex4.0_1 newestnone known-[email protected]2026-11-09
HardenedBSDtextproc/py-gladtex4.0 newestno data-[email protected]-
GhostBSDtextproc/py-gladtex4.0 newestno data-[email protected]-

Version history 1

  1. 4.0

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

pkg install py312-gladtex

From DPorts:

cd /usr/dports/textproc/py-gladtex && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 3

No port depends on this one.