opendetex
« Back to VersTracker
Description:
Tool to strip TeX or LaTeX commands from documents
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: latex tex text-processing documents cli
Install: brew install opendetex
About:
Opendetex is a lightweight utility designed to remove TeX and LaTeX commands from text files, leaving behind plain human-readable content. It effectively handles complex formatting, macros, and comments, making it ideal for processing academic documents. This tool simplifies text extraction for analysis, indexing, or conversion to other formats.
Key Features:
  • Strips TeX/LaTeX commands while preserving readable text
  • Handles complex macros and nested environments
  • Filters out comments and non-essential markup
  • Lightweight and fast processing
Use Cases:
  • Extracting plain text from academic papers for indexing or search
  • Converting LaTeX documents to readable formats for accessibility tools
  • Cleaning up document content before natural language processing
Alternatives:
  • detex – Standard Unix tool; Opendetex offers better handling of modern LaTeX macros
  • pandoc – Full document converter; Opendetex is specialized for simple text extraction
Version History
Detected Version Rev Change Commit