[Top][All Lists]

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

[Orgmode] strange behavior for export

From: Erik Butz
Subject: [Orgmode] strange behavior for export
Date: Fri, 30 Apr 2010 19:01:34 +0200

Hi all,

I have the following problem:

I have set up my emacs so as to use org-mode uncompiled from a local directory

# from .emacs
(setq load-path (cons "~/elisp/org-mode/lisp" load-path))
(setq load-path (cons "~/elisp/org-mode/contrib/lisp" load-path))

starting emacs22 or 23 and displaying M-x org-version I get:

Org-mode version 6.35trans (release_6.35g.207.g7f085)

so indeed the version from the local directory.

when I take a document with the following preamble:

#+LaTeX_CLASS: beamer
#+TITLE:     present.org
#+AUTHOR:    Erik
#+EMAIL:     address@hidden
#+DATE:      2010-04-08 Thu
#+OPTIONS:   H:3 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t
#+OPTIONS:   TeX:t LaTeX:nil skip:nil d:nil todo:t pri:nil tags:not-in-toc
#+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0

and export this to latex I get the following:


\date{2010-04-08 Thu}





so despite the #+LaTeX_CLASS: beamer, the document gets exported as
'article'. Even worse, when I try to export the same document again
afterwards, I get a:
No definition for class `beamer' in `org-export-latex-classes'


When I issue a 'reload-org-uncompiled' directly after starting emacs,
this behavior does not occur.

In this case I get, as expected:


\date{2010-04-08 Thu}





any hints appreciated on how this behavior comes about.



reply via email to

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