OpenDetex
Tool for extracting plain text from TeX and LaTeX sources
Improved version of Detex, tool for extracting plain text from TeX and LaTeX sources. OpenDetex is a program to remove TeX constructs from a text file. It recognizes the \input command. This program assumes it is dealing with LaTeX input if it sees the string "\begin{document}" in the text. It recognizes the \include and \includeonly commands.