Mosè Giordano <[email protected]> writes:
Hi Mosè,
>> 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
>> fixed.
>
> I've just tried out the last revision of RefTeX and I still get the
> same result I described before.
>
> (reftex-format-special "eq:foo" "~\\eqref{%s}" "\\pageref")
>
> still returns for me
>
> "~\\eqref{eq:foo}"
Same here.
> The value of `reftex-typekey-to-format-alist' is
> ((" " . "~\\ref{%s}")
> ("n" . "~\\ref{%s}")
> ("f" . "~\\ref{%s}")
> ("i" . "~\\ref{%s}")
> ("s" . "~\\ref{%s}")
> ("t" . "~\\ref{%s}")
> ("l" . "~\\ref{%s}")
> ("N" . "~\\ref{%s}")
> ("e" . "~\\eqref{%s}"))
>
> Am I missing something?
I don't have the ("e" . "~\\eqref{%s}") entry. The problem with that is
that it's not matched by the regexp in `reftex-format-special'.
Bye,
Tassilo
_______________________________________________
auctex-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex-devel