org-e-beamer: Toggle hypersetup inclusion in template too
* contrib/lisp/org-e-beamer.el (org-e-beamer-template): Toggle hypersetup inclusion in template too.
This commit is contained in:
parent
c1ecc51835
commit
0c9579bb74
|
@ -30,11 +30,11 @@
|
||||||
;; `org-e-beamer-export-to-latex' ("tex" file) and
|
;; `org-e-beamer-export-to-latex' ("tex" file) and
|
||||||
;; `org-e-beamer-export-to-pdf' ("pdf" file).
|
;; `org-e-beamer-export-to-pdf' ("pdf" file).
|
||||||
;;
|
;;
|
||||||
;; On top of buffer keywords supported by `e-latex' back-end (see
|
;; On top of buffer keywords and options items supported by `e-latex'
|
||||||
;; `org-e-latex-options-alist'), this back-end introduces the
|
;; back-end (see `org-e-latex-options-alist'), this back-end
|
||||||
;; following keywords: "BEAMER_THEME", "BEAMER_COLOR_THEME",
|
;; introduces the following keywords: "BEAMER_THEME",
|
||||||
;; "BEAMER_FONT_THEME", "BEAMER_INNER_THEME" and "BEAMER_OUTER_THEME".
|
;; "BEAMER_COLOR_THEME", "BEAMER_FONT_THEME", "BEAMER_INNER_THEME" and
|
||||||
;; All accept options in square brackets.
|
;; "BEAMER_OUTER_THEME". All accept options in square brackets.
|
||||||
;;
|
;;
|
||||||
;; Moreover, headlines now fall into three categories: sectioning
|
;; Moreover, headlines now fall into three categories: sectioning
|
||||||
;; elements, frames and blocks.
|
;; elements, frames and blocks.
|
||||||
|
@ -874,11 +874,12 @@ holding export options."
|
||||||
;; 7. Title
|
;; 7. Title
|
||||||
(format "\\title{%s}\n" title)
|
(format "\\title{%s}\n" title)
|
||||||
;; 8. Hyperref options.
|
;; 8. Hyperref options.
|
||||||
(format "\\hypersetup{\n pdfkeywords={%s},\n pdfsubject={%s},\n pdfcreator={%s}}\n"
|
(when (plist-get info :latex-hyperref-p)
|
||||||
(or (plist-get info :keywords) "")
|
(format "\\hypersetup{\n pdfkeywords={%s},\n pdfsubject={%s},\n pdfcreator={%s}}\n"
|
||||||
(or (plist-get info :description) "")
|
(or (plist-get info :keywords) "")
|
||||||
(if (not (plist-get info :with-creator)) ""
|
(or (plist-get info :description) "")
|
||||||
(plist-get info :creator)))
|
(if (not (plist-get info :with-creator)) ""
|
||||||
|
(plist-get info :creator))))
|
||||||
;; 9. Document start.
|
;; 9. Document start.
|
||||||
"\\begin{document}\n\n"
|
"\\begin{document}\n\n"
|
||||||
;; 10. Title command.
|
;; 10. Title command.
|
||||||
|
|
Loading…
Reference in New Issue