Discussion:
[AUCTeX] Symbol's value as variable is void: LaTeX-reftex-cite-format-auto-activate
Alfredo Buttari
2017-08-28 05:27:57 UTC
Permalink
Dear all,
whenever I try to open a .tex file in Emacs I get the error in the
subject. The file is opened in the background so I have to search
through my buffers to see it.

Could you please help me fixing this problem?

Kind regards,
Alfredo
--
-----------------------------------------
Alfredo Buttari, PhD
CNRS-IRIT
2 rue Camichel, 31071 Toulouse, France
http://buttari.perso.enseeiht.fr
Arash Esbati
2017-08-31 13:51:11 UTC
Permalink
Post by Alfredo Buttari
whenever I try to open a .tex file in Emacs I get the error in the
subject. The file is opened in the background so I have to search
through my buffers to see it.
Could you please help me fixing this problem?
Hi Alfredo,

`LaTeX-reftex-cite-format-auto-activate' was introduced in AUCTeX
11.90.

,----[ News in 11.90 ]
| AUCTeX has a new custom option LaTeX-reftex-cite-format-auto-activate
| which controls the automatic activation of citation formats provided by
| RefTeX when a style file is loaded and RefTeX is enabled. Currently,
| ‘biblatex.el’, ‘harvard.el’, ‘jurabib.el’ and ‘natbib.el’ use this
| feature. If you have customized reftex-cite-format and want to use your
| settings, you should set this variable to nil.
`----

I suspect you have 2 AUCTeX installations on your HD and you load new
style files with on older tex-style.el which is incompatible. Can you
please search your file system for tex-style.el and check for a bogus
installation?

Best, Arash
Alfredo Buttari
2017-08-31 21:13:36 UTC
Permalink
Dear Arash,
that was indeed the case! I had two different auctex version, one
installed through the apt package manager and the other through the
emacs package manager. I did some cleanup and everything works fine
now.

Thanks a lot.

Kind regards,
Alfredo
Post by Arash Esbati
Post by Alfredo Buttari
whenever I try to open a .tex file in Emacs I get the error in the
subject. The file is opened in the background so I have to search
through my buffers to see it.
Could you please help me fixing this problem?
Hi Alfredo,
`LaTeX-reftex-cite-format-auto-activate' was introduced in AUCTeX
11.90.
,----[ News in 11.90 ]
| AUCTeX has a new custom option LaTeX-reftex-cite-format-auto-activate
| which controls the automatic activation of citation formats provided by
| RefTeX when a style file is loaded and RefTeX is enabled. Currently,
| ‘biblatex.el’, ‘harvard.el’, ‘jurabib.el’ and ‘natbib.el’ use this
| feature. If you have customized reftex-cite-format and want to use your
| settings, you should set this variable to nil.
`----
I suspect you have 2 AUCTeX installations on your HD and you load new
style files with on older tex-style.el which is incompatible. Can you
please search your file system for tex-style.el and check for a bogus
installation?
Best, Arash
--
-----------------------------------------
Alfredo Buttari, PhD
CNRS-IRIT
2 rue Camichel, 31071 Toulouse, France
http://buttari.perso.enseeiht.fr
Ikumi Keita
2017-08-31 13:58:11 UTC
Permalink
Hi Alfredo,
Post by Alfredo Buttari
whenever I try to open a .tex file in Emacs I get the error in the
subject. The file is opened in the background so I have to search
through my buffers to see it.
Could you please help me fixing this problem?
Could you provide some more information so that we can reproduce the
symptom and examine the problem? The output of M-x
TeX-submit-bug-report and the sample files would be helpful. It would
also be a good idea to try enabling debug-on-error option as described
on https://www.gnu.org/software/auctex/manual/auctex/FAQ.html and to
provide us the backtrace.

Regards,
Ikumi Keita
Loading...