[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-AUCTeX] 11.82; deactivate Spell checking in certain macros

From: Patrick Drechsler
Subject: Re: [Bug-AUCTeX] 11.82; deactivate Spell checking in certain macros
Date: Sun, 26 Feb 2006 20:50:09 +0000
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

Ralf Angeli wrote on 25 Feb 2006 17:50:15 MET:

> * Patrick Drechsler (2006-02-23) writes:
>> \documentclass{article}
>> \usepackage{natbib}
>> \begin{document}
>> \cite{blafjk} \citep{fbv}
>> %     ^^^^(A)        ^^(B)
>> \end{document}
>> When using `C-c C-c Spell' (A) is not spell checked, (B) is.
>> Is there a workaround for this problem?
> (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)))

Thank you very much, this solves the problem!

>> On a side note: Is it possible to have the same font locking
>> for "\citep{foo}" as for "\cite{foo}"?
> [...]
>>  TeX-auto-save nil
>>  TeX-parse-self nil
>>  TeX-master t
> Activate parsing as suggested on the first page of AUCTeX's
> manual.

Thanks also for this pointer.


"If you choke a smurf, what color does it turn?"

reply via email to

[Prev in Thread] Current Thread [Next in Thread]