emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Beamer title is (incorrectly?) outside o f a frame


From: James Harkins
Subject: Re: [O] Beamer title is (incorrectly?) outside o f a frame
Date: Sun, 22 Dec 2013 18:42:01 +0800
User-agent: Trojita/v0.3.96-git; Qt/4.8.1; X11; Linux; Ubuntu 12.04.3 LTS

On Sunday, December 22, 2013 6:38:02 PM HKT, James Harkins wrote:
Hi,

Is there a reason why Beamer export does not place "\maketitle" in a
frame?

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.

hjh



reply via email to

[Prev in Thread] Current Thread [Next in Thread]