From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: [PATCH] [Beamer export] Example should better export to exampleblock environment Date: Sat, 28 Jan 2012 15:59:47 +0100 Message-ID: <87fwezzxcs.fsf@gnu.org> References: <5DA02851-DED2-4906-BAA2-A3AB0A5E61AF@beds.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:39601) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rr9jh-0005ZB-Nr for emacs-orgmode@gnu.org; Sat, 28 Jan 2012 09:58:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rr9jf-0007EX-Hn for emacs-orgmode@gnu.org; Sat, 28 Jan 2012 09:58:37 -0500 Received: from mail-wi0-f169.google.com ([209.85.212.169]:52493) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rr9jf-0007ET-9z for emacs-orgmode@gnu.org; Sat, 28 Jan 2012 09:58:35 -0500 Received: by wibhj13 with SMTP id hj13so2716389wib.0 for ; Sat, 28 Jan 2012 06:58:34 -0800 (PST) In-Reply-To: <5DA02851-DED2-4906-BAA2-A3AB0A5E61AF@beds.ac.uk> (Torsten Anders's message of "Sat, 28 Jan 2012 12:57:36 +0000") 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: Torsten Anders Cc: emacs-orgmode@gnu.org Hi Thorsten, Torsten Anders writes: > It is great that org mode makes creating Beamer slides so easy! I would > like to include some green example blocks in my slides (e.g., for exercises > for my students), and I can turn an org headline and its "content" into an > example block by just pressing C-c C-b e -- very nice. > > Now, my problem is that Org mode exports this as a Beamer example > environment, instead of an exampleblock environment. The difference is that > the exampleblock environment is just a green block that otherwise behaves > like the standard Beamer blocks (in particular, users have full control > over its title), while an example environment always adds something to the > title like this: Example (ACTUAL TITLE). Such behaviour may be useful in > special cases, but the exampleblocks are more flexible and should therefore > at least be supported as an alternative option, but likely being the > default export option. > > Attached to this message there is a simple patch that adds support for > exampleblocks (short cut C-c C-b E) by keeping everything else as it > is. Applied, thanks. As for whether using `exampleblock' should be the default rather than `example', people like Eric S Fraga (or other beamer gurus) would have a better advice than mine. Eric? Thanks! -- Bastien