Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!oscsuna.osc.edu!heinlein.osc.edu!spencer From: spencer@heinlein.osc.edu (Stephen N. Spencer) Newsgroups: comp.text Subject: Re: Spell Checker for TEX Keywords: Spell checker TEx Message-ID: <320@oscsuna.osc.edu> Date: 20 Sep 89 11:42:47 GMT References: <1372@speedy.mcnc.org> <573@tah386.manhattan.ks.us> Sender: news@oscsuna.osc.edu Reply-To: spencer@heinlein.UUCP (Stephen N. Spencer) Distribution: usa Organization: OSU Advanced Computing Center for the Arts and Design Lines: 28 In article <573@tah386.manhattan.ks.us> terry@tah386.manhattan.ks.us (Terry Hull) writes: >In article <1372@speedy.mcnc.org> kerm@mcnc.org (Cary E. Burnette) writes: >>I was wondering if there are any spell checkers that read TEX >>input and disregard the TEX commands. If not what spellcheckers >>do people use with TEX. I need one for a VMS machine or a PC. > >Most TeX users run under UNIX, so they use a filter that eliminates >the TeX commands and then feed that output to either ispell or spell. >ispell could probably be ported to either VMS or DOS if you were really >determined. > It's this filter: #! /bin/sh if test -f $1.spell then sed 's/\\[a-zA-Z]*//g' $1.tex | spell | sort | comm -23 - $1.spell else sed 's/\\[a-zA-Z]*//g' $1.tex | spell | more if -=- Stephen N. Spencer |"For a successful technology, reality must take ACCAD, 1224 Kinnear Rd. | precedence over public relations, for Nature Columbus OH 43212 | cannot be fooled." - Richard P. Feynman spencer@heinlein.cgrg.ohio-state.edu OR spencer@cis.ohio-state.edu