🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #12022

Re: natbib, emacs, & ispell

#12022
From: Ralf Angeli
Date: Sun, 09 Jan 2005 11:41
25 lines
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
Technical Details
Message-ID: <34cjjgF4846dbU1@individual.net>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <pan.2005.01.09.06.45.33.385608@stanford.edu>

Show Full Headers
Complete Article Headers
X-Google-Thread: f9e16,2105821d9ff67f66
X-Google-Thread: 103b8b,2105821d9ff67f66
X-Google-Attributes: gidf9e16,gid103b8b,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: Ralf Angeli <dev.null@iwi.uni-sb.de>
Newsgroups: comp.text.tex,gnu.emacs.help
Subject: Re: natbib, emacs, & ispell
Followup-To: gnu.emacs.help
Date: Sun, 09 Jan 2005 12:41:33 +0100
Lines: 25
Message-ID: <34cjjgF4846dbU1@individual.net>
References: <pan.2005.01.09.06.45.33.385608@stanford.edu>
Reply-To: angeli@iwi.uni-sb.de
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: individual.net 1DmPUnw+WM6WT3wqTSNojw9F1v+Gf1TYPy4U4OnJLqW+jAq/AKNKnUo1dO
Mail-Copies-To: nobody
User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)
Cancel-Lock: sha1:r/o5nP+5g+XMfmxcNelWbzacYQo=