From mboxrd@z Thu Jan 1 00:00:00 1970 From: Uwe Ziegenhagen Subject: Re: Exporting to LaTeX Beamer Date: Fri, 25 Apr 2014 09:37:20 +0000 (UTC) Message-ID: References: <87ppk597b6.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52448) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WdcZf-0004tC-DB for emacs-orgmode@gnu.org; Fri, 25 Apr 2014 05:37:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WdcZZ-0006Zv-Jz for emacs-orgmode@gnu.org; Fri, 25 Apr 2014 05:37:39 -0400 Received: from plane.gmane.org ([80.91.229.3]:38374) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WdcZZ-0006Zd-Cp for emacs-orgmode@gnu.org; Fri, 25 Apr 2014 05:37:33 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WdcZX-0008Sm-Bm for emacs-orgmode@gnu.org; Fri, 25 Apr 2014 11:37:31 +0200 Received: from p57A0A510.dip0.t-ipconnect.de ([87.160.165.16]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 25 Apr 2014 11:37:31 +0200 Received: from ziegenhagen by p57A0A510.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 25 Apr 2014 11:37:31 +0200 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 Eric S Fraga ucl.ac.uk> writes: > > On Friday, 25 Apr 2014 at 04:38, Uwe Ziegenhagen wrote: > > Hi, > > > > I am trying to export an org file to individual Beamer frames but fail as > > Org mode exports the sections, but not the frames. > > Use H:2 option instead of H:3 (in the #+OPTIONS line). This setting > tells the exporter which level of heading constitutes frames. Hi Eric, thanks for the feedback. I switched to H:2 but get no difference in the output: ################################# #+TITLE: Writing Beamer presentations in org-mode #+AUTHOR: Eric S Fraga #+EMAIL: e.fraga@ucl.ac.uk #+DATE: 2010-03-30 Tue #+DESCRIPTION: #+KEYWORDS: #+LANGUAGE: en #+OPTIONS: H:2 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t #+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc #+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path:http://orgmode.org/org-info.js #+EXPORT_SELECT_TAGS: export #+EXPORT_EXCLUDE_TAGS: noexport #+LINK_UP: #+LINK_HOME: #+startup: beamer #+LaTeX_CLASS: beamer #+LaTeX_CLASS_OPTIONS: [bigger] #+BEAMER_FRAME_LEVEL: 2 #+COLUMNS: %40ITEM %10BEAMER_env(Env) %9BEAMER_envargs(Env Args) %4BEAMER_col(Col) %10BEAMER_extra(Extra) * Introduction ** A simple slide This slide consists of some text with a number of bullet points: - the first, very @important@, point! - the previous point shows the use of the special markup which translates to the Beamer specific /alert/ command for highlighting text. The above list could be numbered or any other type of list and may include sub-lists. ########################## generates (excerpt) \section{Introduction} \label{sec-1} \subsection{A simple slide} \label{sec-1-1} This slide consists of some text with a number of bullet points: \begin{itemize} \item the first, very @important@, point! \item the previous point shows the use of the special markup which translates to the Beamer specific \emph{alert} command for highlighting text. \end{itemize} ############################### Here's the .emacs file I use: ;; Do not show welcome screen (setq inhibit-startup-message t) ;; Load Emacs Org-Mode (add-to-list 'load-path "C:/emacs-24.3/MyLisp/org-8.2.6/lisp/") ;; load the latex extension (require 'ox-html) (require 'ox-latex) (require 'ox-ascii) (require 'ox-beamer) ;; Load Recentfile code, see entry in menu (require 'recentf) (recentf-mode 1) (setq recentf-max-menu-items 25) (global-set-key "\C-x\ \C-r" 'recentf-open-files) ;; show no startup-screen (setq inhibit-startup-screen t) ;; just answer Emacs' question with 'y' or 'n' (defalias 'yes-or-no-p 'y-or-n-p)