GNU bug report logs -
#51468
reftex-ref-style-alist in amsmath.el
Previous Next
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi All,
`reftex-vars.el' defines the user option `reftex-ref-style-alist' and
includes the "AMSmath" style among the default ones, the same as with
other package specific reference commands. The activation of each of
these entries is controlled by `LaTeX-reftex-ref-style-auto-activate'.
And users can set `reftex-ref-style-alist' so that they choose which
styles may potentially get activated, according to loaded packages in
the style files.
However, `amsmath.el' goes a little further and adds (again) the
"AMSmath" ref style to `reftex-ref-style-alist'. Hence, if an user had
removed it from the variable, the style file overrides that
customization, and the only way to disable this ref style, while keeping
`LaTeX-reftex-ref-style-auto-activate' to `t', is to add an empty
"AMSmath" ref style instead.
But doesn't this re-adding of the ref style in `amsmath.el' defeat the
purpose of the interplay between `reftex-ref-style-alist' and
`LaTeX-reftex-ref-style-auto-activate'? As far as I can tell,
`amsmath.el' is the only style file from the ones included by default in
`reftex-ref-style-alist' which does this. I'd expect it not to do it.
Best regards,
Gustavo.
This bug report was last modified 3 years and 203 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.