Automic VaultAutomic Vault

brew

Install tth with Homebrew, apt, dnf, MacPorts

TeX/LaTeX to HTML converter. Version 4.16 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install tth

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install tth

MacPorts ports tree · textproc/tth/Portfile · source: api.github.com

overview

Package summary

TeX/LaTeX to HTML converter

Commands and aliases

  • latex2gif
  • ps2gif
  • tth

history

Project history and usage

TtH is Ian Hutchinson's TeX and LaTeX to HTML translator, built for publishing mathematical documents on the web without converting equations into images.

Its package-manager niche is old-school TeX automation: a portable C command that can be dropped into documentation pipelines when compact HTML output is preferable to image-heavy conversions.

Project history

The official site presents TtH as a translator from TeX, especially mathematical TeX, into browser-readable HTML. The site's own pages are generated by TtH, and the homepage notes that the manual can be translated in real time from TeX source.

Hutchinson's web-math overview records an original version in November 1997, with updates in 1998 and 2002, placing TtH in the first wave of tools trying to make scientific and mathematical documents practical on the web before browser-native math support was common.

The distribution page describes TtH as portable to essentially any operating system, available as executables or C source, and still developing. The change log records version 4.00 on 5 December 2010, version 4.01 as the GPL2 public-source release, and version 4.16 on 25 July 2022.

Adoption history

TtH's adoption came from a specific web-publishing problem: TeX was strong for mathematical authoring, while early HTML lacked reliable math rendering. The official comparison page argues for native HTML using symbol fonts and tables as a fast, convenient alternative to PDF pages or image-based equations.

The supplied package facts show TtH distributed through Homebrew, Debian, Fedora, MacPorts, and Ubuntu, evidence that it survived as a compact Unix-style converter even as newer TeX-to-web systems appeared.

How it is used

The official manual describes TtH as translating Plain TeX and LaTeX documents into HTML, including document structure, hyperlinks, equations, tables, bibliographies, indexes, graphics inclusion, and split output.

The site emphasizes that TtH translates equations rather than rendering them as images, producing compact and fast-viewing web documents. The official examples include large lecture notes, a Plain TeX test document, and the TtH manual itself served from TeX source.

Why package nerds care

For package maintainers, TtH is valuable because it is a small, portable command-line converter with a long release history and very few moving parts compared with browser-driven or image-generation workflows.

It is also historically interesting because the project pages are themselves artifacts of the tool: generated HTML pages that document the same TeX-to-HTML problem the package solves.

Timeline

  • 1997: Hutchinson's web-math overview lists the original version of the discussion around TtH's approach.
  • 2006: The distribution page was generated by TtHgold 3.77 and described ongoing development and C-source distribution.
  • 2010: Version 4.00 released.
  • 2010: Version 4.01 released as the full public GPL2 source version.
  • 2022: Version 4.16 released.

Related projects

  • TtM is the companion TeX-to-MathML translator linked from the official TtH homepage.
  • The official web-math comparison discusses LaTeX2HTML and TeX4ht as neighboring TeX-to-web converters.
  • TtHfunc is the function-callable version for integrating the translator into other executables.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 10 platform targets.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
latex2gifcliglobal executable
ps2gifcliglobal executable
tthcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version4.16
manager updated
local dataok
upstreamnot checked
latest detectednot detected

http://silas.psfc.mit.edu/tth/

  • infoNo package-manager update timestamp was available.low confidence
  • infoRelease/tag comparison is only available for GitHub repositories.http://silas.psfc.mit.edu/tth/none confidence

install metadata

Package metadata

Package keybrew:tth
Version4.16
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/tth
Homepagehttp://silas.psfc.mit.edu/tth/
Upstream docshttp://silas.psfc.mit.edu/tth
LicenseGPL-2.0-only
Source archivehttps://downloads.sourceforge.net/project/tth/tth4.16.tar.gz
Bottleavailable (on arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nametth
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

tth 4.16+ds-2

TeX/LaTeX to HTML converter

http://silas.psfc.mit.edu/tth/

sudo apt install tth
  • Section: tex
  • Architecture: amd64
  • 1 dependencies
  • 2 optional deps
  • normalized package name match
  • Matched by: Tth
Debian stable package indexes · deb.debian.org · Debian stable package indexes: tth from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

tth-common 4.16+ds-2

auxiliary software material for TtH and TtM

http://silas.psfc.mit.edu/tth/

sudo apt install tth-common
  • Section: tex
  • Architecture: amd64
  • Source Package: tth
  • 5 dependencies
  • normalized package name match
  • Matched by: Tth
Debian stable package indexes · deb.debian.org · Debian stable package indexes: tth-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

ttm 4.16+ds-2

TeX/LaTeX to MathML converter

http://silas.psfc.mit.edu/tth/mml/

sudo apt install ttm
  • Section: tex
  • Architecture: amd64
  • Source Package: tth
  • 1 dependencies
  • 2 optional deps
  • normalized package name match
  • Matched by: Tth
Debian stable package indexes · deb.debian.org · Debian stable package indexes: ttm from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

tth 4.16+ds-1

TeX/LaTeX to HTML converter

http://hutchinson.belmont.ma.us/tth

sudo apt install tth
  • Section: universe/tex
  • Architecture: amd64
  • 1 dependencies
  • 2 optional deps
  • normalized package name match
  • Matched by: Tth
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: tth from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

tth-common 4.16+ds-1

auxiliary software material for TtH and TtM

http://hutchinson.belmont.ma.us/tth

sudo apt install tth-common
  • Section: universe/tex
  • Architecture: amd64
  • Source Package: tth
  • 5 dependencies
  • normalized package name match
  • Matched by: Tth
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: tth-common from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

ttm 4.16+ds-1

TeX/LaTeX to MathML converter

http://hutchinson.belmont.ma.us/ttm

sudo apt install ttm
  • Section: universe/tex
  • Architecture: amd64
  • Source Package: tth
  • 1 dependencies
  • 2 optional deps
  • normalized package name match
  • Matched by: Tth
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: ttm from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

tth 4.16-10.fc45

TeX to HTML/MathML translators

http://silas.psfc.mit.edu/tth/

sudo dnf install tth
  • License: GPL-2.0-only
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: tth
  • 22 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Tth
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: tth from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

tth-devel 4.16-10.fc45

Development files for TTH

http://silas.psfc.mit.edu/tth/

sudo dnf install tth-devel
  • License: GPL-2.0-only
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: tth
  • 3 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Tth
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: tth-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

tth-libs 4.16-10.fc45

TeX to HTML/MathML translation libraries

http://silas.psfc.mit.edu/tth/

sudo dnf install tth-libs
  • License: GPL-2.0-only
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: tth
  • 17 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: Tth
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: tth-libs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

tth-tex 4.16-10.fc45

(La)TeX style files for TTH

http://silas.psfc.mit.edu/tth/

sudo dnf install tth-tex
  • License: GPL-2.0-only
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: tth
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Tth
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: tth-tex from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
MacPorts95%

tth

sudo port install tth
  • normalized package name match
  • Matched by: Tth
MacPorts ports tree · api.github.com · MacPorts ports tree: textproc/tth/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment