From 8e841c8caa79707e098d691a44a90c9d9faff073 Mon Sep 17 00:00:00 2001 From: Eric S Fraga Date: Tue, 15 Oct 2013 17:39:40 +0100 Subject: [PATCH] Removed automatic creation of labels for frames in beamer export * lisp/ox-beamer.el (org-beamer--format-frame) The options passed to the frame command will include only labels defined explicitly in the org file. Automatic labels will not be generated. It seems that labels prevent beamer from processing other options, allowframebreaks in particular. --- lisp/ox-beamer.el | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/lisp/ox-beamer.el b/lisp/ox-beamer.el index 74d99ed..6410615 100644 --- a/lisp/ox-beamer.el +++ b/lisp/ox-beamer.el @@ -507,14 +507,7 @@ used as a communication channel." ;; them. (and (string-match "^\\[?\\(.*\\)\\]?$" beamer-opt) (match-string 1 beamer-opt)) - ",")) - ;; Provide an automatic label for the frame - ;; unless the user specified one. - (unless (and beamer-opt - (string-match "\\(^\\|,\\)label=" beamer-opt)) - (list - (format "label=%s" - (org-beamer--get-label headline info))))))) + ","))))) ;; Change options list into a string. (org-beamer--normalize-argument (mapconcat -- 1.8.1.2