[Top][All Lists]

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

Re: [AUCTeX-devel] [RefTeX] reftex-reference ignores reference format se

From: Tassilo Horn
Subject: Re: [AUCTeX-devel] [RefTeX] reftex-reference ignores reference format selection
Date: Mon, 19 May 2014 08:59:21 +0200
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4.50 (gnu/linux)

Mosè Giordano <address@hidden> writes:

Hi Mosè,

> the `reftex-reference' function ignores the selected reference format
> (if `reftex-ref-macro-prompt' is non-nil) when one choses an equation
> key.
> For example, consider the following code
> \documentclass{article}
> \begin{document}
> \begin{equation}
>   \label{eq:1}
>   a + b = c
> \end{equation}
> Equation on page-!-
> \end{document}
> with point at -!-.  If one issues `C-c )' and selects the `\pageref'
> macro, an `\eqref' will be inserted.

I can't reproduce that with the reftex version from the 24.4 pretests or
emacs trunk (where it inserts a (\pageref{eq:1}), the parens being
caused by `reftex-typekey-to-format-alist'), so it's probably already


reply via email to

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