emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Exporting to LaTeX Beamer


From: Uwe Ziegenhagen
Subject: Re: [O] Exporting to LaTeX Beamer
Date: Fri, 25 Apr 2014 09:37:20 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Eric S Fraga <e.fraga <at> 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:     address@hidden
#+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)







reply via email to

[Prev in Thread] Current Thread [Next in Thread]