emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Uwe Ziegenhagen <ziegenhagen@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Exporting to LaTeX Beamer
Date: Fri, 25 Apr 2014 09:37:20 +0000 (UTC)	[thread overview]
Message-ID: <loom.20140425T113023-559@post.gmane.org> (raw)
In-Reply-To: 87ppk597b6.fsf@ucl.ac.uk

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:     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)

  reply	other threads:[~2014-04-25  9:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-25  4:38 Exporting to LaTeX Beamer Uwe Ziegenhagen
2014-04-25  7:50 ` Eric S Fraga
2014-04-25  9:37   ` Uwe Ziegenhagen [this message]
2014-04-25 10:02     ` Eric S Fraga
2014-04-25 11:38       ` Uwe Ziegenhagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20140425T113023-559@post.gmane.org \
    --to=ziegenhagen@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).