emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] Beamer support - 2nd round


From: Carsten Dominik
Subject: Re: [Orgmode] Beamer support - 2nd round
Date: Sat, 5 Dec 2009 09:05:20 +0100

On Dec 5, 2009, at 1:04 AM, Daniel Martins wrote:

Thank you very much

I did everything you suggested and everything worked nicely


But even using load-libray

org-latex

and

org-beamer

I received


Loading /home/daniel/emacs-lisp/org-mode/lisp/org-beamer.el (source)...done Loading /home/daniel/emacs-lisp/org-mode/lisp/org-latex.el (source)...done
Select command:
Exporting to LaTeX...
or: No definition for class `beamer' in `org-export-latex-classes'
If you have customized org-export-latex-classes before, then the value  
you stored will overwrite the new default (which contains the beamer  
entry.  Two ways to fix this:
1. Remove you customization of this variable, restart Emacs, and  
customize again to redo the changed you have made earlier.  THis is  
the safest way.
OR

2. Customize the variable and create a new entry for beamer, with this:
    ("beamer"
     "\\documentclass{beamer}
\\usepackage[utf8]{inputenc}
\\usepackage[T1]{fontenc}
\\usepackage{graphicx}
\\usepackage{longtable}
\\usepackage{float}
\\usepackage{wrapfig}
\\usepackage{soul}
\\usepackage{amssymb}
\\usepackage{hyperref}"
     org-beamer-sectioning
))


So in your customize buffer it must look like this:

TIFF image




Note in paricular that under |levels|, you must choose "Hook computing section levels" from the value menu
- Carsten

2009/12/4 Nick Dokos <address@hidden>:
Daniel Martins <address@hidden> wrote:

Stupid question 9but I could not answer it)


I have to set up

(add-to-list 'org-export-latex-classes
             '("beamer"
               "\\documentclass[11pt]{beamer}
...)

???

No.

Or I have to imput another .el which sets org-export-latex-classes  
correctl=
y?

I sue the latest git version of org-mode 6.33trans and
I tried to use the example but I couldn't
Are you using git to keep up to date with org-mode? If not, then  
afaict,
you cannot get it yet. If you are using git, you can do something  
like this:
$ git branch -r
 origin/HEAD
 origin/add-recursion-to-org-publish
 origin/beamer
 origin/emacs23
 origin/experimental
 origin/experimental-code-for-the-new-export-engine
 origin/master
 origin/mobile-support
 origin/org-plot-doc
 origin/support-for-mobile-sync

you can see there is a remote branch called origin/beamer. You can create
a local tracking branch with

$ git branch beamer origin/beamer

and check it out:

$ git checkout beamer

If you then look in lisp/org-latex.el, you should see the beamer stuff.
HTH,
Nick

- Carsten




reply via email to

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