From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ista Zahn Subject: Re: Beamer export: one question and one bug Date: Sat, 2 Nov 2013 10:10:24 -0400 Message-ID: References: <87a9hxmujd.fsf@syk.fi> <87bo2drxfp.fsf@gmail.com> <87ob6cts64.fsf@syk.fi> <87hac3lct0.fsf@gmail.com> <87ppqrcc4h.fsf@syk.fi> <87d2mpmqjn.fsf@alphaville.bos.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38042) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vcbua-0004oR-LH for emacs-orgmode@gnu.org; Sat, 02 Nov 2013 10:10:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VcbuZ-0001md-Bb for emacs-orgmode@gnu.org; Sat, 02 Nov 2013 10:10:48 -0400 Received: from mail-pb0-x229.google.com ([2607:f8b0:400e:c01::229]:40269) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VcbuZ-0001mW-4H for emacs-orgmode@gnu.org; Sat, 02 Nov 2013 10:10:47 -0400 Received: by mail-pb0-f41.google.com with SMTP id wy17so2256410pbc.0 for ; Sat, 02 Nov 2013 07:10:45 -0700 (PDT) In-Reply-To: <87d2mpmqjn.fsf@alphaville.bos.redhat.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nick Dokos , armo.hurri@syk.fi Cc: emacs-orgmode Mailinglist On Mon, Oct 28, 2013 at 10:13 AM, Nick Dokos wrote: > Jarmo Hurri 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 > >