[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Beamer title is (incorrectly?) outside of a frame
From: |
Nicolas Goaziou |
Subject: |
Re: [O] Beamer title is (incorrectly?) outside of a frame |
Date: |
Sun, 22 Dec 2013 14:36:34 +0100 |
Hello,
James Harkins <address@hidden> 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