# 使用 Homebrew, apt, dnf, MacPorts, zypper 安装 latexml

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

## 安装

```sh
sudo av install brew:latexml
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install latexml
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install LaTeXML
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install latexml
```

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

- dnf (92%):

```sh
sudo dnf install LaTeXML
```

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

- zypper (92%):

```sh
sudo zypper install LaTeXML
```

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

## 软件包事实

- **软件包键:** brew:latexml
- **软件包管理器:** Homebrew
- **版本:** 0.8.8
- **来源摘要:** LaTeX to XML/HTML/MathML Converter
- **主页:** <https://math.nist.gov/~BMiller/LaTeXML/>
- **仓库:** <https://github.com/brucemiller/LaTeXML>
- **最后更新:** 2026-07-04T13:13:41+09:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- latexml (别名)
- latexmlc (别名)
- latexmlfind (别名)
- latexmlmath (别名)
- latexmlpost (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

LaTeXML is a public-domain Perl toolchain for translating TeX and LaTeX sources into structured XML and downstream formats such as HTML, EPUB, JATS, TEI, and MathML. Its package-manager identity is unusually tied to digital-math publishing rather than ordinary document rendering: it tries to preserve enough semantic structure for web presentation, search, accessibility, and corpus processing.

### 项目历史

Bruce R. Miller developed LaTeXML at NIST for the Digital Library of Mathematical Functions, where a large body of LaTeX-authored mathematical content needed a web-oriented representation. The project later moved into a public GitHub workflow under the brucemiller/LaTeXML repository, with Deyan Ginev also listed as an author in the repository metadata.

The 2014 paper 'LaTeXML 2012 - A Year of LaTeXML' described the project as already established in mathematical-knowledge-management work, originally created for NIST DLMF and then used in publishing frameworks, authoring suites, and large TeX corpora. GitHub release tags show the 0.8 line continuing from at least 2015's v0.8.1 through the v0.8.8 release work dated 2024-02-26.

### 采用历史

LaTeXML found adoption where TeX is the authoring language but HTML, XML, accessibility, or machine-readable math is the delivery target. The project's own history emphasizes DLMF, mathematical publishing, authoring tools, and corpus conversion rather than a generic LaTeX-to-PDF workflow.

Package-manager adoption reflects that niche but durable role: Homebrew, Debian, Ubuntu, Fedora, MacPorts, and openSUSE package it as a command-line conversion suite, exposing tools such as latexml, latexmlpost, latexmlmath, and latexmlc.

### 使用方式

Typical use is a pipeline: convert TeX-like input to LaTeXML's XML model, then postprocess it into web or interchange formats. The command family supports full-document conversion, daemon-style conversion, math fragments, postprocessing, and helper discovery.

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

LaTeXML matters to package nerds because it sits at the intersection of TeX packaging, Perl dependencies, XML vocabularies, MathML, and reproducible document conversion. It is the sort of formula that reveals whether a package manager can handle a research-software stack with long-lived academic infrastructure and many format edges.

### 时间线

- 2004: Public release date recorded for LaTeXML in secondary software metadata.
- 2012: The project was described as used beyond DLMF in publishing frameworks, authoring suites, and large-scale TeX corpora.
- 2015: v0.8.1 release commit dated 2015-02-17.
- 2022: v0.8.7 release notes dated 2022-12-16 described broad usability, fidelity, robustness, portability, and output-quality work.
- 2024: v0.8.8 release work dated 2024-02-26 updated the manual and release notes.

### Related projects

- Related systems and standards include TeX, LaTeX, XML, HTML5, EPUB, JATS, TEI, MathML, the NIST Digital Library of Mathematical Functions, and arXiv-scale TeX corpus conversion efforts.

### 来源

- <https://arxiv.org/html/1404.6549v1>
- <https://dlmf.nist.gov/LaTeXML>
- <https://dlmf.nist.gov/LaTeXML/manual.pdf>
- <https://formulae.brew.sh/formula/latexml>
- <https://github.com/brucemiller/LaTeXML>
- <https://github.com/brucemiller/LaTeXML/releases>


## 安全说明

narrow executable package without higher-risk signals.

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

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

- Debian apt - latexml - 0.8.8-2: normalized package name match | Debian stable package indexes: latexml from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | LaTeX to XML Converter | https://dlmf.nist.gov/LaTeXML/
- Ubuntu apt - latexml - 0.8.8-1: normalized package name match | Ubuntu 24.04 LTS package indexes: latexml from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | LaTeX to XML Converter | https://dlmf.nist.gov/LaTeXML/
- dnf - LaTeXML - 0.8.8-8.fc45: normalized package name match | Fedora Rawhide package metadata: LaTeXML from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Converts TeX and LaTeX to XML/HTML/ePub/MathML | http://dlmf.nist.gov/LaTeXML/
- zypper - LaTeXML - 0.8.8-2.4: normalized package name match | openSUSE Tumbleweed package metadata: LaTeXML from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | TeX and LaTeX to XML translator | http://dlmf.nist.gov/LaTeXML/
- zypper - perl-LaTeXML - 0.8.8-2.4: normalized package name match | openSUSE Tumbleweed package metadata: perl-LaTeXML from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Perl files for LaTeXML | http://dlmf.nist.gov/LaTeXML/
- MacPorts - LaTeXML: normalized package name match | MacPorts ports tree: tex/LaTeXML/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/latexml.yml](https://github.com/mxcl/pkgdb/blob/main/combined/latexml.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
