From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: [new exporter] #+TOC in beamer export Date: Tue, 05 Mar 2013 14:11:24 +0100 Message-ID: <87hakq2dqb.fsf@med.uni-goettingen.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:34308) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCrej-0002al-8E for emacs-orgmode@gnu.org; Tue, 05 Mar 2013 08:11:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UCree-00015a-7W for emacs-orgmode@gnu.org; Tue, 05 Mar 2013 08:11:45 -0500 Received: from plane.gmane.org ([80.91.229.3]:57551) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCree-00015H-0d for emacs-orgmode@gnu.org; Tue, 05 Mar 2013 08:11:40 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UCrew-0004rL-IU for emacs-orgmode@gnu.org; Tue, 05 Mar 2013 14:11:58 +0100 Received: from genepi110.genepi.med.uni-goettingen.de ([134.76.140.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 05 Mar 2013 14:11:58 +0100 Received: from andreas.leha by genepi110.genepi.med.uni-goettingen.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 05 Mar 2013 14:11:58 +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: emacs-orgmode@gnu.org Hi all, 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?) Here is a sample file to test (provided that you have a latex-class "beamer" defined in org-mode) #+begin_src org #+TITLE: Something #+LaTeX_CLASS: beamer #+LaTeX_CLASS_OPTIONS: [presentation] #+COLUMNS: %45ITEM %10BEAMER_env(Env) %10BEAMER_act(Act) %4BEAMER_col(Col) %8BEAMER_opt(Opt) #+PROPERTY: BEAMER_col_ALL 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 0.0 :ETC #+OPTIONS: toc:nil H:2 * Intro ** Motivation ** Challanges #+TOC: headlines 2 * Main Part ** One ** Two #+end_src This produces for me: ,---- | [...] | | \section[Intro]{Intro} | \label{sec-1} | \begin{frame}[label=sec-1-1]{Motivation} | \end{frame} | \begin{frame}[label=sec-1-2]{Challanges} | \begin{frame}\setcounter{tocdepth}{2} | \tableofcontents | \end{frame} | \end{frame} | \section[Main Part]{Main Part} | \label{sec-2} | \begin{frame}[label=sec-2-1]{One} | \end{frame} | \begin{frame}[label=sec-2-2]{Two} | \end{frame} | | [...] `---- I'd prefer to create the frame myself, so that I see the structure of the presentation, but that does not work either for me: #+begin_src org #+TITLE: Something #+LaTeX_CLASS: beamer #+LaTeX_CLASS_OPTIONS: [presentation] #+COLUMNS: %45ITEM %10BEAMER_env(Env) %10BEAMER_act(Act) %4BEAMER_col(Col) %8BEAMER_opt(Opt) #+PROPERTY: BEAMER_col_ALL 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 0.0 :ETC #+OPTIONS: toc:nil H:2 * Intro ** Motivation ** Challanges * TOC :B_frame: :PROPERTIES: :BEAMER_env: frame :END: #+TOC: headlines 2 * Main Part ** One ** Two #end_src Regards, Andreas