Hello, When using AUCTeX with Beamer, the default environment when running C-c C-e is "slide". As far as I know, this environment doesn't exist, and the correct one is "frame". Attached is a suggested corrective.
Best regards, Agathe Herrou
diff --git a/style/slides.el b/style/slides.el index e73826ae..5f6ad4e8 100644 --- a/style/slides.el +++ b/style/slides.el @@ -40,12 +40,12 @@ (TeX-add-style-hook "slides" (lambda () - (LaTeX-add-environments "slide" + (LaTeX-add-environments "frame" "overlay" "note") (LaTeX-add-counters "minutes" "seconds") - (LaTeX-add-pagestyles "headings" "slide" "overlay" "note") - (setq LaTeX-default-document-environment "slide")) + (LaTeX-add-pagestyles "headings" "frame" "overlay" "note") + (setq LaTeX-default-document-environment "frame")) LaTeX-dialect) ;;; slides.el ends here
_______________________________________________ bug-auctex mailing list bug-auctex@gnu.org https://lists.gnu.org/mailman/listinfo/bug-auctex