I am now using AUCTeX 11.89.1
on emacs. When I start a beamer
class document, the label is not automatically added after using C-c C-s
to start a new section. I have to use C-c C-(
to add the label afterwards. If I use C-c C-e
to insert some environment (e.g., equation), the label is added automatically.
This does not happen in the usual article
class, in which labels are automatically added. I have the following in my .emacs
file,
(setq reftex-plug-into-AUCTeX t)
(add-hook 'LaTeX-mode-hook 'reftex-mode)
Do I need anything else to make it work in beamer?
P.S.,
I always use C-u C-c C-n
to make sure that the current documentclass is recognized first.
(setq LaTeX-beamer-section-labels-flag t)
to your.emacs
and try it again?