Hi Ralf, On Sun, Dec 12, 2010 at 4:20 PM, Ralf Angeli <[email protected]> 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 http://damiencassou.seasidehosting.st "Lambdas are relegated to relative obscurity until Java makes them popular by not having them." James Iry _______________________________________________ auctex-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/auctex-devel
