From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: Re: org-e-beamer export bug Date: Mon, 17 Sep 2012 17:34:32 +0200 Message-ID: <20120917153432.GG7358@kuru.dyndns-at-home.com> References: <20120917131847.GD7358@kuru.dyndns-at-home.com> <20120917133017.GE7358@kuru.dyndns-at-home.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="kORqDWCi7qDJ0mEj" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:35763) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TDdLR-0003Cb-5h for emacs-orgmode@gnu.org; Mon, 17 Sep 2012 11:34:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TDdLL-0000YW-8P for emacs-orgmode@gnu.org; Mon, 17 Sep 2012 11:34:45 -0400 Received: from mail-bk0-f41.google.com ([209.85.214.41]:36160) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TDdLK-0000YN-Sx for emacs-orgmode@gnu.org; Mon, 17 Sep 2012 11:34:39 -0400 Received: by bkcjc3 with SMTP id jc3so2246773bkc.0 for ; Mon, 17 Sep 2012 08:34:36 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20120917133017.GE7358@kuru.dyndns-at-home.com> 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 --kORqDWCi7qDJ0mEj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, On Mon, Sep 17, 2012 at 03:30:17PM +0200, Suvayu Ali wrote: > On Mon, Sep 17, 2012 at 03:18:47PM +0200, Suvayu Ali wrote: > > > > 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. > > > > Please ignore my report. I found my typo > > > :LaTeX_CLASS: beamer > > :LaTeX_CLASS_OPTIONS: [smaller,presentation] > > should be > > > :EXPORT_LaTeX_CLASS: beamer > > :EXPORT_LaTeX_CLASS_OPTIONS: [smaller,presentation] > The typo was actually in org-e-beamer-insert-options-template. A patch is attached. -- Suvayu Open source is the future. It sets us free. --kORqDWCi7qDJ0mEj Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="0001-Fix-org-e-beamer-subtree-export-options-template.patch" >From 1d80cdf2a4a087d2784eb9600f7da2c027d754a4 Mon Sep 17 00:00:00 2001 From: Suvayu Ali Date: Mon, 17 Sep 2012 17:28:03 +0200 Subject: [PATCH] Fix org-e-beamer subtree export options template Prepend "EXPORT_" to LaTeX_CLASS* properties in the beamer subtree export options template. --- contrib/lisp/org-e-beamer.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/lisp/org-e-beamer.el b/contrib/lisp/org-e-beamer.el index fba3c43..94336d7 100644 --- a/contrib/lisp/org-e-beamer.el +++ b/contrib/lisp/org-e-beamer.el @@ -1130,8 +1130,8 @@ (defun org-e-beamer-insert-options-template (&optional kind) (progn (org-back-to-heading t) (org-reveal) - (org-entry-put nil "LaTeX_CLASS" "beamer") - (org-entry-put nil "LaTeX_CLASS_OPTIONS" "[presentation]") + (org-entry-put nil "EXPORT_LaTeX_CLASS" "beamer") + (org-entry-put nil "EXPORT_LaTeX_CLASS_OPTIONS" "[presentation]") (org-entry-put nil "EXPORT_FILE_NAME" "presentation.pdf") (when org-e-beamer-column-view-format (org-entry-put nil "COLUMNS" org-e-beamer-column-view-format)) -- 1.7.11.4 --kORqDWCi7qDJ0mEj--