From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabrice Popineau Subject: Re: Labels in beamer new exporter Date: Tue, 4 Sep 2012 09:16:58 +0200 Message-ID: References: <87ipbub8a5.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=e89a8f6474fd7009c804c8db0c68 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:51107) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8nO4-00085E-C1 for emacs-orgmode@gnu.org; Tue, 04 Sep 2012 03:17:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T8nNx-0006pv-CS for emacs-orgmode@gnu.org; Tue, 04 Sep 2012 03:17:28 -0400 Received: from mail-wi0-f177.google.com ([209.85.212.177]:55510) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8nNx-0006pq-30 for emacs-orgmode@gnu.org; Tue, 04 Sep 2012 03:17:21 -0400 Received: by wibhn17 with SMTP id hn17so3559188wib.12 for ; Tue, 04 Sep 2012 00:17:19 -0700 (PDT) In-Reply-To: <87ipbub8a5.fsf@gmail.com> 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: Nicolas Goaziou Cc: emacs-orgmode@gnu.org --e89a8f6474fd7009c804c8db0c68 Content-Type: text/plain; charset=ISO-8859-1 > > > Unfortunately, the new latex/beamer exporter does not seem to check that > > the user may have wanted to put his/her > > own label on a frame and it adds its own label to the user defined one. > > It is not that difficult to patch org-e-beamer--format-frame to avoid > > adding label when the user provides its own, but is it > > the right thing to do ? > > Considering the remark above, I'm don't think that's the best way to > handle the problem. On the other hand, "label" is an option and should > be treated as such (that is, an user should be able to provide its own > value for it). It is implemented now. > 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. I don't think it was possible before. I think it may prove useful to be able to chose the label for the frame. -- Fabrice --e89a8f6474fd7009c804c8db0c68 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
> Unfortunately, the new latex/beamer exporter does not seem to check t= hat
> the user may have wanted to put his/her
> own label on a frame and it adds its own label to the user defined one= .
> It is not that difficult to patch org-e-beamer--format-frame to avoid<= br> > adding label when the user provides its own, but is it
> the right thing to do ?

Considering the remark above, I'm don't think that's the = best way to
handle the problem. On the other hand, "label" is an option and s= hould
be treated as such (that is, an user should be able to provide its own
value for it). It is implemented now.

W= ell, thanks for this It solves an easy case that has already asked for in t= he past.
Now I can do :=A0

* secti= on
** My frame title =A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 :B_frame:
:PROPERTIES: :BEAMER_opt: label=3D= tcs
:BEAMER_env: frame
:END:=A0
<= br>
Some text. Some text.=A0 Some text. Some text.=A0
Some text. Some text.=A0 Some text. Some text.=A0

* section =A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 :B_ign= oreheading:
#+BEAMER: \againframe<2>{tcs}

** Following frame
etc.

Not as clean as we might want it, but it is w= orking ok. I had to add an "invisible" section
else the= againframe is not exported between frames, but inside the preceding frame.=

I don't think it was possible before.
I t= hink it may prove useful to be able to chose the label for the frame.
=

--
Fabrice

--e89a8f6474fd7009c804c8db0c68--