As the title, I enable the chktex checker for latex mode, and I want to turn off some warnings as I don't find any wrong.
The feature can be achieved in command line:
chktex pathname -n 2
this means turn off the warning number 2
I've read the manual of flycheck, maybe it can do the same job by writing something in Syntax checker configuration file? But I don't know how.
Well, create a .chktexrc file to disable the warnings, and place it in the root of your latex project. That'll do, at least for Flycheck.
I don't know how such a file should look like, though. The chktex manual will help you on this.
@magichowl Did you get Flycheck working, or do you need further help?
I've solved the problem with the help of the maintainer of chktex,
add
% chktex-file 12
in .tex file can disable warning of number 12.
Thanks anyway.
On 01/29/2014 08:52 PM, Sebastian Wiesner wrote:
@magichowl https://github.com/magichowl Did you get Flycheck
working, or do you need further help?—
Reply to this email directly or view it on GitHub
https://github.com/flycheck/flycheck/issues/309#issuecomment-33581672.
@magichowl I'm glad that you were able to solve this issue. I'm closing it hence.
@lunaryorn Is it possible to ignore a warning category (e.g., 6) by specifying it in the .chktex file?
@khatchad I do not know; you'll need to find out yourself.
Please be aware that I stopped maintaining Flycheck, and ceased to use Emacs, so please don't ask me about Flycheck anymore. Thanks.
Most helpful comment
I've solved the problem with the help of the maintainer of chktex,
add
% chktex-file 12
in .tex file can disable warning of number 12.
Thanks anyway.
On 01/29/2014 08:52 PM, Sebastian Wiesner wrote: