# 使用 Homebrew, apt, MacPorts, Nix 安装 bibtex2html

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

## 安装

```sh
sudo av install brew:bibtex2html
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install bibtex2html
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install bibtex2html
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install bibtex2html
```

  证据: Debian stable package indexes: bibtex2html from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#bibtex2html
```

  证据: nixpkgs package indexes: pkgs/by-name/bi/bibtex2html/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:bibtex2html
- **软件包管理器:** Homebrew
- **版本:** 1.99
- **来源摘要:** BibTeX to HTML converter
- **主页:** <https://usr.lmf.cnrs.fr/~jcf/bibtex2html/index.en.html>
- **仓库:** <https://github.com/backtracking/bibtex2html>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- aux2bib (别名)
- bib2bib (别名)
- bibtex2html (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

BibTeX2HTML is an OCaml-written collection of command-line tools for turning BibTeX bibliographies into HTML pages and for filtering BibTeX entries.

### 项目历史

The official project page credits Jean-Christophe Filliatre and Claude Marche as authors and describes BibTeX2HTML as a collection of tools for translating BibTeX to HTML.

The changelog dates the first public release, version 0.1, to July 1997, followed by a rapid sequence of 0.x releases that added multiple bibliographies, online documentation, abstract handling, long options, macro translation, and filtering.

By version 1.0 in July 1999, BibTeX2HTML had become a practical publication-list generator with bib2bib filtering, footer control, citation-file support, macro handling, and BibTeX output preservation.

### 采用历史

BibTeX2HTML became useful in the early web era because academics already maintained BibTeX files and needed HTML publication pages without manually duplicating bibliography data.

The official home page points to Debian, FreeBSD, OpenBSD, Windows, macOS, Linux, and Solaris distribution artifacts or ports, showing long-lived cross-platform packaging beyond the original source release.

### 使用方式

The manual describes three command-line tools: bibtex2html for translating a .bib file into HTML, bib2bib for filtering bibliography entries by criteria, and aux2bib for extracting entries referenced by a LaTeX .aux file.

Typical users generate publication pages, add links from fields such as url, ps, and abstract, sort entries by dates or authors, and use bib2bib to select subsets of a bibliography.

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

BibTeX2HTML is package-nerd significant as a surviving 1990s Unix-style academic publishing tool: an OCaml CLI that bridges BibTeX, BibTeX styles, LaTeX-era metadata, and static HTML publication pages.

Its history also shows why package managers kept small bibliography converters around: they are glue tools for reproducible academic websites, not large applications.

### 时间线

- 1997-07-17: Version 0.1 is marked as the first public release.
- 1998-11-18: Version 0.7 adds online documentation and long options.
- 1999-07-15: Version 1.0 adds fuller bib2bib filtering and publication-page features.
- 2008-07-08: Version 1.92 adds a Windows installer and cross-reference expansion.
- 2014-07-04: Version 1.98 fixes URL escaping and improves macro translation.
- 2018-03-23: Version 1.99 updates safety around string use and requires OCaml 4.03 or newer.

### Related projects

- BibTeX is the source bibliography format and external processor that BibTeX2HTML builds around.
- HeVeA is listed by the project as a related LaTeX-to-HTML tool.
- bib2bib and aux2bib are companion tools distributed with BibTeX2HTML.

### 来源

- <https://github.com/backtracking/bibtex2html/blob/master/CHANGES>
- <https://usr.lmf.cnrs.fr/~jcf/bibtex2html/doc/manual.html>
- <https://usr.lmf.cnrs.fr/~jcf/bibtex2html/index.en.html>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

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

- Debian apt - bibtex2html - 1.99-4+b4: normalized package name match | Debian stable package indexes: bibtex2html from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | filters BibTeX files and translates them to HTML | https://www.lri.fr/~filliatr/bibtex2html/index.en.html
- Nix - bibtex2html: normalized package name match | nixpkgs package indexes: pkgs/by-name/bi/bibtex2html/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - bibtex2html - 1.99-4: normalized package name match | Ubuntu 24.04 LTS package indexes: bibtex2html from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | filters BibTeX files and translates them to HTML | https://www.lri.fr/~filliatr/bibtex2html/index.en.html
- MacPorts - bibtex2html: normalized package name match | MacPorts ports tree: textproc/bibtex2html/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/bibtex2html.yml](https://github.com/mxcl/pkgdb/blob/main/combined/bibtex2html.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
