From 7cf7e4454fb05ce8bd0d4ca5629b2f409478525c Mon Sep 17 00:00:00 2001 From: Aaron Ecay Date: Thu, 21 Aug 2014 18:09:04 -0400 Subject: [PATCH] ox-beamer.el: Match latex backend in generation of \author. * lisp/ox-beamer.el (org-beamer-template): Match latex backend in generation of \author. --- lisp/ox-beamer.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lisp/ox-beamer.el b/lisp/ox-beamer.el index 97763e94b..b41548159 100644 --- a/lisp/ox-beamer.el +++ b/lisp/ox-beamer.el @@ -846,8 +846,7 @@ holding export options." (org-export-data (plist-get info :email) info)))) (cond ((and author email (not (string= "" email))) (format "\\author{%s\\thanks{%s}}\n" author email)) - (author (format "\\author{%s}\n" author)) - (t "\\author{}\n"))) + ((or author email) (format "\\author{%s}\n" (or author email))))) ;; 6. Date. (let ((date (and (plist-get info :with-date) (org-export-get-date info)))) (format "\\date{%s}\n" (org-export-data date info))) -- 2.11.4.GIT