From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Labels in beamer new exporter Date: Tue, 04 Sep 2012 09:51:56 +0200 Message-ID: <87a9x6b4yr.fsf@gmail.com> References: <87ipbub8a5.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:41176) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8nzL-0001t2-Ts for emacs-orgmode@gnu.org; Tue, 04 Sep 2012 03:56:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T8nzF-0001ZM-Vw for emacs-orgmode@gnu.org; Tue, 04 Sep 2012 03:55:59 -0400 Received: from mail-wg0-f49.google.com ([74.125.82.49]:60456) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8nzF-0001ZA-PZ for emacs-orgmode@gnu.org; Tue, 04 Sep 2012 03:55:53 -0400 Received: by wgbdt14 with SMTP id dt14so3974200wgb.30 for ; Tue, 04 Sep 2012 00:55:53 -0700 (PDT) In-Reply-To: (Fabrice Popineau's message of "Tue, 4 Sep 2012 09:16:58 +0200") 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: Fabrice Popineau Cc: emacs-orgmode@gnu.org Fabrice Popineau writes: > Well, thanks for this It solves an easy case that has already asked for in > the past. > Now I can do : > > * section > ** My frame title :B_frame: > :PROPERTIES: > :BEAMER_opt: label=tcs > :BEAMER_env: frame > :END: > > Some text. Some text. Some text. Some text. > Some text. Some text. Some text. Some text. > > * section :B_ignoreheading: > #+BEAMER: \againframe<2>{tcs} > > ** Following frame > etc. > > Not as clean as we might want it, but it is working ok. I had to add an > "invisible" section > else the againframe is not exported between frames, but inside the > preceding frame. Interesting. What about providing an "againframe" environment (on par with "appendix", "note", etc.)? It would use "BEAMER_act" property to set the overlay specification, and a "BEAMER_ref" property using link syntax to refer to a particular section. Here's an example: --8<---------------cut here---------------start------------->8--- * section ** My frame title :B_frame: :PROPERTIES: :BEAMER_env: frame :END: Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. ** section :B_againframe: :PROPERTIES: :BEAMER_env: againframe :BEAMER_act: 2 :BEAMER_ref: *My frame title :END: This section will create "\againframe<2>{sec-1-2}". ** Following frame etc. --8<---------------cut here---------------end--------------->8--- This is not really cleaner than your workaround, but at least, it feels more integrated. Another advantage is that you don't need to know the label of the frame being resumed. For convenience, when asking for an "againframe", `org-e-beamer-select-environment' would always ask for "act" and "ref" properties, since those are mandatory anyway. I don't mind implementing this, but I'm not sure it's worth the (although limited) hassle. -- Nicolas Goaziou