Skip to content
This repository has been archived by the owner on Jul 26, 2022. It is now read-only.

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

Open
Akaizoku opened this issue Jun 7, 2016 · 5 comments
Open

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

Akaizoku opened this issue Jun 7, 2016 · 5 comments

Comments

@Akaizoku
Copy link

Akaizoku commented Jun 7, 2016

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
Copy link

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

@jabooth
Copy link

jabooth commented Mar 29, 2017

@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
Copy link

jabooth commented Mar 29, 2017

Seems this is a dupe of #23 too.

@lovesegfault
Copy link

@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
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants