From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Beamer title is (incorrectly?) outside of a frame Date: Sun, 22 Dec 2013 14:36:34 +0100 Message-ID: <871u15j9ct.fsf@gmail.com> References: <3bf20787-19e4-49ff-bbb5-5c90bcc58a95@dewdrop-world.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50449) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VujCg-0003ue-BL for emacs-orgmode@gnu.org; Sun, 22 Dec 2013 08:36:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VujCX-000704-UH for emacs-orgmode@gnu.org; Sun, 22 Dec 2013 08:36:22 -0500 Received: from mail-wi0-x22d.google.com ([2a00:1450:400c:c05::22d]:49413) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VujCX-0006zz-NP for emacs-orgmode@gnu.org; Sun, 22 Dec 2013 08:36:13 -0500 Received: by mail-wi0-f173.google.com with SMTP id hn9so5449776wib.0 for ; Sun, 22 Dec 2013 05:36:12 -0800 (PST) In-Reply-To: <3bf20787-19e4-49ff-bbb5-5c90bcc58a95@dewdrop-world.net> (James Harkins's message of "Sun, 22 Dec 2013 18:42:01 +0800") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: James Harkins Cc: orgmode Hello, James Harkins writes: >> The beamer user guide (I.3.4) specifies the following: >> >> \begin{frame} >> \titlepage >> \end{frame} >> >> But org-mode simply writes "\maketitle" outside of a frame. > > Oh, I think I see the issue... there's only one org-latex-title-command. > > ;; 10. Title command. > (org-element-normalize-string > (cond ((string= "" title) nil) > ((not (stringp org-latex-title-command)) nil) > ((string-match "\\(?:[^%]\\|^\\)%s" > org-latex-title-command) > (format org-latex-title-command title)) > (t org-latex-title-command))) > > An isolated \maketitle is ok for articles, but not for Beamer. So > I suppose it's incorrect to press the same variable into service for > both. I don't think the variable is problematic as you can wrap a frame around it. Anyway, patch welcome. Regards, -- Nicolas Goaziou