[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Beamer export: one question and one bug

From: Ista Zahn
Subject: Re: [O] Beamer export: one question and one bug
Date: Sat, 2 Nov 2013 10:10:24 -0400

On Mon, Oct 28, 2013 at 10:13 AM, Nick Dokos <address@hidden> wrote:
> Jarmo Hurri <address@hidden> writes:
>> Greetings again.
>>>>>> 1. First the question: when I export the org file below as Beamer (C-c
>>>>>>    C-e l O), I get an empty outline. How do I fix this?
>>> Seems to work fine for me with the older version that I was running,
>>> but I upgraded to latest and I get the beamer presentation I expected.
>> I think I posed my initial question in a way that begs for a
>> misunderstanding. When I export the file as Beamer, I get a title page,
>> two slides _and_ an empty outline. Maybe someone interpreted my initial
>> question to mean that I get _only_ an empty outline. I would like for
>> the titles of the slides to appear in the outline. How do I achieve
>> this?
>> (I know that I can get rid of the outline by setting toc:nil.)
> Ah, indeed I misunderstood.
> AFAIK, toc-entries are created by \section{...} and the beamer exporter
> does not add \section headers - there might be a way to do that but I
> don't know it.

Set '#OPTIONS: H:2', then top level headlines become sections (and are
listed in the table of contents) and second-level headlines become the
frames. For example:

#+TITLE: Beamer test
#+OPTIONS: ':nil *:t -:t ::t <:t H:2 \n:nil ^:t arch:headline
#+OPTIONS: author:t c:nil creator:comment d:(not LOGBOOK) date:t e:t
#+OPTIONS: email:nil f:t inline:t num:t p:nil pri:nil prop:nil stat:t
#+OPTIONS: tags:t tasks:t tex:t timestamp:t toc:t todo:t |:t
#+CREATOR: Emacs 24.2.1 (Org mode 8.2.1)
#+EXCLUDE_TAGS: noexport
#+SELECT_TAGS: export

* This is the first section
** This is the first slide
   - with some fancy text

* This is the second section
** And this is the second slide
  - with one commented item...
#  - ... containing a [[https://www.google.com/#q%3Dorg%2Bmode][link]]
that will amaze the reader

> There also might be a beamer way of having frames add their title to the
> TOC without \section help, but again I don't know whether that's
> possible.
> Nick

reply via email to

[Prev in Thread] Current Thread [Next in Thread]