Latex Spelling and Grammar Check
Huiying Wu
![]()
A) Spell check
- Close editor for the file, otherwise the file cannot be overwritten.
- Type ispell filename in the termianl, in this case, ispell check.tex.
- The programme will show the typos one by one. Choices of corrections are given as well.
B) Grammar check (+ spell check)
- The spell check in this method only shows locations of typos. It is better
to use ispell for spell check.
- The grammar check requires MS word. To access word, type word in the terminal.
Please note that not all machines have access to MS word, if you have problem with word, please visit http://www.physics.usyd.edu.au/restricted/itsupport/faq.html#msoffice FIRST.
If you still cannot solve the problem, contact IT support at http://www.physics.usyd.edu.au/itsupport/requestform.html.
- Need to use the latex extension packages html and makeidx in the latex
file, i.e. add \usepackage{html, makeidx} in the file's preamble.
- Type latex2html check.tex in the terminal.
- A folder named check is created.
- Open the check.html file in the above folder in MS word. It should give
you a page which contains a list of hyperlinks that are sections of the document.
- In word, got to Tools-->spelling and grammar, for grammar and spell
check.
- Repeat step 4 for different sections. To go from one section to another,
CTRL + click on the link.
- Note that any changes made are in the file check.html.
*If the ispell or latex2html command is not recognized, you can check the availability by typing the following:
ispell --version (please note -- double hyphens)
If it is available you should receive a message:
Ispell compatibility script for Aspell.
Usage: /usr/bin/ispell [options] -a|-l|-v[v]|<file>
latex2html --version
If it is available you should receive a message:
[english]This is jLaTeX2HTML Version 2002 (1.62) JA patch-1.4 by Kenshi Muto,
Debian Project.
Original LaTeX2HTML Version 2002 (1.62)
by Nikos Drakos, Computer Based Learning Unit, University of Leeds.