From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Harkins Subject: New exporter, beamer confusion Date: Mon, 4 Feb 2013 12:00:08 +0800 Message-ID: Reply-To: jamshark70@dewdrop-world.net Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=e89a8f923da20688cb04d4de2151 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:47516) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U2DED-0004yl-2L for Emacs-orgmode@gnu.org; Sun, 03 Feb 2013 23:00:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U2DEB-0007Ab-5E for Emacs-orgmode@gnu.org; Sun, 03 Feb 2013 23:00:20 -0500 Received: from mail-ob0-f179.google.com ([209.85.214.179]:43761) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U2DEA-00075Z-VQ for Emacs-orgmode@gnu.org; Sun, 03 Feb 2013 23:00:19 -0500 Received: by mail-ob0-f179.google.com with SMTP id un3so5907701obb.38 for ; Sun, 03 Feb 2013 20:00:08 -0800 (PST) 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 --e89a8f923da20688cb04d4de2151 Content-Type: text/plain; charset=ISO-8859-1 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} \frametitle{Outline} \tableofcontents[currentsection] \end{frame} } #+END_LaTeX * Section ** Frame *** Bullet in frame --e89a8f923da20688cb04d4de2151 Content-Type: application/octet-stream; name="simple-beamer.org" Content-Disposition: attachment; filename="simple-beamer.org" Content-Transfer-Encoding: base64 X-Attachment-Id: f_hcr3cidx0 IytMQU5HVUFHRTogIGVuCiMrT1BUSU9OUzogICBIOjEwIG51bTp0IHRvYzp0IFxuOm5pbCBAOnQg Ojp0IHw6dCBeOnQgLTp0IGY6dCAqOnQgPDp0CiMrT1BUSU9OUzogICBUZVg6dCBMYVRlWDp0IHNr aXA6bmlsIGQ6bmlsIHRvZG86dCBwcmk6bmlsIHRhZ3M6bm90LWluLXRvYwoKIytzdGFydHVwOiBi ZWFtZXIKIytMYVRlWF9DTEFTUzogYmVhbWVyCiMrTGFUZVhfQ0xBU1NfT1BUSU9OUzogW3ByZXNl bnRhdGlvbl0KIytCRUFNRVJfVEhFTUU6IGRlZmF1bHQKIytDT0xVTU5TOiAlNDVJVEVNICUxMEJF QU1FUl9lbnYoRW52KSAlMTBCRUFNRVJfYWN0KEFjdCkgJTRCRUFNRVJfY29sKENvbCkgJThCRUFN RVJfb3B0KE9wdCkKIytQUk9QRVJUWTogQkVBTUVSX2NvbF9BTEwgMC4xIDAuMiAwLjMgMC40IDAu NSAwLjYgMC43IDAuOCAwLjkgMC4wIDpFVEMKCiMrVElUTEU6ICAgICBUZXN0aW5nIG5ldyBiZWFt ZXIgZXhwb3J0ZXIKIytBVVRIT1I6ICAgIEguIEphbWVzIEhhcmtpbnMKIytFTUFJTDogICAgIGph bXNoYXJrNzBAeWFkZGF5YWRkYS5jb20KIytEQVRFOiAgICAgIDcgTm92ZW1iZXIgMjAxMgoKIytC RUdJTl9MYVRlWApcQXRCZWdpblNlY3Rpb25bXSAlIERvIG5vdGhpbmcgZm9yIFxzZWN0aW9uKgp7 ClxiZWdpbntmcmFtZX08YmVhbWVyPgpcZnJhbWV0aXRsZXtPdXRsaW5lfQpcdGFibGVvZmNvbnRl bnRzW2N1cnJlbnRzZWN0aW9uXQpcZW5ke2ZyYW1lfQp9CiMrRU5EX0xhVGVYCgoqIFNlY3Rpb24g QQoqKiBTbGlkZSAxCioqKiBUaGlyZC1sZXZlbAoqKioqIEZvdXJ0aC1sZXZlbAo= --e89a8f923da20688cb04d4de2151 Content-Type: application/x-tex; name="simple-beamer.tex" Content-Disposition: attachment; filename="simple-beamer.tex" Content-Transfer-Encoding: base64 X-Attachment-Id: f_hcr3cmso1 JSBDcmVhdGVkIDIwMTMtMDItMDQgTW9uIDExOjQyClxkb2N1bWVud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