Package texlive-chktex

Check for errors in LaTeX documents

http://tug.org/texlive/

The program reports typographic and other errors in LaTeX
documents. Filters are also provided for checking the LaTeX
parts of CWEB documents.

General Commands
Command Description
chktex finds typographic errors in LaTeX.
chkweb runs the LaTeX parts of a CWEB file through chktex
deweb strips away C & CWEB commands from CWEB sources