(message (org-ref-get-label-context
(org-element-property :path object))))
+ ((string= type "eqref")
+ (message (org-ref-get-label-context
+ (org-element-property :path object))))
+
;; message the count
((string= type "label")
(let ((count (org-ref-count-labels
(when (string= doi "") (setq doi nil))
(when (string= url "") (setq url nil))
+ ;; Conditional pdf functions
(if (file-exists-p pdf-file)
(add-to-list
'candidates
'("Open pdf" . org-ref-open-pdf-at-point)
- t
- )
+ t)
(add-to-list
'candidates
'("Try to get pdf" . (lambda ()
'("Open notes" . org-ref-open-notes-at-point)
t)
+ ;; conditional url and doi functions
(when (or url doi)
(add-to-list
'candidates