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