# Install hevea with Homebrew, apt, dnf, MacPorts, Nix, pacman, zypper

LaTeX-to-HTML translator. Version 2.38 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:hevea
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install hevea
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install hevea
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install hevea
```

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

- dnf (92%):

```sh
sudo dnf install hevea
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#hevea
```

  Evidence: nixpkgs package indexes: pkgs/by-name/he/hevea/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S hevea
```

  Evidence: Arch Linux sync databases: hevea from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install hevea
```

  Evidence: openSUSE Tumbleweed package metadata: hevea from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:hevea
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/hevea>
- **Version:** 2.38
- **Source summary:** LaTeX-to-HTML translator
- **Homepage:** <https://hevea.inria.fr/>
- **Repository:** <https://github.com/maranget/hevea>
- **Upstream docs:** <https://hevea.inria.fr/doc>
- **License:** QPL-1.0 AND GPL-2.0-only
- **Source archive:** <https://hevea.inria.fr/old/hevea-2.38.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- bibhva (cli)
- esponja (cli)
- hacha (cli)
- hevea (cli)
- imagen (cli)
- bibhva (alias)
- esponja (alias)
- hacha (alias)
- hevea (alias)
- imagen (alias)

## Dependencies

- ocaml

## Build dependencies

- ocamlbuild

## Install behavior

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

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 2.38
- Local data: ok
- Upstream repository: https://hevea.inria.fr/
- info: No package-manager update timestamp was available.
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

HEVEA is Luc Maranget's OCaml-written LaTeX-to-HTML translator from Inria. It is a long-lived document-conversion tool that favors direct HTML output, LaTeX macro understanding, and companion utilities such as HACHA for splitting generated documents.

### Project history

The official home page describes HEVEA as a quite complete and fast LaTeX-to-HTML translator written in Objective Caml. The README says it accepts a fairly complete subset of LaTeX2e, understands LaTeX macro definitions, lets users customize output by writing LaTeX code, and can translate large manuals or books quickly.

HEVEA's source distribution history predates the GitHub mirror. The Inria distribution directory preserves version 1.99 artifacts from August 30, 2012, and the old-version index shows the 2.00 series beginning in January 2013. The GitHub repository was created on May 7, 2018 as a public source-control home for continued development.

The CHANGES file records a long evolution: version 1.99 was the last release targeting HTML 4.0 output, version 2.00 moved to HTML 5.0 output, version 2.29 added MathJax support, version 2.36 added OCaml 5.0 compatibility, and version 2.38 included Windows adaptation work and numerous fixes.

### Adoption history

HEVEA's adoption belongs to the TeX and OCaml worlds: it is useful where authors have LaTeX sources but want navigable, static HTML without running a full browser-side rendering stack. The official site links to examples and a paper describing the use of HEVEA to translate 14 documents by 14 authors.

The home page documents availability through opam, Windows porting, Linux package systems, and MacPorts. The Homebrew package sits in that wider cross-platform packaging trail, alongside Debian, Fedora, Nix, Arch, Ubuntu, and other distribution packages recorded in the input facts.

### How it is used

Users run `hevea` on LaTeX input to produce one HTML file, then use `hacha` to cut that output into smaller files when a multi-page HTML manual is desired. The manual also documents `imagen` for handling constructs that need help from LaTeX, `bibhva` for bibliographies, and `esponja` for HTML processing.

HEVEA is highly style-file oriented. Its manual covers standard and additional style files, CSS support, macro customization, raw HTML insertion, alternate text and info outputs, and practical invocation of `hevea`, `hacha`, and `imagen`.

### Why package nerds care

HEVEA matters to package nerds because it is a specialized converter with a very Unixy shape: a compiler-like command, companion filters, source distribution, man-page-style documentation, and long distribution life across TeX, OCaml, and OS package ecosystems.

It also represents a different branch of LaTeX-to-web tooling from Pandoc, LaTeXML, lwarp, or TeX4ht. Instead of treating LaTeX mainly as markup to parse into a general document AST, HEVEA leans on an OCaml implementation that understands a large useful subset of LaTeX and emits direct HTML.

### Timeline

- 2012-08-30: Inria distribution directory preserved HEVEA 1.99 artifacts and manual files.
- 2013-01-24: Inria old-version index listed HEVEA 2.00, whose CHANGES entry moved output to HTML 5.0.
- 2016: CHANGES recorded MathJax support in the 2.29 series.
- 2018-05-07: `maranget/hevea` GitHub repository creation date recorded by GitHub.
- 2022: CHANGES recorded OCaml 5.0 compatibility in version 2.36.
- 2026-02-05: Inria distribution index listed HEVEA 2.38 artifacts.

### Related projects

- HACHA, imagen, bibhva, and esponja are companion tools distributed with HEVEA.
- Related LaTeX-to-web tools include LaTeX2HTML, TeX4ht, LaTeXML, lwarp, and Pandoc, but HEVEA's official sources emphasize its OCaml implementation and LaTeX-macro customization model.

### Sources

- CHANGES and Inria distribution indexes for version evolution and dated artifacts.
- GitHub README for implementation, input/output model, and installation notes.
- Inria home page and online manual for purpose, documentation, distribution, and companion tools.


## Security Notes

broad file, network, media, or database tool signal.

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** hevea
- **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 - hevea - 2.36-2+b4: normalized package name match | Debian stable package indexes: hevea from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | translates from LaTeX to HTML, info, or text | https://hevea.inria.fr/
- Nix - hevea: normalized package name match | nixpkgs package indexes: pkgs/by-name/he/hevea/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - hevea - 2.36-2: normalized package name match | Ubuntu 24.04 LTS package indexes: hevea from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | translates from LaTeX to HTML, info, or text | https://hevea.inria.fr/
- dnf - hevea - 2.38-3.fc45: normalized package name match | Fedora Rawhide package metadata: hevea from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | LaTeX to HTML translator | http://hevea.inria.fr/
- pacman - hevea - 2.38-1: normalized package name match | Arch Linux sync databases: hevea from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A quite complete and fast LATEX to HTML translator | http://pauillac.inria.fr/~maranget/hevea/
- zypper - hevea - 2.38-1.4: normalized package name match | openSUSE Tumbleweed package metadata: hevea from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | A fast LaTeX to HTML translator | https://hevea.inria.fr/
- MacPorts - hevea: normalized package name match | MacPorts ports tree: textproc/hevea/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related links

- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [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.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [ocaml](https://www.automicvault.com/pkg/brew/ocaml/) - Runtime dependency declared by Homebrew.
- [ocamlbuild](https://www.automicvault.com/pkg/brew/ocamlbuild/) - Build dependency declared by Homebrew.
- [latex2html](https://www.automicvault.com/pkg/brew/latex2html/) - Shares av.db curated category or tags: cli, document-conversion, html, latex, productivity.
- [latex2rtf](https://www.automicvault.com/pkg/brew/latex2rtf/) - Shares av.db curated category or tags: cli, document-conversion, latex, productivity.
- [rtf2latex2e](https://www.automicvault.com/pkg/brew/rtf2latex2e/) - Shares av.db curated category or tags: cli, document-conversion, latex, productivity.
- [docx2txt](https://www.automicvault.com/pkg/brew/docx2txt/) - Shares av.db curated category or tags: cli, document-conversion, productivity.
- [libmspub](https://www.automicvault.com/pkg/brew/libmspub/) - Shares av.db curated category or tags: cli, document-conversion, productivity.
- [multimarkdown](https://www.automicvault.com/pkg/brew/multimarkdown/) - Shares av.db curated category or tags: cli, document-conversion, html, latex, productivity.
- [odt2txt](https://www.automicvault.com/pkg/brew/odt2txt/) - Shares av.db curated category or tags: cli, document-conversion, productivity.
- [unoserver](https://www.automicvault.com/pkg/brew/unoserver/) - Shares av.db curated category or tags: cli, document-conversion, productivity.

## Combined YAML source

View the package source record on GitHub. [combined/hevea.yml](https://github.com/automic-vault/db/blob/main/combined/hevea.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
