# Install tth with Homebrew, apt, dnf, MacPorts

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

## Install

```sh
sudo av install brew:tth
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install tth
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install tth
```

  Evidence: MacPorts ports tree: textproc/tth/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install tth
```

  Evidence: Debian stable package indexes: tth from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install tth
```

  Evidence: Fedora Rawhide package metadata: tth from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

## Package facts

- **Package key:** brew:tth
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/tth>
- **Version:** 4.16
- **Source summary:** TeX/LaTeX to HTML converter
- **Homepage:** <http://silas.psfc.mit.edu/tth/>
- **Upstream docs:** <http://silas.psfc.mit.edu/tth>
- **License:** GPL-2.0-only
- **Source archive:** <https://downloads.sourceforge.net/project/tth/tth4.16.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- latex2gif (cli)
- ps2gif (cli)
- tth (cli)
- latex2gif (alias)
- ps2gif (alias)
- tth (alias)

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 4.16
- Local data: ok
- Upstream repository: http://silas.psfc.mit.edu/tth/
- info: No package-manager update timestamp was available.
- info: Release/tag comparison is only available for GitHub repositories.
## 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.

### Sources

- <http://silas.psfc.mit.edu/tth/>
- <http://silas.psfc.mit.edu/tth/CHANGES>
- <http://silas.psfc.mit.edu/tth/distribution.html>
- <http://silas.psfc.mit.edu/tth/manual/>
- <http://silas.psfc.mit.edu/tth/webmath.html>
- source_facts.package-manager


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** tth
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Debian apt - tth - 4.16+ds-2: normalized package name match | Debian stable package indexes: tth from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | TeX/LaTeX to HTML converter | http://silas.psfc.mit.edu/tth/
- Debian apt - tth-common - 4.16+ds-2: normalized package name match | Debian stable package indexes: tth-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | auxiliary software material for TtH and TtM | http://silas.psfc.mit.edu/tth/
- Debian apt - ttm - 4.16+ds-2: normalized package name match | Debian stable package indexes: ttm from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | TeX/LaTeX to MathML converter | http://silas.psfc.mit.edu/tth/mml/
- Ubuntu apt - tth - 4.16+ds-1: normalized package name match | Ubuntu 24.04 LTS package indexes: tth from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | TeX/LaTeX to HTML converter | http://hutchinson.belmont.ma.us/tth
- Ubuntu apt - tth-common - 4.16+ds-1: normalized package name match | Ubuntu 24.04 LTS package indexes: tth-common from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | auxiliary software material for TtH and TtM | http://hutchinson.belmont.ma.us/tth
- Ubuntu apt - ttm - 4.16+ds-1: normalized package name match | Ubuntu 24.04 LTS package indexes: ttm from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | TeX/LaTeX to MathML converter | http://hutchinson.belmont.ma.us/ttm
- dnf - tth - 4.16-10.fc45: normalized package name match | Fedora Rawhide package metadata: tth from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | TeX to HTML/MathML translators | http://silas.psfc.mit.edu/tth/
- dnf - tth-devel - 4.16-10.fc45: normalized package name match | 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 | Development files for TTH | http://silas.psfc.mit.edu/tth/
- dnf - tth-libs - 4.16-10.fc45: normalized package name match | 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 | TeX to HTML/MathML translation libraries | http://silas.psfc.mit.edu/tth/
- dnf - tth-tex - 4.16-10.fc45: normalized package name match | 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 | (La)TeX style files for TTH | http://silas.psfc.mit.edu/tth/
- MacPorts - tth: normalized package name match | MacPorts ports tree: textproc/tth/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [latexml](https://www.automicvault.com/pkg/brew/latexml/) - Shares av.db curated category or tags: cli, developer-tools, document-conversion, html, latex.
- [adr-viewer](https://www.automicvault.com/pkg/brew/adr-viewer/) - Shares av.db curated category or tags: cli, developer-tools, documentation, html.
- [dashing](https://www.automicvault.com/pkg/brew/dashing/) - Shares av.db curated category or tags: cli, developer-tools, documentation, html.
- [dvisvgm](https://www.automicvault.com/pkg/brew/dvisvgm/) - Shares av.db curated category or tags: cli, developer-tools, documentation, tex.
- [literate-git](https://www.automicvault.com/pkg/brew/literate-git/) - Shares av.db curated category or tags: cli, developer-tools, documentation, html.
- [lowdown](https://www.automicvault.com/pkg/brew/lowdown/) - Shares av.db curated category or tags: cli, developer-tools, document-conversion, html, latex.
- [noweb](https://www.automicvault.com/pkg/brew/noweb/) - Shares av.db curated category or tags: cli, developer-tools, documentation, tex.
- [pandoc](https://www.automicvault.com/pkg/brew/pandoc/) - Shares av.db curated category or tags: cli, developer-tools, document-conversion, html, latex.

## Combined YAML source

View the package source record on GitHub. [combined/tth.yml](https://github.com/automic-vault/db/blob/main/combined/tth.yml)


## Sources

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