Thread View: comp.text.tex
2 messages
2 total messages
Started by Leif Harcke
Sun, 09 Jan 2005 06:45
natbib, emacs, & ispell
Author: Leif Harcke
Date: Sun, 09 Jan 2005 06:45
Date: Sun, 09 Jan 2005 06:45
6 lines
1078 bytes
1078 bytes
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? thanks, Leif
Re: natbib, emacs, & ispell
Author: Ralf Angeli
Date: Sun, 09 Jan 2005 11:41
Date: Sun, 09 Jan 2005 11:41
25 lines
1677 bytes
1677 bytes
* 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads