David Masterson <dsmaster...@icloud.com> writes:

> Thomas Redelberger <rede...@gmx.de> writes:
>
>> Am 12.02.2025 um 22:19 schrieb David Masterson:
>>> I've been looking at Beamer as a way to write a slide show to help
>>> explain some projects to others.  Working on it, I have developed a
>>> number of questions that I'm not seeing answers to in the docs.
>>>
>>> + Why is my "Outline" slide blank?  Shouldn't it be picking up all the
>>>    "H:1" headings?  What am I missing?

Testing:

(1) With a one-level document

#+begin_src org
  ,#+title: Beamer test
  ,#+STARTUP: beamer
  ,#+LATEX_CLASS: beamer
  ,#+OPTIONS: H:1

  ,* Frame 1
     Content
  ,* Frame 2
     Content
#+end_src

Expected result: An outine listing the two frames.
Result: Blank outline slide.

(2) With a two-level document (other headers as above):

#+begin_src org
  ,#+OPTIONS: H:2

  ,* Section 1
  ,** Frame 1
     Content
  ,* Section 2
  ,** Frame 2
     Content
#+end_src

Expected result: A two-level Outline slide listing Sections and Frames.

Result: A one-level Outline slide with the Sections, but not the Frames.

Inspecting the .tex shows that a =\tableofcontents= command is inserted.
It does not have the =hideallsubsections= option, so that isn't the
problem. Sections get =\section= commands inserted. The problem is that
frames do not get =\subsection=, and therefore are not picked up by the
Outline slide. Nor will the line
: #+TOC: headlines [currentsection]
insert them.

I'm fairly happy with this result, really.
But what if I /want/ the full outline?

(3) With a two-level document, same as above, but with H:3:

Result: A two-level outline with both Sections and Frames listed.
Problem solved? No, because (as one might expect) this messes up the use
of third-level headings for Beamer blocks and columns, which become
separate frames.

Something does seem wrong here.

Yours,
Christian

Reply via email to