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.

Regards

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



_______________________________________________
bug-auctex mailing list
bug-auctex@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-auctex

Reply via email to