0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-09-29 22:47:56 +00:00

ox-beamer: Fix undefined reference with internal links

* lisp/ox-beamer.el (org-beamer-target): Use label macro instead of
  hypertarget.

Moreover, target syntax cannot take advantage of hypertarget's second
parameter.

<http://permalink.gmane.org/gmane.emacs.orgmode/92455>
This commit is contained in:
Nicolas Goaziou 2014-11-06 19:18:34 +01:00
parent 2917bcff35
commit 320381990e

View file

@ -777,7 +777,7 @@ contextual information."
"Transcode a TARGET object into Beamer code.
CONTENTS is nil. INFO is a plist holding contextual
information."
(format "\\hypertarget{%s}{}"
(format "\\label{%s}"
(org-export-solidify-link-text (org-element-property :value target))))