[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: natbib, emacs, & ispell
From: |
Ralf Angeli |
Subject: |
Re: natbib, emacs, & ispell |
Date: |
Sun, 09 Jan 2005 12:41:33 +0100 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) |
* Leif Harcke (2005-01-09) writes:
> How does one get the ispell command in emacs to ignore the \citep and
> \citet commands of the NatBib bibliography style package used in the
> natural sciences?
Hm, I thought this could be done like this:
(eval-after-load "ispell"
(let ((list (car ispell-tex-skip-alists)))
(add-to-list 'list '("\\\\cite[tp]" ispell-tex-arg-end))
(setcar ispell-tex-skip-alists list)))
But in my case this actually results in an "invalid-function" error as
soon as one loads ispell.el e.g. with `M-x load-library RET ispell
RET'.
However, simply copying the value from the definition of
`ispell-tex-skip-alists', adapting it and using `setq' works, but is
not so nice of course.
Followup-To: gnu.emacs.help
--
Ralf