[Top][All Lists]

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

Re: [Bug-AUCTeX] 2013-10-14; highlighting of \cite[] commands

From: emacs user
Subject: Re: [Bug-AUCTeX] 2013-10-14; highlighting of \cite[] commands
Date: Sat, 9 Nov 2013 22:55:27 +0200

closing brace of the second one

On Sat, Nov 9, 2013 at 10:48 PM, Ralf Angeli <address@hidden> wrote:
* emacs user (2013-11-09) writes:

> hi all, thanks for the prompt response.  here is a complete reproducible
> example.

Thanks a lot for the recipe.

> the problem occurs only when the house is over the \citep commands and the
> text between them.  Please let me know if there is anything else I can do.

Hm, in my case the highlighting does not span both \citep's.  It stops
at the closing brace of the first \citep.  I'm using the current
development versions of Emacs and AUCTeX.

AFAICT the code which adds these highlights is in the function
`bib-highlight-mouse' in bib-cite.el.  And it hasn't changed since 2004.

Do you perhaps have a really(!) old or a changed version of bib-cite.el
lying around which might interfere?

If you are in the mood you can also try what happens if you place point
somewhere before the first \citep, type `M-:', paste the following code
into the minibuffer and then hit `RET'.

  "\\\\\\(" (substring bib-ref-regexp 2)
 nil t)

Does point move to the closing brace of the first or the second \citep?


reply via email to

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