Pedro Andres Aranda Gutierrez <[email protected]> writes:
>> > +*Note 2:* Theme-related =BEAMER_...= keywords will be ignored in the
>> > +=beamer= class definition in ~org-latex-classes~ defines the Beamer
>> theme.
>>
>> Maybe "Theme-related =BEAMER_...= keywords will be ignored *if* the
>> =beamer= class definition in ~org-latex-classes~ contains =\usetheme{...}="
>>
> or "contains Beamer theme-related declarations"
But your variant will not be accurate.
If someone, say, defines innertheme, keywords will not be ignored.
>> > + ;; Document class, theme and packages.
>> > + (org-beamer--insert-theme
>> > + (org-latex-make-preamble info)
>> > + (org-beamer--theme-header info))
>>
>> org-latex-make-preamble will create the full preamble, including
>> #+LATEX_HEADER. So, something like
>> #+LATEX_HEADER: \usetheme{Madrid}
>> will also trigger #+BEAMER_... keywords being ignored.
>> Is it intentional?
>
> I see it as the equivalent of someone defining the theme in
> org-latex-classes.
I do not object, but it should be documented.
--
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>