2

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.

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 acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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