Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!ukma!rutgers!netnews.upenn.edu!magill From: magill@operations.upenn.edu (PENNnet Oper/Planning) Newsgroups: comp.text Subject: Re: spelling-checkers for TeX Message-ID:Date: 24 Sep 89 13:40:43 GMT References: <11875@polya.Stanford.EDU> Sender: news@netnews.upenn.edu Organization: DCCS, University of Pennsylvania Lines: 35 In-reply-to: jtkohl@quicksilver.MIT.EDU's message of 21 Sep 89 16:33:02 GMT > Most people `detex', then spell. Then they have two documents, one > with correct spellings, and one with the TeX commands. Neither is > really what they want. > > Why not just use the '-t' option to ispell (if you use ispell)? Not > perfect, but pretty good: > > The -t option selects TeX/LaTeX input mode. In this mode, > whenever a backslash ("\") is found, ispell will skip to the > next whitespace. Thus, for example, given > \chapter {This is a Ckapter} \cite{SCH86} > will find "Ckapter" but will not look for SCH. The -t > option does not recognize the TeX comment character "%". > I had posted a query some time back to which I never got a response. I happen to use Ispell and the ispell.el function for emacs. Ispell.el does a nice job of passing the input through detex, and making the corrections in your working buffer. The basic question I had was (I'm not a lisp or emacs hacker) - Has anybody gotten "ispell -t" to work via "ispell.el"? I have a working version which still passes things through the detex filter. I'm running GNU 18.54 on a DECstation 3100 Ultrix 3.1. Of course, then we can debate which works better - detex or "-t", as they both have different limitations. -- William H. Magill Manager, PENNnet Operations Planning Data Communications and Computing Services (DCCS) University of Pennsylvania Internet: magill@dccs.upenn.edu magill@eniac.seas.upenn.edu magill@upenn.edu