"footcites" "footcitetexts"
"smartcites" "Smartcites" "textcites" "Textcites"
"supercites" "autocites" "Autocites"
+ ;; for the bibentry package
+ "bibentry"
)
"List of citation types known in org-ref"
:type '(repeat :tag "List of citation types" string)
((eq format 'ascii) (org-ref-get-ascii-bibliography))
((eq format 'html) (org-ref-get-html-bibliography))
((eq format 'latex)
- ;; write out the latex bibliography command
- (format "\\bibliography{%s}" (replace-regexp-in-string "\\.bib" "" (expand-file-name keyword)))))))
+ ;; write out the latex bibliography command
+ (format "\\bibliography{%s}" (replace-regexp-in-string "\\.bib" "" (mapconcat 'identity
+ (mapcar 'expand-file-name
+ (split-string keyword ","))
+ ",")))))))
+
#+END_SRC
#+BEGIN_SRC emacs-lisp :tangle org-ref.el
;; we did not find anything, so go back to where we came
(org-mark-ring-goto)
(error "%s not found" label))
+ (org-show-entry)
(message "go back with (org-mark-ring-goto) `C-c &`"))
;formatting
(lambda (keyword desc format)
(defalias 'orp 'org-ref-open-pdf-at-point)
(defalias 'oru 'org-ref-open-url-at-point)
(defalias 'orn 'org-ref-open-notes-at-point)
+(defalias 'ornr 'org-ref-open-notes-from-reftex)
(defalias 'orib 'org-ref-insert-bibliography-link)
(defalias 'oric 'org-ref-insert-cite-link)