From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: org-e-beamer export bug Date: Mon, 17 Sep 2012 15:18:47 +0200 Message-ID: <20120917131847.GD7358@kuru.dyndns-at-home.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="PNTmBPCT7hxwcZjr" Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:33221) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TDbE0-0000Es-3w for emacs-orgmode@gnu.org; Mon, 17 Sep 2012 09:19:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TDbDy-0003E5-Q9 for emacs-orgmode@gnu.org; Mon, 17 Sep 2012 09:18:56 -0400 Received: from mail-we0-f169.google.com ([74.125.82.169]:55438) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TDbDy-0003Dv-JE for emacs-orgmode@gnu.org; Mon, 17 Sep 2012 09:18:54 -0400 Received: by weys10 with SMTP id s10so4233896wey.0 for ; Mon, 17 Sep 2012 06:18:53 -0700 (PDT) Content-Disposition: inline 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 Org mode --PNTmBPCT7hxwcZjr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, I think I found a bug in the beamer export of org-e-beamer. The ecm and the produced TeX file is attached. During the export the documentclass is incorrectly set to article. This is how I load org-export: (setq debug-on-error t debug-on-signal nil debug-on-quit nil) (add-to-list 'load-path (expand-file-name "~/build/org-mode/lisp")) (add-to-list 'load-path (expand-file-name "~/build/org-mode/contrib/lisp")) ;; activate org (require 'org-install) (load-library "org-export") (load-library "org-e-latex") (load-library "org-e-beamer") (load-library "org-e-html") (setq org-export-dispatch-use-expert-ui t ; non-intrusive export dispatch org-e-latex-pdf-process ; for experimental org-export '("xelatex -interaction nonstopmode -output-directory %o %f" "xelatex -interaction nonstopmode -output-directory %o %f" "xelatex -interaction nonstopmode -output-directory %o %f")) ;; beamer export with the new exporter (add-to-list 'org-e-latex-classes '("beamer" "\\documentclass\[presentation\]\{beamer\}" ("\\section\{%s\}" . "\\section*\{%s\}") ("\\subsection\{%s\}" . "\\subsection*\{%s\}") ("\\subsubsection\{%s\}" . "\\subsubsection*\{%s\}"))) -- Suvayu Open source is the future. It sets us free. --PNTmBPCT7hxwcZjr Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="e-beamer-ecm.org" Content-Transfer-Encoding: 8bit * Some headline :PROPERTIES: :LaTeX_CLASS: beamer :LaTeX_CLASS_OPTIONS: [smaller,presentation] :EXPORT_FILE_NAME: analysis_review.pdf :EXPORT_BEAMER_THEME: Montpellier :EXPORT_BEAMER_COLOR_THEME: orchid :EXPORT_OPTIONS: H:1 ^:t :COLUMNS: %45ITEM %10BEAMER_env(Env) %10BEAMER_act(Act) %4BEAMER_col(Col) %8BEAMER_opt(Opt) :BEAMER_col_ALL: 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 0.0 :ETC :EXPORT_TITLE: ECM :END: ** Background #+begin_latex \begin{equation} \mathcal{A}_{f}(t) = \dots \end{equation} #+end_latex * Ds⁻ Ds⁺ production asymmetry --PNTmBPCT7hxwcZjr Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="analysis_review.tex" % Created 2012-09-17 Mon 15:07 \documentclass[11pt]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{fixltx2e} \usepackage{graphicx} \usepackage{longtable} \usepackage{float} \usepackage{wrapfig} \usepackage{soul} \usepackage{textcomp} \usepackage{marvosym} \usepackage{wasysym} \usepackage{latexsym} \usepackage{amssymb} \usepackage{hyperref} \tolerance=1000 \usetheme{Montpellier} \usecolortheme{orchid} \author{Suvayu Ali} \date{\today} \title{ECM} \hypersetup{ pdfkeywords={}, pdfsubject={}, pdfcreator={Generated by Org mode 7.9.1 in Emacs 24.2.50.1.}} \begin{document} \maketitle \begin{frame}{Outline} \tableofcontents \end{frame} \begin{frame}[label=sec-1]{Background} \begin{equation} \mathcal{A}_{f}(t) = \dots \end{equation} \end{frame} % Generated by Org mode 7.9.1 in Emacs 24.2.50.1. \end{document} --PNTmBPCT7hxwcZjr--