* emacs user (2008-06-05) writes:

>> From: [EMAIL PROTECTED]
>> To: [EMAIL PROTECTED]
>> CC: [email protected]
>> Subject: Re: [Bug-AUCTeX] 2008-05-30; highlighting of \citep[][]{} commands
>> Date: Tue, 3 Jun 2008 21:00:39 +0200
>>
>> * emacs user (2008-06-03) writes:
>>
>>> when using natbib, \citep{} and \citep[]{} are nicely highlighted.
>>> but \citep[][]{} which is a legitimate form is not highlighted.
>>
>> Are you sure you have an up-to-date version of font-latex.el? The
>> following file is displayed fine here.
>
>
> Hi Again, so I now checked without my .emacs file and I still see a problem.  
> the natbib citing commands are not identified for highlighting.  this is on 
> carbon emacs-22.2, mac os x (same thing under linux I am pretty sure).  
> auctex from cvs.  I start emacs using -Q and then evaluate
>
>      (add-to-list 'load-path "~/.emacs.d/auctex")
>      (add-to-list 'load-path "~/.emacs.d/auctex/preview")
>      (load "auctex.el" nil t t)
>      (load "preview-latex.el" nil t t)
>
> and edit the following test file.  please see attached screen shot.
>
> \documentclass{article}
> \usepackage{natbib}
> \begin{document}
> \cite[see]{Jones:99}
> \citep[see][chap.~2]{Jones:99}
> \citep{Jones:99}
> \bibliography{test}
> \end{document}
>
> %%% Local Variables:
> %%% mode: latex
> %%% TeX-master: t
> %%% End:

The screenshot shows that \citep{} is _not_ highlighted, in contrast to
what you've written before.  So you likely haven't activated parsing as
described on the first page of the AUCTeX manual.

-- 
Ralf


_______________________________________________
bug-auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-auctex

Reply via email to