The program will remove “some LaTeX commands†from a file (it will optionally try to strip out all mathematics, too). It also has an option to honour \input and \include commands in the file. Input is read from files and results are sent to stdout.