Spell-checking TeX files

From UCB Math Wiki
Revision as of 15:35, 11 August 2009 by Vojta (talk | contribs) (Initial creation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Spell-Checking a TeX File

Most modern spelling checkers know about TeX commands and how to strip them off of a file before spelling them. For example, you can use

ispell -t filename.tex

but if you insist on using spell or have no access to other such programs, you can detex a file and pipe it through spell with the command:

detex filename.tex | spell