Function: org-cite-csl--output-format

org-cite-csl--output-format is a byte-compiled function defined in oc-csl.el.gz.

Signature

(org-cite-csl--output-format INFO)

Documentation

Return expected Citeproc's output format.

INFO is the export state, as a property list. The return value is a symbol corresponding to one of the output formats supported by Citeproc: html, latex, or org.

Source Code

;; Defined in /usr/src/emacs/lisp/org/oc-csl.el.gz
(defun org-cite-csl--output-format (info)
  "Return expected Citeproc's output format.
INFO is the export state, as a property list.  The return value is a symbol
corresponding to one of the output formats supported by Citeproc: `html',
`latex', or `org'."
  (let ((backend (plist-get info :back-end)))
    (cond
     ((org-export-derived-backend-p backend 'html) 'html)
     ((org-export-derived-backend-p backend 'latex) 'latex)
     (t 'org))))