Running TeX or LaTeX will only find regular errors in the
document, not examples of bad style. Furthermore, description of the
errors may often be confusing. The utility lacheck
can be used
to find style errors, such as forgetting to escape the space after an
abbreviation or using `...' instead of `\ldots' and many other
problems like that. You start lacheck
with C-c C-c C h e c
k RET. The result will be a list of errors in the
`*compilation*' buffer. You can go through the errors with
C-x ` (next-error
, see section `Compilation' in The Emacs Editor), which will move point to the location of the next
error.
Another newer program which can be used to find errors is chktex
.
It is much more configurable than lacheck
, but doesn't find all
the problems lacheck
does, at least in its default configuration.
You must install the programs before using them, and for chktex
you must also modify TeX-command-list
. You can get
lacheck
from `<URL:ftp://sunsite.auc.dk/pub/text/lacheck/>'
or alternatively chktex
from
`<URL:ftp://ftp.dante.de/pub/tex/support/chktex/>'. Search for
`chktex' in `tex.el' to see how to switch between them.They
are