From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: ox-beamer.el tableofcontents, a suggestion Date: Wed, 2 Mar 2016 13:42:32 +0000 Message-ID: <87k2lluhbr.fsf@pinto.chemeng.ucl.ac.uk> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50639) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ab733-0006WE-90 for emacs-orgmode@gnu.org; Wed, 02 Mar 2016 08:42:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ab72z-0006k8-5f for emacs-orgmode@gnu.org; Wed, 02 Mar 2016 08:42:41 -0500 Received: from mail-db3on0126.outbound.protection.outlook.com ([157.55.234.126]:8053 helo=emea01-db3-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ab72y-0006jO-U9 for emacs-orgmode@gnu.org; Wed, 02 Mar 2016 08:42:37 -0500 In-Reply-To: (Joseph Vidal-Rosset's message of "Wed, 2 Mar 2016 14:29:33 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Joseph Vidal-Rosset Cc: "Liste-emacs-orgmode@gnu.org" On Wednesday, 2 Mar 2016 at 14:29, Joseph Vidal-Rosset wrote: > Of course it would be better to add this function as new option and to > avoid this change of code. I do not know how to do. I find it reasonably straightforward to simply add the following line to my beamer org files: #+latex_header: \AtBeginSection[]{\begin{frame}\frametitle{Topic}\tableofcontents[currentsection,hideothersubsections]\end{frame}} so no need to play with the elisp code... -- : Eric S Fraga (0xFFFCF67D), Emacs 25.0.91.1, Org release_8.3.3-456-g164555