Function: org-element-citation-interpreter
org-element-citation-interpreter is a byte-compiled function defined
in org-element.el.gz.
Signature
(org-element-citation-interpreter CITATION CONTENTS)
Documentation
Interpret CITATION object as Org syntax.
CONTENTS is the contents of the object, as a string.
Source Code
;; Defined in /usr/src/emacs/lisp/org/org-element.el.gz
(defun org-element-citation-interpreter (citation contents)
"Interpret CITATION object as Org syntax.
CONTENTS is the contents of the object, as a string."
(let ((prefix (org-element-property :prefix citation))
(suffix (org-element-property :suffix citation))
(style (org-element-property :style citation)))
(concat "[cite"
(and style (concat "/" style))
":"
(and prefix (concat (org-element-interpret-data prefix) ";"))
(if suffix
(concat contents (org-element-interpret-data suffix))
;; Remove spurious semicolon.
(substring contents nil -1))
"]")))