[Tex/LaTex] Spell checking LaTeX documents


What's the best strategy for spell checking LaTeX documents?

Best Answer

It sort of depends on the system you're working on.

I'm using GNU/Linux and here aspell does a good job. For instance, to check test.tex in Danish, I would do like this from the terminal:

aspell -c -t test.tex -d da

The option -c tells aspell to check the file, -t puts it in TeX mode, and -d gives the base name of the main dictionary to use. On Ubuntu/Debian, this can be installed using:

sudo aptitude install aspell

Aspell is also available as a Windows executable. It can but run from the command line or from any good text-editor (i.e. one that supports macros to run external programs).