Function: org-cite-csl-render-bibliography
org-cite-csl-render-bibliography is a byte-compiled function defined
in oc-csl.el.gz.
Signature
(org-cite-csl-render-bibliography KEYS FILES STYLE PROPS BACKEND INFO)
Documentation
Export bibliography.
INFO is the export state, as a property list.
Source Code
;; Defined in /usr/src/emacs/lisp/org/oc-csl.el.gz
(defun org-cite-csl-render-bibliography (_keys _files _style props _backend info)
"Export bibliography.
INFO is the export state, as a property list."
(org-require-package 'citeproc)
(let* ((format (org-cite-csl--output-format info))
(outputs (car (org-cite-csl--rendered-bibliographies info)))
(output (cdr (assoc props outputs))))
(pcase format
('html
(unless (plist-get info :html-head-csl-styles-added)
(if-let* ((head-part (org-cite-csl--generate-html-head info)))
(plist-put info :html-head
(concat (plist-get info :html-head) head-part)))
(plist-put info :html-head-csl-styles-added t))
output)
('org-latex output)
(_
;; Parse Org output to re-export it during the regular export process.
(org-cite-parse-elements output)))))