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è

_______________________________________________
auctex-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex-devel

Reply via email to