# 使用 Homebrew, apt, dnf, MacPorts, Nix, pacman, zypper 安装 hevea

查看 hevea 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install hevea
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install hevea
```

  证据: 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
```

  证据: 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
```

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

- Nix (92%):

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

  证据: 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
```

  证据: 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
```

  证据: openSUSE Tumbleweed package metadata: hevea from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:hevea
- **软件包管理器:** Homebrew
- **版本:** 2.38
- **来源摘要:** LaTeX-to-HTML translator
- **主页:** <https://hevea.inria.fr/>
- **最后更新:** 2026-07-13T05:11:30Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- bibhva (别名)
- esponja (别名)
- hacha (别名)
- hevea (别名)
- imagen (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 2.38
## 项目历史与用法

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.

### 项目历史

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.

### 采用历史

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.

### 使用方式

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`.

### 为什么软件包爱好者会关心

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.

### 时间线

- 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.

### 来源

- 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.


## 安全说明

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

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

## 其他软件包管理器记录

- 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-5.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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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.7: normalized package name match | openSUSE Tumbleweed package metadata: hevea from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-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


## Combined YAML source

View the package source record on GitHub. [combined/hevea.yml](https://github.com/mxcl/pkgdb/blob/main/combined/hevea.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
