linter-chktex
linter-chktex copied to clipboard
Use "'" (ASCII 39) instead of "�" (ASCII 180).
When using the character ô
, chktex
keeps returning the following error Use "'" (ASCII 39) instead of "�" (ASCII 180).
. A quick search brought me to this thread that describes the exact same bug and explains quite well what is actually happening.
It appears that it was an issue on the chktex
package that has been resolved in 2015. Is linter-chktex
based on a previous version? If so, would it be possible to update it? If not, any idea on how to correct/avoid that?
Environment:
\usepackage[french]{babel}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
I can reproduce this behaviour when I'm writing in Portuguese, all my accentuation marks cause this (á
,à
,â
,ã
).
@Akaizoku @bemeurer this extension only executes the local chktex
binary that is installed on your system - it would seem that you must be using a chktex
older than 1.7.3
on your own system then. You could verify this by running chktex --version
- I see:
> chktex --version
ChkTeX v1.7.4 - Copyright 1995-96 Jens T. Berger Thielemann.
Compiled with POSIX extended regex support.
oohh but wait I also get the same errors with this version, at least on macOS. 😕
What systems are both of you using? I'm wondering if it was patched in debian but still exists for other environments...
Seems this is a dupe of #23 too.
@jabooth Same version here
$ chktex --version
ChkTeX v1.7.4 - Copyright 1995-96 Jens T. Berger Thielemann.
Compiled with POSIX extended regex support.
I'm running Arch Linux.
$ chktex --version
ChkTeX v1.7.6 - Copyright 1995-96 Jens T. Berger Thielemann.
Compiled with POSIX extended regex support.
I still have this error when chktex parses my LaTeX files. Basically half of the Cyrillic words emit this error. All \part{}
macros with Cyrillic titles as well. I think this error is not resolved at all.