[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX] Re: Inconvenient format of latex-insert-environment for Beamer
From: |
Ralf Angeli |
Subject: |
[AUCTeX] Re: Inconvenient format of latex-insert-environment for Beamer frames |
Date: |
Tue, 28 Nov 2006 08:12:06 +0100 |
* mirko vukovic (2006-11-27) writes:
> OK, I admit that I did not read it until your second reply. However I
> think my set-up is correct. This was my set up for some time now
> (except for one item - marked below):
>
> (add-to-list 'load-path (local-setting 'auctex)) ; add auctex to load-path
What is this good for? How did you install AUCTeX? A "default"
install places AUCTeX in Emacs' load-path.
> (load "tex-mik")
That should be `(require 'tex-mik)', but I don't think this makes a
big difference.
> (load "auctex.el" nil t t)
> (load "preview-latex.el" nil t t)
> (setq TeX-auto-save t) ;; enable parsing of latex documents
> (setq TeX-parse-self t)
That looks okay. After loading your beamer test file, do you see
something like
Loading /usr/local/share/emacs/site-lisp/auctex/style/beamer.elc...done
in the *Messages* buffer?
> (add-hook 'LaTeX-mode-hook 'turn-on-reftex)
> (add-hook 'LaTeX-mode-hook #'LaTeX-install-toolbar) ; added on 11/25/06
That's not necessary with AUCTeX 11.83. Do you have 11.83? Perhaps
you could send the output of `M-x TeX-submit-bug-report RET'?
> (setq reftex-plug-into-AUCTeX t)
> ;; set ispell parser to tex
> (add-hook 'tex-mode-hook (function (lambda () (setq ispell-parser 'tex))))
`tex-mode-hook' is not an AUCTeX variable. And you don't need
`function' because `lambda' quotes itself.
--
Ralf