Function: org-cite-biblatex-list-styles

org-cite-biblatex-list-styles is a byte-compiled function defined in oc-biblatex.el.gz.

Signature

(org-cite-biblatex-list-styles)

Documentation

List styles and variants supported in biblatex citation processor.

The output format is appropriate as a value for :cite-styles keyword in org-cite-register-processor, which see.

Source Code

;; Defined in /usr/src/emacs/lisp/org/oc-biblatex.el.gz
(defun org-cite-biblatex-list-styles ()
  "List styles and variants supported in `biblatex' citation processor.
The output format is appropriate as a value for `:cite-styles' keyword
in `org-cite-register-processor', which see."
  (let ((shortcuts (make-hash-table :test #'equal))
        (variants (make-hash-table :test #'equal)))
    (pcase-dolist (`(,name . ,full-name) org-cite-biblatex-style-shortcuts)
      (push name (gethash full-name shortcuts)))
    (pcase-dolist (`(,name ,variant . ,_) org-cite-biblatex-styles)
      (unless (null variant) (push variant (gethash name variants))))
    (map-apply (lambda (style-name variants)
                 (cons (cons (or style-name "nil")
                             (gethash style-name shortcuts))
                       (mapcar (lambda (v)
                                 (cons v (gethash v shortcuts)))
                               variants)))
               variants)))