Remove org-reveal--insert-bibliography for it inserts redunduant
bibliography slide.
This commit is contained in:
Yujie Wen 2019-07-29 00:01:06 +08:00
parent 116446013f
commit 8f3874688e
1 changed files with 0 additions and 12 deletions

View File

@ -903,17 +903,6 @@ Extract and set `attr_html' to plain-list tag attributes."
tag
)))
(defun org-reveal--insert-bibliography (&optional ignore)
"Create a slide for the bibliography from org-ref, if it exists"
(if (fboundp 'org-ref-get-html-bibliography)
(progn
;; here we could employ other bibliographic engines
(fset 'bibliography 'org-ref-get-html-bibliography)
(when (funcall 'bibliography)
(concat "<section>"
(funcall 'bibliography)
"</section>")))))
(defun org-reveal--build-pre/postamble (type info)
"Return document preamble or postamble as a string, or nil."
(let ((section (plist-get info (intern (format ":reveal-%s" type))))
@ -1132,7 +1121,6 @@ info is a plist holding export options."
(when footer (format "<div class=\"slide-footer\">%s</div>\n" footer))))
"</section>\n"))))
contents
(org-reveal--insert-bibliography)
"</div>
</div>\n"
(org-reveal--build-pre/postamble 'postamble info)