Re: [O] ox-beamer and CUSTOM_ID

2015-10-16 Thread Nicolas Goaziou
Fabrice Popineau writes: > My small patch worked only for labels with colon. > With more extensive testing, I can propose this one against maint : Thank you > diff --git a/vendor/org-mode/lisp/ox-beamer.el > b/vendor/org-mode/lisp/ox-beamer.el > index 73d8a76..ee4f0d7 100644 > --- a/vendor/org-

Re: [O] ox-beamer and CUSTOM_ID

2015-10-15 Thread Fabrice Popineau
My small patch worked only for labels with colon. With more extensive testing, I can propose this one against maint : diff --git a/vendor/org-mode/lisp/ox-beamer.el b/vendor/org-mode/lisp/ox-beamer.el index 73d8a76..ee4f0d7 100644 --- a/vendor/org-mode/lisp/ox-beamer.el +++ b/vendor/org-mode/lisp/

Re: [O] ox-beamer and CUSTOM_ID

2015-10-15 Thread Nicolas Goaziou
Fabrice Popineau writes: > Oh! I got it. > > The problem is that beamer expects braces around a label with colon when > you setup the label > but *not when you ref it* : > > \begin{frame}[label={sec:orgheadline1}]{Frame 1} > bla bla bla bla bla bla bla bla bla bla bla bla > \end{frame} > > \again

Re: [O] ox-beamer and CUSTOM_ID

2015-10-15 Thread Fabrice Popineau
2015-10-15 18:54 GMT+02:00 Fabrice Popineau : > > > 2015-10-15 10:37 GMT+02:00 Nicolas Goaziou : > >> Fabrice Popineau writes: >> >> > At some point LaTeX reported an error on some frame heading. >> > I wrongly inferred it could be the label. >> >> It would be nice to investigate about this error

Re: [O] ox-beamer and CUSTOM_ID

2015-10-15 Thread Fabrice Popineau
2015-10-15 10:37 GMT+02:00 Nicolas Goaziou : > Fabrice Popineau writes: > > > At some point LaTeX reported an error on some frame heading. > > I wrongly inferred it could be the label. > > It would be nice to investigate about this error, it it persists. > > Beamer is very bad at reporting errors

Re: [O] ox-beamer and CUSTOM_ID

2015-10-15 Thread Nicolas Goaziou
Fabrice Popineau writes: > At some point LaTeX reported an error on some frame heading. > I wrongly inferred it could be the label. It would be nice to investigate about this error, it it persists. > I tried to force my own one and I was surprised CUSTOM_ID was not honoured > as it is in other

Re: [O] ox-beamer and CUSTOM_ID

2015-10-14 Thread Fabrice Popineau
2015-10-14 13:57 GMT+02:00 Nicolas Goaziou : > Fabrice Popineau writes: > > > 2015-10-14 0:18 GMT+02:00 Nicolas Goaziou : > > I'm not opposed to something like it, but it is no longer related to > againframe problem, isn't it? > > Sure. I came to the problem because of againframe. > Out of curi

Re: [O] ox-beamer and CUSTOM_ID

2015-10-14 Thread Nicolas Goaziou
Fabrice Popineau writes: > 2015-10-14 0:18 GMT+02:00 Nicolas Goaziou : > >> Fabrice Popineau writes: >> >> > This is a pity. Things would be more straightforward. >> >> Straightforward for what? Use againframes? Or force label? >> >> > Force label. Having to explicitly state it twice : > > * F

Re: [O] ox-beamer and CUSTOM_ID

2015-10-14 Thread Fabrice Popineau
2015-10-14 0:18 GMT+02:00 Nicolas Goaziou : > Fabrice Popineau writes: > > > This is a pity. Things would be more straightforward. > > Straightforward for what? Use againframes? Or force label? > > Force label. Having to explicitly state it twice : * Frame 1 :PROPERTIES: :CUSTOM_ID: foo

Re: [O] ox-beamer and CUSTOM_ID

2015-10-13 Thread Nicolas Goaziou
Fabrice Popineau writes: > This is a pity. Things would be more straightforward. Straightforward for what? Use againframes? Or force label? Regards,

Re: [O] ox-beamer and CUSTOM_ID

2015-10-13 Thread Fabrice Popineau
2015-10-13 22:52 GMT+02:00 Nicolas Goaziou : > Fabrice Popineau writes: > > > This time , I'm the one who is puzzled: > > what is the point in naming the link "foo" and getting sec:orgheadline1 > > instead? :-) > > > > If you add :BEAMER_OPT: label=foo > > to the properties of the first frame, th

Re: [O] ox-beamer and CUSTOM_ID

2015-10-13 Thread Nicolas Goaziou
Fabrice Popineau writes: > This time , I'm the one who is puzzled: > what is the point in naming the link "foo" and getting sec:orgheadline1 > instead? :-) > > If you add :BEAMER_OPT: label=foo > to the properties of the first frame, then you get the foo label. > But that doesn't seem very obviou

Re: [O] ox-beamer and CUSTOM_ID

2015-10-13 Thread Fabrice Popineau
2015-10-13 21:50 GMT+02:00 Nicolas Goaziou : > Fabrice Popineau writes: > > > 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

Re: [O] ox-beamer and CUSTOM_ID

2015-10-13 Thread Nicolas Goaziou
Fabrice Popineau writes: > 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:

Re: [O] ox-beamer and CUSTOM_ID

2015-10-13 Thread Fabrice Popineau
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: :BEAM

Re: [O] ox-beamer and CUSTOM_ID

2015-10-13 Thread Nicolas Goaziou
Hello, Fabrice Popineau writes: > Something I don't understand in ox-beamer. > I wanted to use the againframe feature. > > I setup a CUSTOM_ID to foo on the first frame. > > I use #foo as a BEAMER_REF in the againframe. > > But ox-beamer insists in using its own generated label to refer to the >

[O] ox-beamer and CUSTOM_ID

2015-10-13 Thread Fabrice Popineau
Hi, Something I don't understand in ox-beamer. I wanted to use the againframe feature. I setup a CUSTOM_ID to foo on the first frame. I use #foo as a BEAMER_REF in the againframe. But ox-beamer insists in using its own generated label to refer to the frame. I trace it to org-beamer--get-label w