# Typo/grammar checker for LaTeX [closed]

Anyone know a good grammar checker for LaTeX?

I find that by the time a paper is ready for submission that my small typos are invisible to me, because I have looked at it so many times already. Spell check catches some of the errors, but grammar check would catch more.

-

## closed as no longer relevant by Suvrit, Felipe Voloch, Willie Wong, Zev Chonoles, Henry CohnNov 18 '11 at 15:42

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. If this question can be reworded to fit the rules in the help center, please edit the question.

I feel like if this question was new today we'd immediately call to make it CW. I'm hoping some moderator can come along and wiki-hammer this –  David White Nov 18 '11 at 15:01

The best grammar checker is Someone Else. If your paper is ready for submission then you should find someone to read it through before you do so.

-
Someone Else is too busy. –  Emmanuel Briand Nov 18 '11 at 13:44
Then offer to read one of their papers in return. Or bake them a cake. Or teach one of their lectures. Or show them how to draw fancy diagrams in TeX. –  Loop Space Nov 18 '11 at 21:32

Grammar checker? No. But spell checker? Yes. Emacs comes with an interface to aspell which works pretty well. I suspect a grammar checker would have a hard time with mathematical prose anyhow, as it is so different from the prose such programs are written for.

-
I use aspell from the linux command-line. It's fairly nice, and you can teach it to not get freaked out by your most frequently used technobabble. –  Ryan Budney Nov 13 '09 at 17:46

I write latex in vim. Latest versions have a built-in spell checker.

:set spell

-

There's plain old GNU diction which copes okay on LaTeX input files. It's not precisely a grammar checker, but does catch some things, and I've found it useful enough on my own writing. You may end up wanting to pipe its output into "grep -v", to ignore certain of its complaints.

-

For checking grammar, try LanguageTool. But it's not latex aware. I'd run some script to remove all latex commands and then check with LanguageTool.

-

you can convert your latex to html and then use one of the many grammar\spelling checkers available. That works quite nicely for me.

-
What do you use for converting your latex to html? –  Loop Space Nov 29 '09 at 22:24

I would cold-heartedly agree with the first post. The best way to check your grammar is to have somebody else proofread your paper for you. For the sake of completeness I will add that there were two old Unix tools for checking writing: style and diction.

http://dsl.org/cookbook/cookbook_15.html#SEC220

I personally have never used them.

@Yoo Removing LaTeX is fairly easy with sed for instance but there is a tool called detex which will do exactly that for you. However it is not 100% successful and I would still suggest that you read text document.

-

Yes, I was looking for that a week ago. I bumped into Excalibur. I'm not sure how good it is though. If I get the time I want a progam that does both, the problem is how to exclude the maths when doing the check. Problem with grammar is worst, you need a program that will treat some maths as objects of a sentence.. that should difficult.

-

The best grammar checker is another person as answered by @Andrew Stacey. But there are still other ways to help you check the grammars. By either converting the pdf file to word file or copying the contents in the pdf file into a word file, we can use the grammar check function provided in word.

-

I'm using BakomaTex. It has a buildt in spell checker that checks while you're typing (can be disabled).

-
Ah, but now we have the next problem, of how to spell check your MO posts. That doesn't seem to be "buildt" in yet ;) –  David White Nov 18 '11 at 15:00