From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Beamer onlyenv Date: Tue, 04 Sep 2012 09:35:02 +0200 Message-ID: <87bohmb5qx.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:38385) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8nit-0006bN-Qj for emacs-orgmode@gnu.org; Tue, 04 Sep 2012 03:39:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T8nis-0004YD-NP for emacs-orgmode@gnu.org; Tue, 04 Sep 2012 03:38:59 -0400 Received: from mail-wg0-f49.google.com ([74.125.82.49]:47800) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8nis-0004Y7-Fs for emacs-orgmode@gnu.org; Tue, 04 Sep 2012 03:38:58 -0400 Received: by wgbdt14 with SMTP id dt14so3966020wgb.30 for ; Tue, 04 Sep 2012 00:38:57 -0700 (PDT) In-Reply-To: (Avdi Grimm's message of "Sun, 26 Aug 2012 14:45:12 -0400") 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: Avdi Grimm Cc: emacs-orgmode Org-Mode Hello, Avdi Grimm writes: > I have a lot of slides where I want to incrementally show arbitrary > information or code that is *not* part of a bullet list. I've been doing it > like this: > > #+BEAMER: \begin{onlyenv}<2-> > ...some content... > #+BEAMER: \end{onlyenv} > > I haven't been able to find any comprehensive org-beamer docs, and I've > been wondering: is there a nicer way to do this using org's beamer > support? Using new back-end (and probably the old one, /mutatis mutandis/), you can use something like: (add-to-list 'org-e-beamer-environments-extra '("onlyenv" "O" "\\begin{onlyenv}%a" "\\end{onlyenv}")) You can then add an headline above your information and set its properties "BEAMER_env" and "BEAMER_act" to, respectively, "onlyenv" and "2-". You can set easily the first one with C-c C-b when `org-e-beamer-mode' is active. I am thinking about providing this feature with "ignoreheading" environments. I.e., --8<---------------cut here---------------start------------->8--- * Text B_ignoreheading: :PROPERTIES: :BEAMER_env: ignoreheading :BEAMER_act: 2- :END: contents --8<---------------cut here---------------end--------------->8--- would provide \begin<2->{onlyenv} contents \end{onlyenv} Though, I'm not sure about which environment to use in this case: "onlyenv", "visibleenv", another one. Any comment about this? Regards, -- Nicolas Goaziou