emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Org-Mode 8.07 LaTeX Beamer export does not parse headings to frames during export
@ 2013-08-09 10:05 Ronert Obst
  2013-08-09 18:10 ` Tom Slee
  0 siblings, 1 reply; 3+ messages in thread
From: Ronert Obst @ 2013-08-09 10:05 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 3044 bytes --]

Hi,

I am trying to move my beamer export settings to the new exporter, but I
cannot even get a minimal example from the documentation to work properly.
Specifically, Org-Mode headings do not get parsed to frames during export
to LaTeX Beamer.

I added the minimal beamer export setup from
http://orgmode.org/worg/exporters/beamer/ox-beamer.html to my .emacs:

(require 'ox-latex)
(add-to-list 'org-latex-classes
             '("beamer"
               "\\documentclass\[presentation\]\{beamer\}"
               ("\\section\{%s\}" . "\\section*\{%s\}")
               ("\\subsection\{%s\}" . "\\subsection*\{%s\}")
               ("\\subsubsection\{%s\}" . "\\subsubsection*\{%s\}")))


Using the minimal example from the documentation
http://orgmode.org/manual/Beamer-class-export.html

     #+LaTeX_CLASS: beamer
     #+TITLE: Example Presentation
     #+AUTHOR: Carsten Dominik
     #+LaTeX_CLASS_OPTIONS: [presentation]
     #+BEAMER_FRAME_LEVEL: 2
     #+BEAMER_HEADER_EXTRA: \usetheme{Madrid}\usecolortheme{default}
     #+COLUMNS: %35ITEM %10BEAMER_env(Env) %10BEAMER_envargs(Args)
%4BEAMER_col(Col) %8BEAMER_extra(Ex)

     * This is the first structural section

     ** Frame 1 \\ with a subtitle
     *** Thanks to Eric Fraga
 :BMCOL:B_block:
         :PROPERTIES:
         :BEAMER_env: block
         :BEAMER_envargs: C[t]
         :BEAMER_col: 0.5
         :END:
         for the first viable beamer setup in Org
     *** Thanks to everyone else
:BMCOL:B_block:
         :PROPERTIES:
         :BEAMER_col: 0.5
         :BEAMER_env: block
         :BEAMER_envargs: <2->
         :END:
         for contributing to the discussion
     **** This will be formatted as a beamer note                  :B_note:
     ** Frame 2 \\ where we will not use columns
     *** Request                                                   :B_block:
         Please test this stuff!
         :PROPERTIES:
         :BEAMER_env: block
         :END:

the headings do not parse to beamer frames. This is the LaTeX output I get:

% Created 2013-08-09 Fri 12:04
\documentclass[presentation]{beamer}
\author{Carsten Dominik}
\date{\today}
\title{Example Presentation}
\hypersetup{
  pdfkeywords={},
  pdfsubject={},
  pdfcreator={Emacs 24.3.1 (Org mode 8.0.7)}}
\begin{document}

\maketitle
\tableofcontents

\section{This is the first structural section}
\label{sec-1}
\subsection{Frame 1}
\label{sec-1-1}
\begin{enumerate}
\item Thanks to Eric Fraga\hfill{}\textsc{B_block:BMCOL}
\label{sec-1-1-1}
for the first viable Beamer setup in Org

\item Thanks to everyone else\hfill{}\textsc{B_block:BMCOL}
\label{sec-1-1-2}
for contributing to the discussion
\begin{enumerate}
\item This will be formatted as a beamer note\hfill{}\textsc{B_note}
\label{sec-1-1-2-1}
\end{enumerate}
\end{enumerate}

\subsection{Frame 2 (where we will not use columns)}
\label{sec-1-2}
\begin{enumerate}
\item Request
\label{sec-1-2-1}
Please test this stuff!
\end{enumerate}
% Emacs 24.3.1 (Org mode 8.0.7)
\end{document}

Help would be greatly appreciated.

Best regards
Ronert

[-- Attachment #2: Type: text/html, Size: 4489 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-08-10  8:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-09 10:05 Org-Mode 8.07 LaTeX Beamer export does not parse headings to frames during export Ronert Obst
2013-08-09 18:10 ` Tom Slee
2013-08-10  8:24   ` Nicolas Goaziou

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