|
From: | José Carlos Santos |
Subject: | Re: [Bug-AUCTeX] 11.85; TeX-parse-self is not active |
Date: | Thu, 11 Sep 2008 10:42:33 +0100 |
User-agent: | Thunderbird 2.0.0.16 (Windows/20080708) |
On 11-09-2008 9:45, Ralf Angeli wrote:
If, with the cursor right after the word "See", I type C-c C-) andYou probably mean `C-c )' which runs `reftex-reference' if RefTeX is enabled.
Sure.
then I choose the "e" option, then I get "~(\ref{eq:a})" but since this file uses the amsmath package, what I sould get is "~\eqref{eq:a}". What might be wrong with my intallation? Two notes: 1) My .emacs file contains the lines (setq TeX-auto-save t) (setq TeX-parse-self t) (setq-default TeX-master nil)Hm, if I try your example by starting Emacs with emacs -Q -l auctex --eval "(progn (setq TeX-auto-save t TeX-parse-self t) (setq-default TeX-master nil) (require 'reftex) (add-hook 'LaTeX-mode-hook 'turn-on-reftex) (setq reftex-plug-into-AUCTeX t))" file.tex then everything works as it should (using the CVS versions of AUCTeX and RefTeX). Are there any error messages in the *Messages* buffer?
No. Besides, if I replace my usual .emacs file by one whose contents are just (add-hook 'LaTeX-mode-hook 'turn-on-reftex) (setq TeX-auto-save t) (setq TeX-parse-self t) (setq-default TeX-master nil) (load "auctex.el" nil t t) (load "preview-latex.el" nil t t) (require 'tex-mik) then I still have the same problem. Best regards, Jose Carlos Santos
[Prev in Thread] | Current Thread | [Next in Thread] |