forked from mirrors/org-mode
ox-beamer: Wrap labels in braces
* ox-beamer.el (org-beamer--get-label): Wrap labels in braces. The colon in the label name causes an argument parsing problem, for more see <http://tex.stackexchange.com/q/250640/4416>.
This commit is contained in:
parent
aea374680c
commit
2cddb905a4
|
@ -337,7 +337,7 @@ function assumes HEADLINE will be treated as a frame."
|
||||||
(if (and (stringp opt)
|
(if (and (stringp opt)
|
||||||
(string-match "\\(?:^\\|,\\)label=\\(.*?\\)\\(?:$\\|,\\)" opt))
|
(string-match "\\(?:^\\|,\\)label=\\(.*?\\)\\(?:$\\|,\\)" opt))
|
||||||
(match-string 1 opt)
|
(match-string 1 opt)
|
||||||
(concat "sec:" (org-export-get-reference headline info)))))
|
(format "{sec:%s}" (org-export-get-reference headline info)))))
|
||||||
|
|
||||||
(defun org-beamer--frame-level (headline info)
|
(defun org-beamer--frame-level (headline info)
|
||||||
"Return frame level in subtree containing HEADLINE.
|
"Return frame level in subtree containing HEADLINE.
|
||||||
|
|
Loading…
Reference in a new issue