# 写作中文Latex时chktex报错19 Use "'" (ASCII 39) instead of ... 的问题 ## 问题 `chktex`可以保持`Latex`源码规范整洁,但其对中文的支持不怎么好,一段纯中文让他检查过去,总有一堆19号错误,烦不胜烦。临时解决方法就是传递`-n19`参数让他忽略19号错误。 ## 原文 [原文是14年发出来的,这么多年都没解决啊](http://oinil.blogspot.com/2014/04/get-rid-of-tex-ascii-code-error.html) 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 } ```