From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: Re: [new exporter] #+TOC in beamer export Date: Tue, 5 Mar 2013 23:35:42 +0100 Message-ID: <20130305223542.GR7544@kuru.dyndns-at-home.com> References: <87hakq2dqb.fsf@med.uni-goettingen.de> <877glltt4x.fsf@gmail.com> <87lia17btl.fsf@med.uni-goettingen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:41413) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UD0Sb-0004h3-Me for emacs-orgmode@gnu.org; Tue, 05 Mar 2013 17:35:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UD0Sa-0005Zj-K8 for emacs-orgmode@gnu.org; Tue, 05 Mar 2013 17:35:49 -0500 Received: from mail-we0-x22d.google.com ([2a00:1450:400c:c03::22d]:50023) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UD0Sa-0005Zf-Df for emacs-orgmode@gnu.org; Tue, 05 Mar 2013 17:35:48 -0500 Received: by mail-we0-f173.google.com with SMTP id r5so6981989wey.32 for ; Tue, 05 Mar 2013 14:35:47 -0800 (PST) Content-Disposition: inline In-Reply-To: <87lia17btl.fsf@med.uni-goettingen.de> 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: emacs-orgmode@gnu.org On Tue, Mar 05, 2013 at 10:53:42PM +0100, Andreas Leha wrote: > Nicolas Goaziou writes: > > Andreas Leha writes: > > > >> from a recent thread I learned about #+TOC (there's always something new > >> to learn about org mode). > >> > >> I'd like to use it in a beamer document. Here I find it hard to use > >> because it introduces its own frame. > >> > >> My question basically is: How is this supposed to be used in a beamer > >> doc? > >> (And would it not be easier if it did not introduce its own frame?) > > > > It seems useful to keep frame around TOC generated from toc:t option. > > But we could remove it from TOC generated from #+TOC keywords. > > > > Thanks for taking this further. Indeed, for the toc:t triggered TOC the > frame is absolutely useful. I'm not sure what a \tableofcontents outside a frame would look like. Can someone show an example? I also had another thought; sometimes for long presentations, I use something like this: \AtBeginSubsection[]{ \ifthenelse{ \(\value{section}=1\)\AND\(\value{subsection}=1\) }{} { \begin{frame} \frametitle{Outline} \tableofcontents[currentsubsection] \end{frame} } } At the moment I put it in as one long LaTeX_HEADER line. But would it be possible to leverage #+TOC: into having a similar effect? It might then provide a greater degree of control where you want the toc frame to appear. Cheers, -- Suvayu Open source is the future. It sets us free.