From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabrice Popineau Subject: Re: ox-beamer and CUSTOM_ID Date: Tue, 13 Oct 2015 21:38:48 +0200 Message-ID: References: <87pp0izi1f.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b471cb46bc0850522019918 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49522) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zm5Ph-0001Tl-Il for emacs-orgmode@gnu.org; Tue, 13 Oct 2015 15:39:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zm5Pg-0001bz-Kt for emacs-orgmode@gnu.org; Tue, 13 Oct 2015 15:39:09 -0400 Received: from mail-ob0-x232.google.com ([2607:f8b0:4003:c01::232]:36396) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zm5Pg-0001bn-CN for emacs-orgmode@gnu.org; Tue, 13 Oct 2015 15:39:08 -0400 Received: by obbrx8 with SMTP id rx8so22448593obb.3 for ; Tue, 13 Oct 2015 12:39:07 -0700 (PDT) In-Reply-To: <87pp0izi1f.fsf@nicolasgoaziou.fr> 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 , "emacs-orgmode@gnu.org" --047d7b471cb46bc0850522019918 Content-Type: text/plain; charset=UTF-8 2015-10-13 21:26 GMT+02:00 Nicolas Goaziou : > Hello, > > I don't understand the issue. BEAMER_REF: #foo generates the same > internal reference as :CUSTOM_ID: foo, doesn't it? > > My point is that you need to set : * Frame 1 :PROPERTIES: :BEAMER_OPT: label=foo :END: * Frame 2 :PROPERTIES: :BEAMER_env: againframe :BEAMER_ref: #foo :END: because if you use CUSTOM_ID in the first frame, the link is not resolved. The code at stake is : ox-beamer:org-beamer-headline which calls ox-beamer:org-beamer--get-label at line 624 Clearly, org-beamer--get-label doesn't make use of CUSTOM_ID. It is a bit strange to have to use another way to set custom labels than a CUSTOM_ID property. Regards, Fabrice --047d7b471cb46bc0850522019918 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


2015-10-13 21:26 GMT+02:00 Nicolas Goaziou <mail@nicolasgoaziou.f= r>:
Hello,

I don't understand the issue. BEAMER_REF: #foo generates the sam= e
internal reference as :CUSTOM_ID: foo, doesn't it?

=

My point is that you need to set :

=
* Frame 1
:PROPERTIES:
:BEAMER_OPT: label=3Dfoo
:END:
=C2=A0
* Frame 2
:PROPERTI= ES:
:BEAMER_env: againframe
:BEAMER_ref: #foo
:END:

because if you use CUSTOM_ID in t= he first frame, the link is not resolved.
The code at stake is :<= /div>
ox-beamer:org-beamer-headline which calls ox-beamer:org-beamer--g= et-label at line 624

Clearly, org-beamer--get-labe= l doesn't make use of CUSTOM_ID.

It is a bit s= trange to have to use another way to set custom labels than a CUSTOM_ID pro= perty.

Regards,

Fabrice

--047d7b471cb46bc0850522019918--