[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: |
Fri, 16 Oct 2015 22:59:37 +0200 |
Fabrice Popineau <address@hidden> 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-mode/lisp/ox-beamer.el
> +++ b/vendor/org-mode/lisp/ox-beamer.el
> @@ -335,11 +335,11 @@ property, or a fallback value built from headline's
> number. This
> function assumes HEADLINE will be treated as a frame."
> (let ((opt (org-element-property :BEAMER_OPT headline)))
> (if (and (stringp opt)
> - (string-match "\\(?:^\\|,\\)label=\\(.*?\\)\\(?:$\\|,\\)" opt))
> + (string-match "\\(?:^\\|,\\)label={?\\(.*?\\)}?\\(?:$\\|,\\)"
It would remove un-balanced curly brackets, which may or may not be
a good idea.
I took the liberty to apply a patch based off yours on maint. Hopefully,
the issue should be solved.
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/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, 2015/10/15
- Re: [O] ox-beamer and CUSTOM_ID, Fabrice Popineau, 2015/10/15
- Re: [O] ox-beamer and CUSTOM_ID,
Nicolas Goaziou <=