[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] ox-beamer and CUSTOM_ID
From: |
Nicolas Goaziou |
Subject: |
Re: [O] ox-beamer and CUSTOM_ID |
Date: |
Thu, 15 Oct 2015 21:48:30 +0200 |
Fabrice Popineau <address@hidden> 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}
>
> \againframe{sec:orgheadline1}
>
> The braces at setup are required by the keyval package which is used to
> parse the options.
> However, the label is called sec:orgheadline1 and not {sec:orgheadline1}.
> But at the moment, ox-beamer outputs :
>
> \againframe{{sec:orgheadline1}}
>
> I fixed it unintentionally by using my own label without colon.
>
> So basically you need this:
>
> diff --git a/vendor/org-mode/lisp/ox-beamer.el
> b/vendor/org-mode/lisp/ox-beamer.el
> index 24dcf19..75b51df 100644
> --- a/vendor/org-mode/lisp/ox-beamer.el
> +++ b/vendor/org-mode/lisp/ox-beamer.el
> @@ -621,7 +623,7 @@ as a communication channel."
> (org-export-resolve-id-link link
> info))))
> ;; Now use user-defined label provided in TARGET
> ;; headline, or fallback to standard one.
> - (format "{%s}" (org-beamer--get-label target
> info)))))))
> + (format "%s" (org-beamer--get-label target info)))))))
> ;; Case 2: Creation of an appendix is requested.
> ((equal environment "appendix")
> (concat "\\appendix"
Thanks for the debugging. Do you want to provide a patch against maint
for this ? Note that your library needs to be updated.
Regards,
- Re: [O] ox-beamer and CUSTOM_ID, (continued)
- Re: [O] ox-beamer and CUSTOM_ID, Fabrice Popineau, 2015/10/13
- Re: [O] ox-beamer and CUSTOM_ID, Nicolas Goaziou, 2015/10/13
- Re: [O] ox-beamer and CUSTOM_ID, Fabrice Popineau, 2015/10/13
- Re: [O] ox-beamer and CUSTOM_ID, Nicolas Goaziou, 2015/10/13
- Re: [O] ox-beamer and CUSTOM_ID, Fabrice Popineau, 2015/10/14
- Re: [O] ox-beamer and CUSTOM_ID, Nicolas Goaziou, 2015/10/15
- Re: [O] ox-beamer and CUSTOM_ID, Fabrice Popineau, 2015/10/14
- Re: [O] ox-beamer and CUSTOM_ID, Nicolas Goaziou, 2015/10/15
- Re: [O] ox-beamer and CUSTOM_ID, Fabrice Popineau, 2015/10/15
- Re: [O] ox-beamer and CUSTOM_ID, Fabrice Popineau, 2015/10/15
- Re: [O] ox-beamer and CUSTOM_ID,
Nicolas Goaziou <=
- Re: [O] ox-beamer and CUSTOM_ID, Fabrice Popineau, 2015/10/15
- Re: [O] ox-beamer and CUSTOM_ID, Nicolas Goaziou, 2015/10/16