Tool for extracting plain text from TeX and LaTeX sources
opendetex-2.8.11-1-x86_64
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.