Function: org-bbdb-export

org-bbdb-export is a byte-compiled function defined in ol-bbdb.el.gz.

Signature

(org-bbdb-export PATH DESC FORMAT _)

Documentation

Create the export version of a BBDB link specified by PATH or DESC.

If exporting to either HTML or LaTeX FORMAT the link will be italicized, in all other cases it is left unchanged.

Source Code

;; Defined in /usr/src/emacs/lisp/org/ol-bbdb.el.gz
(defun org-bbdb-export (path desc format _)
  "Create the export version of a BBDB link specified by PATH or DESC.
If exporting to either HTML or LaTeX FORMAT the link will be
italicized, in all other cases it is left unchanged."
  (when (string= desc (format "bbdb:%s" path))
    (setq desc path))
  (cond
   ((eq format 'html) (format "<i>%s</i>" desc))
   ((eq format 'latex) (format "\\textit{%s}" desc))
   ((eq format 'odt)
    (format "<text:span text:style-name=\"Emphasis\">%s</text:span>" desc))
   (t desc)))