Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!gem.mps.ohio-state.edu!edgar From: edgar@gem.mps.ohio-state.edu (Gerald Edgar) Newsgroups: comp.text Subject: Re: Spell Checker for TEX Keywords: Spell checker TEx Message-ID: <180@function.mps.ohio-state.edu> Date: 20 Sep 89 11:54:23 GMT References: <1372@speedy.mcnc.org> <573@tah386.manhattan.ks.us> <320@oscsuna.osc.edu> Reply-To: edgar@shape.mps.ohio-state.edu (Gerald Edgar) Distribution: usa Organization: The Ohio State University, Dept. of Math. Lines: 24 In article <320@oscsuna.osc.edu] spencer@heinlein.UUCP (Stephen N. Spencer) writes: ]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 .... ] ]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 Is there something that will also throw out the mathematical formulas? You know the things inside $...$ and $$...$$ ? I don't really want to sent them through the spell-checker. There are hboxes inside the math, and math inside that ... -- Gerald A. Edgar Department of Mathematics Bitnet: EDGAR@OHSTPY The Ohio State University Internet: edgar@mps.ohio-state.edu Columbus, OH 43210 ...!{att,pyramid}!osu-cis!shape.mps.ohio-state.edu!edgar