Fabrice Popineau <fabrice.popin...@gmail.com> writes: > 2015-10-13 21:26 GMT+02:00 Nicolas Goaziou <m...@nicolasgoaziou.fr>: > >> 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:
If I try to export this file, I get an error: user-error: Unable to resolve link: "foo" which is to be expected since :CUSTOM_ID: foo doesn't exist. > because if you use CUSTOM_ID in the first frame, the link is not > resolved. It should be. With the following document * Frame 1 :PROPERTIES: :CUSTOM_ID: foo :END: * Frame 2 :PROPERTIES: :BEAMER_env: againframe :BEAMER_ref: #foo :END: I get \begin{document} \begin{frame}[label={sec:orgheadline1}]{Frame 1} \end{frame} \againframe{{sec:orgheadline1}} \end{document} So, I'm still puzzled. > 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 doesn't need to, since CUSTOM_ID will not be used anyway in the final output. Regards,