ox-beamer: Fix hyperref bug

* ox-beamer.el (org-beamer-template): Typeset hyperref as in
  ox-latex.
This commit is contained in:
Rasmus 2015-03-13 21:55:21 +01:00
parent cf4145db02
commit a566f2865d
1 changed files with 3 additions and 6 deletions

View File

@ -870,12 +870,9 @@ holding export options."
(when beamer-header
(format "%s\n" (plist-get info :beamer-header))))
;; 9. Hyperref options.
(when (plist-get info :latex-hyperref-p)
(format "\\hypersetup{\n pdfkeywords={%s},\n pdfsubject={%s},\n pdfcreator={%s}}\n"
(or (plist-get info :keywords) "")
(or (plist-get info :description) "")
(if (not (plist-get info :with-creator)) ""
(plist-get info :creator))))
(let ((template (plist-get info :latex-hyperref-template)))
(and (stringp template)
(format-spec template (org-latex--format-spec info))))
;; 10. Document start.
"\\begin{document}\n\n"
;; 11. Title command.