[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX] Getting ChkTeX to work
From: |
Siim Sepman |
Subject: |
[AUCTeX] Getting ChkTeX to work |
Date: |
Fri, 26 Mar 2010 12:39:48 +0100 |
Hello,
Installed chktex 1.6.4 with:
./configure --enable-emacs-hack=~/.emacs.d/
make
sudo make install
(logout, login)
make check
added
(require 'chktex)
to the end of my .emacs file after the lines
(load "auctex.el" nil t t)
(load "preview-latex.el" nil t t)
Then I realized that ~/.emacs.d/ is not what's meant with "elisp
directory". I figured that /usr/local/share/emacs/site-lisp/ was the
right directory, because other .el files were loaded from there. So I
moved chktex.el to there.
Then I started getting this error:
An error has occurred while loading `/home/ssepman/.emacs':
Symbol's value as variable is void: TeX-command-list
The error is (probably) caused by the chktex.el "hack" that tries to
append the ChkTeX menu to the AUCTeX emacs menu. Why doesn't it work?
Best Regards,
-Siim
--
http://kom.aau.dk/~ssepman/
- [AUCTeX] Getting ChkTeX to work,
Siim Sepman <=