bug-auctex
[Top][All Lists]
Advanced

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

RE: [Bug-AUCTeX] 2008-05-30; highlighting of \citep[][]{} commands


From: emacs user
Subject: RE: [Bug-AUCTeX] 2008-05-30; highlighting of \citep[][]{} commands
Date: Thu, 5 Jun 2008 04:46:35 -0400

> From: address@hidden
> To: address@hidden
> CC: address@hidden
> 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:

l

_________________________________________________________________
It’s easy to add contacts from Facebook and other social sites through Windows 
Live™ Messenger. Learn how.
https://www.invite2messenger.net/im/?source=TXT_EML_WLH_LearnHow

Attachment: Picture 1.png
Description: PNG image


reply via email to

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