> From: angeli
>
> * emacs user (2008-06-05) writes:
>
>>> From: angeli
>>> * 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.
OK, the problem was mine. I did activate parsing etc, but was trying to run
auctex after make and without make install. there was also some old
customization I had which highlighted citep without loading the natbib style.
I've been using auctex for too long without updating my settings. Thanks for
helping me to track this down. given that one can run emacs itself without a
make-install, wouldn't it be nice if one could do the same with auctex?
cheers, EU
_________________________________________________________________
Now you can invite friends from Facebook and other groups to join you on
Windows Live⢠Messenger. Add now.
https://www.invite2messenger.net/im/?source=TXT_EML_WLH_AddNow_Now
_______________________________________________
bug-auctex mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/bug-auctex