Function: org-cite-basic-export-bibliography

org-cite-basic-export-bibliography is a byte-compiled function defined in oc-basic.el.gz.

Signature

(org-cite-basic-export-bibliography KEYS FILES STYLE PROPS BACKEND INFO)

Documentation

Generate bibliography.

KEYS is the list of cited keys, as strings. STYLE is the expected bibliography style, as a string. BACKEND is the export backend, as a symbol. INFO is the export state, as a property list.

Source Code

;; Defined in /usr/src/emacs/lisp/org/oc-basic.el.gz
(defun org-cite-basic-export-bibliography (keys _files style _props backend info)
  "Generate bibliography.
KEYS is the list of cited keys, as strings.  STYLE is the expected bibliography
style, as a string.  BACKEND is the export backend, as a symbol.  INFO is the
export state, as a property list."
  (mapconcat
   (lambda (entry)
     (org-export-data
      (org-cite-make-paragraph
       (and (org-export-derived-backend-p backend 'latex)
            (org-export-raw-string "\\noindent\n"))
       (org-cite-basic--print-entry entry style info))
      info))
   (delq nil
         (mapcar
          (lambda (k) (org-cite-basic--get-entry k info))
          (org-cite-basic--sort-keys keys info)))
   "\n"))