emacs-orgmode
[Top][All Lists]

## Re: [Orgmode] New beamer support

 From: Eric S Fraga Subject: Re: [Orgmode] New beamer support Date: Wed, 06 Jan 2010 11:40:16 +0000 User-agent: Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.7 Emacs/23.1 (i486-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

At Wed, 06 Jan 2010 10:46:45 +0100,
Sébastien Vauban wrote:
>
> Hello all,
>
> Here a few comments, after my first attempt with the new beamer support --
> excellent, needless to say...

Yes, excellent indeed.

An aside: *Carsten,* I have been off ill (eye operation at start of
December) so only today have I managed to come back to play with
org-mode's beamer support.  Everything so far is working as expected,
i.e. very well indeed.

> Before that, I was using Nick's export class. But, now, I'm using yesterday's
> git version.
>
> The few things I'm tackling right now are:
>
> - How to get a TOC with a frame title, without having to add it explicitly?

I think you need to add it explicitly with \tableofcontents?  In beamer, I
simply typically have

--8<---------------cut here---------------start------------->8---
\begin{frame}<beamer>
\tableofcontents
\end{frame}
--8<---------------cut here---------------end--------------->8---

> - How to get alerted text, without customizing org-export-emphasis-alist'?
>   Has this been forgotten from the commit?

I think the decision was to allow users to customise this themselves
(as indicated in your subsequent followup with a link to one of our
previous messages on this topic).

>
> - How to get "frame breaks", without modifying the resulting TeX file (by
>   adding a frame option allowframebreaks' -- similar to the fragile'
>   option)?
>
> - How to get the TOC repeated when changing of section, with the new item
>   highlighted?  See my manual essay ;-)

Again, beamer supports this easily so I would suggest simply adding
some direct latex code at the start of your org file.  The latex code
I use is:

--8<---------------cut here---------------start------------->8---
\AtBeginSection[]
{
\begin{frame}
\frametitle{Topic}
\tableofcontents[currentsection]
\end{frame}
}
--8<---------------cut here---------------end--------------->8---

You could simply put this in one line with #+latex_header: as in (untested):

--8<---------------cut here---------------start------------->8---
`