emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <ucecesf@ucl.ac.uk>
To: "Sébastien Vauban" <wxhgmqzgwmuf@spammotel.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: New beamer support
Date: Wed, 06 Jan 2010 11:40:16 +0000	[thread overview]
Message-ID: <87eim3zckf.wl%ucecesf@ucl.ac.uk> (raw)
In-Reply-To: <871vi3bm62.fsf@mundaneum.com>

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> 
  \frametitle{Table of contents}
  \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---
#+latex_header: \AtBeginSection[]{  \begin{frame}    \frametitle{Topic}    \tableofcontents[currentsection]  \end{frame}}
--8<---------------cut here---------------end--------------->8---

HTH,
eric

  parent reply	other threads:[~2010-01-06 11:41 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-06  9:46 New beamer support Sébastien Vauban
2010-01-06 10:06 ` Carsten Dominik
2010-01-06 10:59   ` Sébastien Vauban
2010-01-06 12:36     ` Carsten Dominik
2010-01-06 13:35       ` Sébastien Vauban
2010-01-06 14:23         ` Carsten Dominik
2010-01-06 14:31           ` Carsten Dominik
2010-01-06 15:35             ` Sébastien Vauban
2010-01-06 17:32               ` Carsten Dominik
2010-01-06 15:47           ` Sébastien Vauban
2010-01-06 17:34             ` Carsten Dominik
2010-01-07  9:38               ` Sébastien Vauban
2010-01-07 10:35                 ` Carsten Dominik
2010-01-07 10:56                   ` Sébastien Vauban
2010-01-06 11:13   ` Christian Lasarczyk
2010-01-06 11:57     ` Carsten Dominik
2010-01-06 13:06       ` Sébastien Vauban
2010-01-06 11:40 ` Eric S Fraga [this message]
2010-01-06 13:03   ` Sébastien Vauban
2010-01-06 13:25     ` Carsten Dominik
2010-01-06 16:22       ` Sébastien Vauban
2010-01-06 17:33         ` Carsten Dominik
2010-01-07  8:41           ` Sébastien Vauban
2010-01-07 14:39             ` Darlan Cavalcante Moreira
2010-01-07 15:43               ` Carsten Dominik
2010-01-07 16:16                 ` Sébastien Vauban
2010-01-07 18:03                   ` Darlan Cavalcante Moreira
2010-01-07 18:18                     ` Carsten Dominik
2010-01-07 19:24                     ` Sébastien Vauban
2010-01-07 16:48               ` Carsten Dominik
2010-01-07  8:54           ` Sébastien Vauban
2010-01-07  9:26             ` Carsten Dominik
2010-01-07  9:47               ` Sébastien Vauban
2010-01-07 10:00                 ` Carsten Dominik
2010-01-07 10:21                   ` Sébastien Vauban
2010-01-07 10:33                     ` Carsten Dominik
2010-01-07 11:23                       ` Sébastien Vauban
2010-01-07 11:30 ` [beamer] Order in preamble Sébastien Vauban
2010-01-07 13:15   ` Carsten Dominik
2010-01-07 15:54     ` Sébastien Vauban

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87eim3zckf.wl%ucecesf@ucl.ac.uk \
    --to=ucecesf@ucl.ac.uk \
    --cc=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=wxhgmqzgwmuf@spammotel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).