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.

Best, /PA

On Mon, 27 Jul 2026 at 09:07, Pedro Andres Aranda Gutierrez <
[email protected]> wrote:

> Hmmm
> But that would make determining where the unwanted/redundant latex code is
> more difficult and warnings less accurate…
>
> Thinking about it, though…
> /PA
> Enviado desde mi iPhone
>
> > El 26 jul 2026, a las 17:05, Ihor Radchenko <[email protected]>
> escribió:
> >
> > Pedro Andres Aranda Gutierrez <[email protected]> writes:
> >
> >> currently some features "float" between the LaTeX and the Beamer
> exporter
> >> in a sometimes foggy way.
> >>
> >> I have detected that one could try to use (and fail, of course)
> >> \usepackage[AUTO]{babel} (or polyglossia). I have therefore added the
> >> following in ox-beamer (as pseudocode)
> >>
> >> if the user has
> >> \usepackage\[.+?]{(babel|polyglossia)}
> >> in BEAMER_HEADER, comment it out and warn the user.
> >>
> >> You get a much more complete handling of locale-related features in
> >> ox-latex.el, which is used by ox-beamer.el:
> >> LATEX_HEADER, LATEX_HEADER_EXTRA and the new font/locale control
> features
> >> in ox-latex.el take over and we have the code in just one place.
> >>
> >> Reactions welcome (and, of course, feedback for this and other
> additions to
> >> the fontspec3 branch in Savannah or my mirror @ codeberg[1])
> >
> > Why not simply incorporating beamer_header into ox-latex processing?
> > What I mean is something along the lines of
> >
> > (when (plist-get info :beamer-header)
> >  (plist-put info :latex-header-extra
> >    (concat (plist-get info :latex-header-extra) "\n" (plist-get info
> :beamer-header))))
> > (org-latex-make-preamble info)
> >
> > --
> > 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>
>


-- 
Fragen sind nicht da, um beantwortet zu werden,
Fragen sind da um gestellt zu werden
Georg Kreisler

"Sagen's Paradeiser" (ORF: Als Radiohören gefährlich war) => write BE!
Year 2 of the New Koprocracy

*IA: onomatopeya del rebuznar*

This was produced by a human (implied virtues and weaknesses acknowledged)
I'd hate this being fed to any form of AS (sorry AI)...

Reply via email to