Control: retitle -1 elpa-org no longer activates org-beamer-mode via 
`#+INCLUDE` directives

IOhannes m zmölnig (Debian GNU|Linux) <umlae...@debian.org> writes:

> On 10/7/24 01:10, David Bremner wrote:
>> IOhannes m zmölnig (Debian/GNU) <umlae...@debian.org> writes:
>>>
>>> since i've upgraded elpa-org to 9.7.11+dfsg-1, I can no longer export my
>>> presentations to LaTeX/beamer.
>>>
>>> With the current version, when I try to export my slides (C-c C-e), I'm
>>> presented with the following options (only the LaTeX section shown):
>> 
>> I'm running 9.7.11 and can export to beamer fine. I do have
>> 
>> (require 'ox-beamer)
>> 
>> in my configuration.
>> 
>> I suspect this is an upstream change.

Agreed, and I didn't see any documentation of the change, so it looks
like an accidental regression to me.

> in the meantime i noticed that this might be related to my setup sharing 
> configurations between multiple org documents.
>
> i'm basically doing:
>
>
> slides.org
> ```org
> #+TITLE:     Some Title
> #+AUTHOR:    Me and the others
> #+EMAIL:     m...@example.com
> #+LANGUAGE:  de
> #+INCLUDE: "config.org"
>
> # ...
> ```
>
> and config.org:
> ```
> #+STARTUP: beamer
> # ...
> ```
>
> this used to work fine.
> now it seems that emacs/org no longer evaluates the `#+INCLUDE` 
> directives, and therefore does not automatically switch to org-beamer-mode.

/\ I think that's the feature that you'll want to ask to be restored. /\

> if I manually run `M-x org-beamer-mode` the "export to PDF (Beamer)" 
> option shows up and I can export as I used to.
> (well I *could*, but now I'm getting errors about 'pdflatex' being used 
> rather than 'luatex', but that is a separate problem)
>
> so I guess it is more a problem of (upstream?) org-mode than a problem 
> of elpa-org.

We have consensus on this.

> (I'm not sure now that the downgrade of elpa-org did help; sometimes it 
> worked and othertimes it did not)

Have you tried clearing the eln-cache?

> i'm not entirely sure how to proceed.

Bastien <b...@gnu.org> writes:

> "IOhannes m zmölnig (Debian/GNU)" <umlae...@debian.org> writes:
>
>> since i've upgraded elpa-org to 9.7.11+dfsg-1, I can no longer export my
>> presentations to LaTeX/beamer.
>
> Can you report this bug to the Org-mode mailing list using M-x
> org-submit-bug-report RET?

I'd like to second Bastien's request; Please report this bug to the
Org-mode mailing list.

Best,
Nicholas

Attachment: signature.asc
Description: PGP signature

Reply via email to