[Top][All Lists]

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

Re: [AUCTeX-devel] [Reftex] 2 patches to let users customize reftex-view

From: Damien Cassou
Subject: Re: [AUCTeX-devel] [Reftex] 2 patches to let users customize reftex-view-crossref for citations
Date: Tue, 14 Dec 2010 18:05:18 +0100

Hi Ralf,

On Sun, Dec 12, 2010 at 4:20 PM, Ralf Angeli <address@hidden> wrote:
>> I wrote two very simple patches to let users customize
>> reftex-view-crossref for citations. They replace the hard-coded regexp
>> string "\\`\\\\cite\\|cite\\*?\\'\\|bibentry" by a new customizable
>> variable reftex-view-crossref-cite-macros.
> If this is done for citation macros, one could ask why it is not done
> for the other options covered in `reftex-view-crossref'.
>> This patch is useful for me because I use macros such as \cauthor{XXX}
>> and \ccauthor{XXX} to display the names of the authors along with the
>> reference number.
> Does RefTeX know about these macros?  That means, have you added them to
> `reftex-cite-format' or the like?  Because if RefTeX already knows the
> macros, perhaps we could use this information to create the regexp above
> without having to introduce a new variable.

I didn't change these variables because I didn't know about them :-).
Do you prefer me to implement the same functionality using these
variables instead?

Damien Cassou

"Lambdas are relegated to relative obscurity until Java makes them
popular by not having them." James Iry

reply via email to

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