You are not logged in.

#1 2023-12-02 20:46:40

kelvie
Member
Registered: 2022-05-08
Posts: 11

[SOLVED] chktex returning verbosity errors from within emacs

I've been getting this error inside emacs (flycheck) which is trying to call chktex with --verbosity=0

Suspicious state from syntax checker tex-chktex: Flycheck checker tex-chktex returned 1, but its output contained no errors: chktex: ERROR -- Illegal verbosity level.

The solution is to install texlive-binextra, where it installs a default chktexrc file in /usr/share as well as /etc/texmf.

So I dug around in the chktex code and it seems like it needs a default chktexrc file, which isn't installed by default with texlive-bin (even though chktex is).

I then did some digging, and apparently the old texlive-core used to have this file (according to yay -F chktexrc) in the 2022 distribution. I then downloaded the pkgbuild for the latest texlive-core, which got renamed to texlive-basic, which actually has a shared PKGBUILD called texlive-texmf, which splits this file out into texlive-binextra.

In case anyone else runs into this (doing a websearch for this error didn't seem to help).

Offline

Board footer

Powered by FluxBB