[ < ] [ > ]   [ << ] [ 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 utilities lacheck and chktex can be used to find style errors, such as forgetting to escape the space after an abbreviation or using ‘...’ instead of ‘\ldots’ and other similar problems. You start lacheck with C-c C-c Check <RET> and chktex with C-c C-c ChkTeX <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.

Each of the two utilities will find some errors the other doesn’t, but chktex is more configurable, allowing you to create your own errors. You may need to install the programs before using them. You can get lacheck from ‘<URL:ftp://ftp.ctan.org/tex-archive/support/lacheck/>’ and chktex from ‘<URL:ftp://ftp.ctan.org/tex-archive/support/chktex/>’.

This document was generated by Mosè Giordano on December 10, 2017 using texi2html 1.82.