Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Nick Dokos <nicholas.dokos <at> hp.com>
Subject: Re: Re: LaTeX export bugs?
Newsgroups: gmane.emacs.orgmode
Date: Thursday 2nd July 2009 02:08:39 UTC (over 8 years ago)
=?utf-8?Q?S=C3=A9bastien_Vauban?=  wrote:

> >
> > BTW, any solution for exporting to a Beamer presentation?  I'd be
> > very very  very interested by anything in that direction. That's
> > the last piece of the whole puzzle, IMHO.
> >

I did a beamer presentation in org-mode last month (1 hour, about 20
slides).
Here is a simplified version (I'll talk about some problems at the end).

o org-export-latex-classes is augmented with a beamer element as follows:

,----
| (add-to-list 'org-export-latex-classes
|                '("beamer"
|                 
"\\documentclass[11pt]{beamer}\n\\usepackage[utf8]{inputenc}\n\\usepackage[T1]{fontenc}\n\\usepackage{hyperref}\n\\usepackage{verbatim}\n\\setbeameroption{show
notes}\n\\usetheme{Goettingen}\n\\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}")
|                  ("\\end{itemize}\\note{" "}")))
`----

o Here is an input file:

,----
| #+LaTeX_CLASS: beamer
| #+TITLE: Example presentation
| #+AUTHOR: Nick Dokos \\
$<$\href{mailto:[email protected]}{[email protected]}$>$
| #+EMAIL: [email protected]
| 
| * 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.
`----

o Export it to latex (and zap the TOC - see below):
 
CD: 4ms