From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [new exporter] #+TOC in beamer export Date: Wed, 06 Mar 2013 00:52:24 +0100 Message-ID: <87d2vds8uf.fsf@gmail.com> References: <87hakq2dqb.fsf@med.uni-goettingen.de> <877glltt4x.fsf@gmail.com> <87lia17btl.fsf@med.uni-goettingen.de> <20130305223542.GR7544@kuru.dyndns-at-home.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:58361) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UD1ew-0001p5-Qb for emacs-orgmode@gnu.org; Tue, 05 Mar 2013 18:52:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UD1ev-00023d-Hl for emacs-orgmode@gnu.org; Tue, 05 Mar 2013 18:52:38 -0500 Received: from mail-we0-x22c.google.com ([2a00:1450:400c:c03::22c]:38052) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UD1ev-00023K-B7 for emacs-orgmode@gnu.org; Tue, 05 Mar 2013 18:52:37 -0500 Received: by mail-we0-f172.google.com with SMTP id d46so2869771wer.31 for ; Tue, 05 Mar 2013 15:52:36 -0800 (PST) In-Reply-To: <20130305223542.GR7544@kuru.dyndns-at-home.com> (Suvayu Ali's message of "Tue, 5 Mar 2013 23:35:42 +0100") 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: Suvayu Ali Cc: emacs-orgmode@gnu.org Hello, Suvayu Ali writes: > 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 think that the idea behind a frameless TOC is that you provide your own frame for it. It makes sense since #+TOC: allows to control accurately the location of your table of contents. > 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. I think this kind of control should really belong to specific latex code. A TOC limited to current section sure sounds seducing, but I'm not sure how to achieve this in LaTeX. Regards, -- Nicolas Goaziou