From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: New beamer support Date: Wed, 6 Jan 2010 14:25:22 +0100 Message-ID: References: <871vi3bm62.fsf@mundaneum.com> <87eim3zckf.wl%ucecesf@ucl.ac.uk> <87hbqzo05z.fsf@mundaneum.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NSVtE-0005tV-CL for emacs-orgmode@gnu.org; Wed, 06 Jan 2010 08:25:32 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NSVt9-0005pe-CY for emacs-orgmode@gnu.org; Wed, 06 Jan 2010 08:25:31 -0500 Received: from [199.232.76.173] (port=45062 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NSVt8-0005pV-St for emacs-orgmode@gnu.org; Wed, 06 Jan 2010 08:25:27 -0500 Received: from mail-ew0-f224.google.com ([209.85.219.224]:37571) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NSVt8-0001OO-6S for emacs-orgmode@gnu.org; Wed, 06 Jan 2010 08:25:26 -0500 Received: by ewy24 with SMTP id 24so20362085ewy.26 for ; Wed, 06 Jan 2010 05:25:24 -0800 (PST) In-Reply-To: <87hbqzo05z.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: =?ISO-8859-1?Q?S=E9bastien_Vauban?= Cc: emacs-orgmode@gnu.org Hi Sebastien, there is now a new option org-beamer-frame-default-options, and the =20 automatically generated to will be wrapped into a frame with title. - Carsten On Jan 6, 2010, at 2:03 PM, S=E9bastien Vauban wrote: > Hi Eric, Christian, Carsten and all, > > Eric S Fraga wrote: >> At Wed, 06 Jan 2010 10:46:45 +0100, S=E9bastien Vauban wrote: >>> >>> The few things I'm tackling right now are: >>> >>> - How to get a TOC with a frame title, without having to add it =20 >>> explicitly? >> >> I think you need to add it explicitly with \tableofcontents? In =20 >> beamer, I >> simply typically have >> >> \begin{frame} >> \frametitle{Table of contents} >> \tableofcontents >> \end{frame} > > I guess I wasn't clear... > > If I use the option `toc' for the export: > > --8<---------------cut here---------------start------------->8--- > #+OPTIONS: toc:t > --8<---------------cut here---------------end--------------->8--- > > then I get a slide with the table of contents. Automatically. The only > "criticism" I did is that there was no title to the generated frame. > > Hence, the workaround was setting the `toc' option to `nil' and =20 > adding such a > code by myself: > > --8<---------------cut here---------------start------------->8--- > #+BEAMER: \frame{\frametitle{Outline}\tableofcontents} > --8<---------------cut here---------------end--------------->8--- > > But better (IMHO) would be that such a code gets inserted =20 > automatically (with > a frame title set, for example, to `Outline') when the `toc' export =20= > option is > set to `t', and when we're in a beamer class. > > Is it better expressed? > > >>> - How to get the TOC repeated when changing of section, with the =20 >>> new item >>> highlighted? See my manual essay ;-) >> >> Again, beamer supports this easily so I would suggest simply adding =20= >> some >> direct latex code at the start of your org file. The latex code I =20 >> use is: >> >> \AtBeginSection[] >> { >> \begin{frame} >> \frametitle{Topic} >> \tableofcontents[currentsection] >> \end{frame} >> } >> >> You could simply put this in one line with #+latex_header: as in =20 >> (untested): >> >> #+latex_header: \AtBeginSection[]{ \begin{frame} =20 >> \frametitle{Topic} \tableofcontents[currentsection] \end{frame}} > > Better is: > > --8<---------------cut here---------------start------------->8--- > #+BEGIN_BEAMER > \AtBeginSection[] % Do nothing for \section* > { > \begin{frame} > \frametitle{Outline} > \tableofcontents[currentsection] > \end{frame} > } > #+END_BEAMER > --8<---------------cut here---------------end--------------->8--- > > Thanks Eric and Christian for your input on this! > > Best regards, > Seb > > --=20 > S=E9bastien Vauban > > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten