emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ista Zahn <istazahn@gmail.com>
To: Nick Dokos <ndokos@gmail.com>, armo.hurri@syk.fi
Cc: emacs-orgmode Mailinglist <emacs-orgmode@gnu.org>
Subject: Re: Beamer export: one question and one bug
Date: Sat, 2 Nov 2013 10:10:24 -0400	[thread overview]
Message-ID: <CA+vqiLH7b1_5S_sFMWKKikcw84VDMLabS+=Xdsd7X5g_gYe-vg@mail.gmail.com> (raw)
In-Reply-To: <87d2mpmqjn.fsf@alphaville.bos.redhat.com>

On Mon, Oct 28, 2013 at 10:13 AM, Nick Dokos <ndokos@gmail.com> wrote:
> Jarmo Hurri <jarmo.hurri@syk.fi> 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)
#+DESCRIPTION:
#+EXCLUDE_TAGS: noexport
#+KEYWORDS:
#+LANGUAGE: en
#+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


Best,
Ista
>
> 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	other threads:[~2013-11-02 14:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-25 11:58 Beamer export: one question and one bug Jarmo Hurri
2013-10-25 18:56 ` Nicolas Goaziou
2013-10-26  7:20   ` Jarmo Hurri
2013-10-27  1:31     ` Nick Dokos
2013-10-27  9:10       ` Jarmo Hurri
2013-10-28 14:13         ` Nick Dokos
2013-11-02 14:10           ` Ista Zahn [this message]
2013-11-03 10:06             ` Jarmo Hurri
2013-11-03 14:18               ` Ista Zahn
2013-11-03 16:13                 ` Jarmo Hurri

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CA+vqiLH7b1_5S_sFMWKKikcw84VDMLabS+=Xdsd7X5g_gYe-vg@mail.gmail.com' \
    --to=istazahn@gmail.com \
    --cc=armo.hurri@syk.fi \
    --cc=emacs-orgmode@gnu.org \
    --cc=ndokos@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).