emacs-orgmode
[Top][All Lists]
Advanced

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

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


From: Jarmo Hurri
Subject: Re: [O] Beamer export: one question and one bug
Date: Sun, 03 Nov 2013 12:06:28 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)

Greetings.

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

Yep, that will happen. However, the original idea was to get frame
headlines into the table of contents.  In order to achieve this I would
have to have H:2 and repeat the frame title as follows:

# --------------------------------------------------------------------
#+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)
#+DESCRIPTION:
#+EXCLUDE_TAGS: noexport
#+KEYWORDS:
#+LANGUAGE: en
#+SELECT_TAGS: export

* This is the first slide
** This is the first slide
  - with some fancy text
* And this is the second slide
** And this is the second slide
  - with one commented item...
# --------------------------------------------------------------------

The output is correct, but requires duplication of information, which is
practically always a bad idea.

Jarmo




reply via email to

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