views:

272

answers:

2

My development team has to perform a large documentation effort on a piece of software we've constructed. To do this concurrently we've elected to make the document using LaTeX, and to store the tex files in Subverison. This looks like it will work great.

We've come across one problem though: What tool(s) should we use to perform spelling and grammar checks on our document?

Some I've tried choke on the LaTeX commands. We also need spelling/grammar checkers that work on both/either Windows and Linux. Bonus points for a spelling/grammar checker that we can executive via commandline so we can put it into an ant-script and automate our document build environment.

+5  A: 

aspell check -t spellchecks text on the command line, filtering out LaTeX commands. If you want to check your comments too, add the --tex-check-comments option.

thirtyseven
+1  A: 

Editing in emacs with flyspell-prog-mode works well for spelling. I'm afraid I still use the mark I eyeball with Strunk&White plugin for grammar.

Using ispell-buffer rather than flyspell is roughly equivalent to thirtyseven's answer, but I am growing to like the on-the-fly behavior...

dmckee