forked from mirrors/org-mode
ox-beamer: Fix target export
* lisp/ox-beamer.el (beamer): Let "latex" export-back-end handle targets.
This commit is contained in:
parent
1c95729788
commit
b5cebbc412
|
@ -260,7 +260,6 @@ Return overlay specification, as a string, or nil."
|
||||||
(link . org-beamer-link)
|
(link . org-beamer-link)
|
||||||
(plain-list . org-beamer-plain-list)
|
(plain-list . org-beamer-plain-list)
|
||||||
(radio-target . org-beamer-radio-target)
|
(radio-target . org-beamer-radio-target)
|
||||||
(target . org-beamer-target)
|
|
||||||
(template . org-beamer-template)))
|
(template . org-beamer-template)))
|
||||||
|
|
||||||
|
|
||||||
|
@ -780,15 +779,6 @@ contextual information."
|
||||||
text))
|
text))
|
||||||
|
|
||||||
|
|
||||||
;;;; Target
|
|
||||||
|
|
||||||
(defun org-beamer-target (target _contents info)
|
|
||||||
"Transcode a TARGET object into Beamer code.
|
|
||||||
CONTENTS is nil. INFO is a plist holding contextual
|
|
||||||
information."
|
|
||||||
(format "\\label{%s}" (org-export-get-reference target info)))
|
|
||||||
|
|
||||||
|
|
||||||
;;;; Template
|
;;;; Template
|
||||||
;;
|
;;
|
||||||
;; Template used is similar to the one used in `latex' back-end,
|
;; Template used is similar to the one used in `latex' back-end,
|
||||||
|
|
Loading…
Reference in a new issue