# 使用 Homebrew, MacPorts 安装 opendetex

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

## 安装

```sh
sudo av install brew:opendetex
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install opendetex
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install opendetex
```

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

## 软件包事实

- **软件包键:** brew:opendetex
- **软件包管理器:** Homebrew
- **版本:** 2.8.11
- **来源摘要:** Tool to strip TeX or LaTeX commands from documents
- **主页:** <https://github.com/pkubowicz/opendetex>
- **仓库:** <https://github.com/pkubowicz/opendetex>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- delatex (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

OpenDetex is the maintained successor line of DeTeX, a utility that strips TeX and LaTeX markup from source documents to produce readable plain text. It preserves the old tool's package-nerd charm: a focused lexer-style command-line program with decades of TeX workflow inertia behind it.

### 项目历史

Daniel Trinkle's DeTeX originated at Purdue University and was distributed from his personal academic page. Trinkle's page points users to OpenDetex as the more modern derivative, and CTAN marks the original `detex` package as retired in favor of Piotr Kubowicz's OpenDetex.

### 采用历史

OpenDetex's adoption is mostly through TeX and Unix packaging channels rather than a large application ecosystem. It appears in Homebrew and MacPorts as `opendetex`, while manual pages in Linux distributions preserve the authorship chain from Trinkle's original program to Kubowicz's maintenance.

### 使用方式

Users run the command-line program over TeX or LaTeX sources when they need approximate plain text for indexing, spell checking, word counting, or review workflows. The tool intentionally removes commands rather than trying to typeset or fully understand a TeX document.

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

OpenDetex matters because it is a tiny maintenance fork that kept a useful academic Unix utility alive after the original author retired it. Its packaging story is the familiar one for old document-processing tools: the interface remains small, but users value it because it fits cleanly into shell pipelines.

### 时间线

- 2004: Daniel Trinkle's DeTeX page was last modified and later directed users to OpenDetex.
- OpenDetex was created from DeTeX 2.8 by Piotr Kubowicz, according to the project README.

### Related projects

- OpenDetex is directly descended from DeTeX and sits near other TeX-adjacent text extraction tools, but it keeps the narrower goal of removing TeX constructs instead of converting documents through a full typesetting or markup conversion pipeline.

### 来源

- <https://ctan.org/pkg/detex>
- <https://formulae.brew.sh/formula/opendetex>
- <https://github.com/pkubowicz/opendetex>
- <https://github.com/pkubowicz/opendetex/blob/master/README>
- <https://man.archlinux.org/man/extra/texlive-bin/detex.1.en>
- <https://www.cs.purdue.edu/homes/trinkle/detex/>


## 安全说明

narrow executable package without higher-risk signals.

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

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

- MacPorts - opendetex: normalized package name match | MacPorts ports tree: tex/opendetex/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/opendetex.yml](https://github.com/mxcl/pkgdb/blob/main/combined/opendetex.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
