emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ronert Obst <ronert.obst@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Org-Mode 8.07 LaTeX Beamer export does not parse headings to frames during export
Date: Fri, 9 Aug 2013 12:05:08 +0200	[thread overview]
Message-ID: <CACSfVHHMy18KLFPCz2r6Onq+7bK44vAqWsCQtnvhQMGOK3hdUQ@mail.gmail.com> (raw)

[-- 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 --]

             reply	other threads:[~2013-08-09 10:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-09 10:05 Ronert Obst [this message]
2013-08-09 18:10 ` Org-Mode 8.07 LaTeX Beamer export does not parse headings to frames during export Tom Slee
2013-08-10  8:24   ` Nicolas Goaziou

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=CACSfVHHMy18KLFPCz2r6Onq+7bK44vAqWsCQtnvhQMGOK3hdUQ@mail.gmail.com \
    --to=ronert.obst@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).