This Atom package provides a Linter interface for the LaTeX chktex
utility. It provides real-time stylistic suggestions as you write.
- Install
chktex
if it is not already installed.chktex
is installed by default with TeX Live, but you may have to install it separately with other distributions. apm install linter-chktex
- If
chktex
is not in your PATH, you will need to set theexecutablePath
to point to thechktex
executable (see below).
You can configure linter-chktex by editing ~/.atom/config.cson (choose Open Your Config in Atom menu). If you want to pass additional command line arguments to chktex
(for example, to enable or disable specific checks), you can do so using the chktexArgs
setting.
'linter-chktex':
executablePath: "C:\\texlive\\2014\\bin\\win32\\chktex.exe",
chktexArgs: ["-wall", "-n22", "-n30", "-e16"]
For more information, see the chktex
manual.
If you would like to contribute, please submit a pull request!