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.
>From 1d80cdf2a4a087d2784eb9600f7da2c027d754a4 Mon Sep 17 00:00:00 2001
From: Suvayu Ali <fatkasuvayu+li...@gmail.com>
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

Reply via email to