Hello:
I was happy to see a simple formula for exporting to Beamer. The following worked initially. However, this initialization routine was able to run only when org-latex had already been loaded.
Here's the minimal.emacs - you'll need to adjust the load path for your
setup:
,----
| (add-to-list 'load-path (expand-file-name "~/src/emacs/org/org-mode/lisp"))
| (add-to-list 'auto-mode-alist '("\\.\\(org\\|org_archive\\|txt\\)$" . org-mode))
| (require 'org-install)
| (global-set-key "\C-cl" 'org-store-link)
| (global-set-key "\C-ca" 'org-agenda)
| (global-set-key "\C-cb" 'org-iswitchb)
| (setq org-log-done (quote time))
| (setq org-log-into-drawer t)
|
| (load "org-exp")
| (load "org-latex")
|| \\usepackage[utf8]{inputenc}
| (add-to-list 'org-export-latex-classes
| '("beamer"
| "\\documentclass[11pt]{beamer}
| \\usepackage[T1]{fontenc}
| \\usepackage{hyperref}
| \\usepackage{verbatim}
| \\setbeameroption{show notes}
| \\usetheme{Goettingen}
| \\useoutertheme{infolines}"
| ("\\begin{frame}\\frametitle{%s}\\begin{itemize}" "\\end{itemize}\\end{frame}"| )
| "\\begin{frame}\\frametitle{%s}\\begin{itemize}" "\\end{itemize}\\end{frame}")
| ("\\item{%s}" . "\\item*{%s}")
| )
`----
and here's slides.org:
| #+OPTIONS: toc:nil H:2
,----
| #+LaTeX_CLASS: beamer
| #+TITLE: Example presentation
| #+AUTHOR: Nick Dokos \\ $<$\href{mailto:nicholas.dokos@hp.com}{nicholas.dokos@hp.com}$>$
| #+EMAIL: nicholas.dokos@hp.com
|
| * Why
| ** Reason 1.
| Text explaining reason #1.
| ** Reason 2.
| ... more explanations.
| ** Reason 3.
| Blah, blah, blah.
|
| ** Reason 4.
| Why not?
|
| * What
| ** First piece.
| ** Second piece.
| ** Third piece.
| ** Fourth piece.
`----