Latex Spelling and Grammar Check

Huiying Wu

dividing line

This document contains information on how to conduct spell and grammar check for latex file. Suppose you have a latex file called check.tex:


A) Spell check

  1. Close editor for the file, otherwise the file cannot be overwritten.
  2. Type ispell filename in the termianl, in this case, ispell check.tex.
  3. The programme will show the typos one by one. Choices of corrections are given as well.

B) Grammar check (+ spell check)

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.

  1. 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.
  2. Type latex2html check.tex in the terminal.
  3. A folder named check is created.
  4. 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.
  5. In word, got to Tools-->spelling and grammar, for grammar and spell check.
  6. Repeat step 4 for different sections. To go from one section to another, CTRL + click on the link.
  7. 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.



University of Sydney | Faculty of Science | School of Physics | Science Foundation | Back to Top