-
-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
texlive: chktex cannot find its configuration file
#10377
Comments
|
cc @vcunat |
|
I'm just getting this warning: Otherwise the output seems normal to me, but I've never really used the utility. |
|
Oh, I see, |
|
Actually, that config file is provided by Still, it's a bit confusing that the core provides |
|
I currently can't see a simple way how to improve that. |
|
I am not able to use Is it related to this issue, or should I report a new issue? |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
triage: this might have been fixed in the meantime, is that so? |
|
@Profpatsch it's still necessary to explicitly add the |
|
Could anyone, please, provide steps to reproduce? |
|
The "chktex -v" works for me, I have |
|
$ nix-shell --pure -p texlive.combined.scheme-small --run 'chktex -v /dev/null'
chktex: WARNING -- Could not find global resource file.
chktex: ERROR -- Illegal verbosity level.
$ nix-shell --pure -p texlive.combined.scheme-medium --run 'chktex -v /dev/null'
ChkTeX v1.7.6 - Copyright 1995-96 Jens T. Berger Thielemann.
Compiled with POSIX extended regex support.
No errors printed; No warnings printed; No user suppressed warnings; No line suppressed warnings.
$ nix-info
system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 2.3.7, channels(root): "nixos-21.03pre243690.441a7da8080", channels(anders): "", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos |
|
This issue still persists as of today under the tetex scheme. the addition of the chktex package is mandatory to not get this error. I didn't thought that this was a NixOS related issue so this thread was quite hard to stumble upon. |
|
@Narice I can't reproduce: |
|
I guess I forgot |
I've hit the same bug as described in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=225213. The root of the problem seems to be missing configuration file which should be placed somewhere and made accessible by
chktex. It is used by, for example,tex-modein Emacs.cc @vcunat
The text was updated successfully, but these errors were encountered: