From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: New beamer support Date: Wed, 06 Jan 2010 11:40:16 +0000 Message-ID: <87eim3zckf.wl%ucecesf@ucl.ac.uk> References: <871vi3bm62.fsf@mundaneum.com> Reply-To: Eric S Fraga Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NSUGI-0001q3-CM for emacs-orgmode@gnu.org; Wed, 06 Jan 2010 06:41:14 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NSUGC-0001ph-Lj for emacs-orgmode@gnu.org; Wed, 06 Jan 2010 06:41:12 -0500 Received: from [199.232.76.173] (port=52422 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NSUGC-0001pb-Hh for emacs-orgmode@gnu.org; Wed, 06 Jan 2010 06:41:08 -0500 Received: from vscane-c.ucl.ac.uk ([144.82.108.43]:50166) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NSUGB-0008Rn-UO for emacs-orgmode@gnu.org; Wed, 06 Jan 2010 06:41:08 -0500 In-Reply-To: <871vi3bm62.fsf@mundaneum.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: =?UTF-8?B?U8OpYmFzdGllbg==?= Vauban Cc: emacs-orgmode@gnu.org At Wed, 06 Jan 2010 10:46:45 +0100, S=C3=A9bastien Vauban wrote: >=20 > Hello all, >=20 > Here a few comments, after my first attempt with the new beamer support -- > excellent, needless to say... Yes, excellent indeed. =20 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 yesterd= ay's > git version. >=20 > The few things I'm tackling right now are: >=20 > - How to get a TOC with a frame title, without having to add it explicitl= y? I think you need to add it explicitly with \tableofcontents? In beamer, I = simply typically have --8<---------------cut here---------------start------------->8--- \begin{frame}=20 \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). >=20 > - How to get "frame breaks", without modifying the resulting TeX file (by > adding a frame option `allowframebreaks' -- similar to the `fragile' > option)? >=20 > - How to get the TOC repeated when changing of section, with the new item > highlighted? See my manual essay=C2=A0;-) 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