auctex-devel
[Top][All Lists]
Advanced

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

[AUCTeX-devel] [RefTeX] reftex-reference ignores reference format select


From: Mosè Giordano
Subject: [AUCTeX-devel] [RefTeX] reftex-reference ignores reference format selection
Date: Fri, 10 Jan 2014 17:15:24 +0100

Hi all,

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
--8<---------------cut here---------------start------------->8---
\documentclass{article}
\begin{document}
\begin{equation}
  \label{eq:1}
  a + b = c
\end{equation}
Equation on page-!-
\end{document}
--8<---------------cut here---------------end--------------->8---
with point at -!-.  If one issues `C-c )' and selects the `\pageref'
macro, an `\eqref' will be inserted.  This seems to occur only with
equation keys.  I'm running Emacs 24.3.  Of course one can insert the
`\pageref' with `C-c C-m pageref RET', but I expect to be able to
accomplish this also with `reftex-reference'.

Bye,
Mosè



reply via email to

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