On 25/07/2026 12:38, Ihor Radchenko wrote:
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.

As an answer to both comments (*if* fixing my *in* typo) and putting both conditions in Note 2:

*Note 2:* Theme-related =BEAMER_...= keywords will be ignored if
you set the Beamer theme in the definition of the =beamer= class
in ~org-latex-classes~ or using ~#+LATEX_HEADER~.

--
Pedro A. Aranda
ox-latex & ox-beamer maintainer

Sagen's Paradeiser! (ORF: Als Radiohören gefährlich war) => write BE!
IA: onomatopeya del rebuzno
2nd year of the New Koprocracy


Reply via email to