4

I want to extract the title of a bibtex entry by using a convenient org-ref function. Is there a way? How?

Im using org-ref with org-mode in spacemacs.

1 Answer 1

2

Here's a basic function to look up the entry and title based on the citation at point (bibtex-completion is a dependency of org-ref):

(defun my/print-reference-title ()
  "Print the title to the reference at point in the minibuffer."
  (interactive)
  (message
   (assoc-default "title"
                  (bibtex-completion-get-entry
                   (org-ref-get-bibtex-key-under-cursor)))))

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.