nscaife / linter-chktex

An Atom Linter plugin for LaTeX, using chktex
https://atom.io/packages/linter-chktex
MIT License
14 stars 10 forks source link

Use "'" (ASCII 39) instead of "�" (ASCII 180). #30

Open Akaizoku opened 8 years ago

Akaizoku commented 8 years ago

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}

lovesegfault commented 7 years ago

I can reproduce this behaviour when I'm writing in Portuguese, all my accentuation marks cause this (á,à,â,ã).

jabooth commented 7 years ago

@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...

jabooth commented 7 years ago

Seems this is a dupe of #23 too.

lovesegfault commented 7 years ago

@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.

hijarian commented 6 years ago
$ 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.