From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ronert Obst 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 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b3a96be07bc1204e380eaf0 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47629) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V7jZc-0006mq-VQ for emacs-orgmode@gnu.org; Fri, 09 Aug 2013 06:05:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V7jZZ-0000Te-M1 for emacs-orgmode@gnu.org; Fri, 09 Aug 2013 06:05:32 -0400 Received: from mail-oa0-x22f.google.com ([2607:f8b0:4003:c02::22f]:59229) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V7jZZ-0000TM-Fd for emacs-orgmode@gnu.org; Fri, 09 Aug 2013 06:05:29 -0400 Received: by mail-oa0-f47.google.com with SMTP id g12so4274334oah.34 for ; Fri, 09 Aug 2013 03:05:28 -0700 (PDT) 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 --047d7b3a96be07bc1204e380eaf0 Content-Type: text/plain; charset=ISO-8859-1 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 --047d7b3a96be07bc1204e380eaf0 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,

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

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

<= /div>
(require 'ox-latex)
(add-to-list 'org-latex-cla= sses
=A0 =A0 =A0 =A0 =A0 =A0 =A0'("beamer"
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0"\\documentclass\[presentation\]\{bea= mer\}"
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0("\\section\{%s\}= " . "\\section*\{%s\}")
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0("\\subsection\{%s\}" . "= ;\\subsection*\{%s\}")
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0("= ;\\subsubsection\{%s\}" . "\\subsubsection*\{%s\}")))
<= /div>


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

=A0 =A0 =A0#+LaTe= X_CLASS: beamer
=A0 =A0 =A0#+TITLE: Example Presentation
=A0 =A0 =A0#+AUTHOR= : Carsten Dominik
=A0 =A0 =A0#+LaTeX_CLASS_OPTIONS: [presentation= ]
=A0 =A0 =A0#+BEAMER_FRAME_LEVEL: 2
=A0 =A0 =A0#+BEAME= R_HEADER_EXTRA: \usetheme{Madrid}\usecolortheme{default}
=A0 =A0 =A0#+COLUMNS: %35ITEM %10BEAMER_env(Env) %10BEAMER_envargs(Arg= s) %4BEAMER_col(Col) %8BEAMER_extra(Ex)
=A0 =A0 =A0
=A0= =A0 =A0* This is the first structural section
=A0 =A0 =A0
<= div>=A0 =A0 =A0** Frame 1 \\ with a subtitle
=A0 =A0 =A0*** Thanks to Eric Fraga =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0:BMCOL:B_block:
=A0 = =A0 =A0 =A0 =A0:PROPERTIES:
=A0 =A0 =A0 =A0 =A0:BEAMER_env: block=
=A0 =A0 =A0 =A0 =A0:BEAMER_envargs: C[t]
=A0 =A0 =A0 = =A0 =A0:BEAMER_col: 0.5
=A0 =A0 =A0 =A0 =A0:END:
=A0 =A0 =A0 =A0 =A0for the first vi= able beamer setup in Org
=A0 =A0 =A0*** Thanks to everyone else = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 :BMCOL:= B_block:
=A0 =A0 =A0 =A0 =A0:PROPERTIES:
=A0 =A0 =A0 = =A0 =A0:BEAMER_col: 0.5
=A0 =A0 =A0 =A0 =A0:BEAMER_env: block
=A0 =A0 =A0 =A0 =A0:BE= AMER_envargs: <2->
=A0 =A0 =A0 =A0 =A0:END:
=A0 = =A0 =A0 =A0 =A0for contributing to the discussion
=A0 =A0 =A0****= This will be formatted as a beamer note =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0:B_note:
=A0 =A0 =A0** Frame 2 \\ where we will not use columns
=A0 = =A0 =A0*** Request =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 :B_block:
=A0 =A0 =A0= =A0 =A0Please test this stuff!
=A0 =A0 =A0 =A0 =A0:PROPERTIES:
=A0 =A0 =A0 =A0 =A0:BEAMER_env: block
=A0 =A0 =A0 =A0 =A0:EN= D:

the headings do not parse to beamer frame= s. 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{
=A0 pdfkeywords=3D{},
=A0 pdfsubject=3D{},=
=A0 pdfcreator=3D{Emacs 24.3.1 (Org mode 8.0.7)}}
\begin{doc= ument}

\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:BM= COL}
\label{sec-1-1-2}
for contributing to the discussi= on
\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 colum= ns)}
\label{sec-1-2}
\begin{enumerate}
\item = Request
\label{sec-1-2-1}
Please test this stuff!
\end{enu= merate}
% Emacs 24.3.1 (Org mode 8.0.7)
\end{document}<= /div>

Help would be greatly appreciated.

Best regards
Ronert
--047d7b3a96be07bc1204e380eaf0--