[ < ] [ > ] [ << ] [ Up ] [ >> ] [Top] [Contents] [Index] [ ? ]

## 4.4 Checking for problems

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 Check <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 (emacs)Compilation 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 may also need modify TeX-command-list unless you use its lacheck compatibility wrapper. You can get lacheck from ‘<URL:ftp://ftp.ctan.org/tex-archive/support/lacheck/>’ or alternatively chktex from ‘<URL:ftp://ftp.ctan.org/tex-archive/support/chktex/>’.

 [ < ] [ > ] [ << ] [ Up ] [ >> ] [Top] [Contents] [Index] [ ? ]

This document was generated by Ralf Angeli on January 13, 2013 using texi2html 1.82.