emacs-orgmode
[Top][All Lists]
Advanced

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

[O] New exporter, beamer confusion


From: James Harkins
Subject: [O] New exporter, beamer confusion
Date: Mon, 4 Feb 2013 12:00:08 +0800

During the semester break, I want to switch over to the new exporter.
Currently I'm using export mainly for beamer presentations.

I found the org-e-latex-classes entry in an old e-mail post. With
that, M-x org-export-dispatch l P produces a .tex document that
compiles. But the output is not right.

I've typically done my presentations with sections and frames only, no
sub-(sub-)sections. So I got some improvement over my first test by
removing the subsection lines from Nicolas' example entry:

(add-to-list 'org-e-latex-classes
             '("beamer"
               "\\documentclass[presentation]{beamer}
\[DEFAULT-PACKAGES]
\[PACKAGES]
\[EXTRA]"
               ("\\section{%s}" . "\\section*{%s}")
;               ("\\subsection{%s}" . "\\subsection*{%s}")
;               ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
))

Frame display is still incorrect, though. If I write:

* Section A
** Slide 1
*** Third-level
**** Fourth-level

... I expect "**" in the outline to be the frame title, and the third
and fourth level headings go into the frame's body as bullets. But in
the .tex file, there is no \begin{frame} at all. So I get an
enumeration hard-aligned to the top of the frame:

1. Slide 1
        1.1 Third-level
                1.1.1 Fourth-level

Bottom line question, then, is: How can I convert my setup for the old
exporter (pasted below) over to the new exporter, and get compatible
results without having to restructure dozens of org files?

I'm also attaching a very simple org file that I'm using for testing.

Org-mode version 7.9.2 (release_7.9.2-883-g6fb36e.dirty @
/home/dlm/share/org-mode.git/lisp/) ("Dirty" = A tiny patch I have
submitted for a mobileorg problem, which so far has been ignored.)

hjh

*** OLD EXPORTER SETUP

#+LANGUAGE:  en
#+OPTIONS:   H:10 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
#+EXPORT_SELECT_TAGS: export
#+EXPORT_EXCLUDE_TAGS: noexport

#+startup: beamer
#+LaTeX_CLASS: beamer
#+LaTeX_CLASS_OPTIONS: [bigger]
#+BEAMER_FRAME_LEVEL: 2

#+TITLE:     Applied Techniques for Digital Audio \newline Making
music by programming
#+AUTHOR:    H. James Harkins
#+DATE:      7 November 2012

#+BEGIN_LaTeX
\AtBeginSection[] % Do nothing for \section*
{
\begin{frame}<beamer>
\frametitle{Outline}
\tableofcontents[currentsection]
\end{frame}
}
#+END_LaTeX

* Section
** Frame
*** Bullet in frame

Attachment: simple-beamer.org
Description: Binary data

Attachment: simple-beamer.tex
Description: TeX document


reply via email to

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