unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Noam Postavsky <npostavs@gmail.com>
To: Arash Esbati <arash@gnu.org>
Cc: 32203@debbugs.gnu.org
Subject: bug#32203: [PATCH] Support \eqref in RefTeX reference styles
Date: Thu, 19 Jul 2018 21:52:28 -0400	[thread overview]
Message-ID: <87601a7jxf.fsf@gmail.com> (raw)
In-Reply-To: <86fu0gjpxu.fsf@gnu.org> (Arash Esbati's message of "Wed, 18 Jul 2018 21:37:17 +0200")

Arash Esbati <arash@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?





  reply	other threads:[~2018-07-20  1:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-18 19:37 bug#32203: [PATCH] Support \eqref in RefTeX reference styles Arash Esbati
2018-07-20  1:52 ` Noam Postavsky [this message]
2018-07-20 20:51   ` Arash Esbati
2018-07-22 15:10     ` Noam Postavsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87601a7jxf.fsf@gmail.com \
    --to=npostavs@gmail.com \
    --cc=32203@debbugs.gnu.org \
    --cc=arash@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).