Sponsor:

Your company here, and a link to your site. Click to find out more.

Package texlive-detex

Strip TeX from a source file

http://tug.org/texlive/

Detex is a program to remove TeX constructs from a text file.
It recognizes the \input command. The program assumes it is
dealing with LaTeX input if it sees the string \begin{document}
in the text. In this case, it also recognizes the \include and
\includeonly commands. The author now considers this program to
be "retired" and Piotr Kubowicz's OpenDetex as its successor.

Version: svn66186

General Commands

detex a filter to strip TeX commands from a .tex file.