GNU bug report logs - #32203
[PATCH] Support \eqref in RefTeX reference styles

Previous Next

Package: emacs;

Reported by: Arash Esbati <arash <at> gnu.org>

Date: Wed, 18 Jul 2018 19:40:01 UTC

Severity: normal

Tags: fixed, patch

Fixed in version 27.1

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 32203 <at> debbugs.gnu.org (full text, mbox):

From: Arash Esbati <arash <at> gnu.org>
To: Noam Postavsky <npostavs <at> gmail.com>
Cc: 32203 <at> debbugs.gnu.org
Subject: Re: bug#32203: [PATCH] Support \eqref in RefTeX reference styles
Date: Fri, 20 Jul 2018 22:51:15 +0200
[Message part 1 (text/plain, inline)]
Noam Postavsky <npostavs <at> gmail.com> writes:

> Arash Esbati <arash <at> gnu.org> writes:
>
>> Subject: [PATCH] Add \eqref to RefTeX's reference styles
>>
>> * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist): Add entry
>> for \eqref provided by amsmath.sty and bind it to "e" key.
>
>> --- a/lisp/textmodes/reftex-vars.el
>> +++ b/lisp/textmodes/reftex-vars.el
>> @@ -1030,7 +1030,9 @@ This is used to string together whole reference sets, like
>>      ("Hyperref" "hyperref"
>>       (("\\autoref" ?a) ("\\autopageref" ?u)))
>>      ("Cleveref" "cleveref"
>> -     (("\\cref" ?c) ("\\Cref" ?C) ("\\cpageref" ?d) ("\\Cpageref" ?D))))
>> +     (("\\cref" ?c) ("\\Cref" ?C) ("\\cpageref" ?d) ("\\Cpageref" ?D)))
>> +    ("AMSmath" "amsmath"
>> +     (("\\eqref" ?e))))
>>    "Alist of reference styles.
>>  Each element is a list of the style name, the name of the LaTeX
>>  package associated with the style or t for any package, and an
>
> I guess the :version should be updated here too?

Thanks for looking at this; indeed I missed that.  Next try is attached.

Best, Arash
[0001-Add-eqref-to-RefTeX-s-reference-styles.patch (text/x-patch, attachment)]

This bug report was last modified 6 years and 304 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.