写作中文Latex时chktex报错19 Use "'" (ASCII 39) instead of ... 的问题

chktex可以保持Latex源码规范整洁,但其对中文的支持不怎么好,一段纯中文让他检查过去,总有一堆19号错误,烦不胜烦。临时解决方法就是传递-n19参数让他忽略19号错误。

原文是14年发出来的,这么多年都没解决啊

In Emacs 24.3 I use chktex to fly-check tex/latex documents. When writing in Chinese, I often encounter the warning “Use ”'“ (ASCII 39) instead of ”“ (ASCII xxx).” Very annoying.

This is actually an error from chktex.

To solve this problem, add the following to ~/.chktexrc:

CmdLine
{
        -n19
}
  • 最后更改: 2019/05/28 13:22