You may know the lint tools for Smalltalk or Java helping you to common errors in code.
There is now also a nice app called "TextLint" which is written in Pharo Smalltalk. It is a lint tool for common style errors in natural language. You can use it to process your text/latex/... files.
Here are videos (1 and 2)showing the tool in action.