Pedro Andres Aranda Gutierrez <[email protected]> writes:

> In addition, that would be a really breaking change, because it would move
> the code
> injected with #+BEAMER_HEADER amd users may rely on date, user, title, etc.
> being defined
> before they execute the BEAMER_HEADER stuff. This would really break many
> presentations.

I think it can be avoided if we re-structure org-beamer-template a bit.
Instead of
(concat
 ...
 (org-beamer--insert-theme
      (org-latex-make-preamble info)
      (org-beamer--theme-header info))
 ...)

we can modify :latex-header-extra with everything beamer wants to add,
and *then* pass it to org-latex-make-preamble.

Ultimately, I do hope that we can eventually get Timothy's conditional
preamble merged. It should simplify composing the preambles.

-- 
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>

Reply via email to