You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was wondering if anyone had any advice on how to launch an org-noter frame directly from the helm-bibtex "Actions" menu (i.e. this menu). As it stands, when I want to look up my notes when writing a paper, I need to do the following:
Call helm-bibtex
Navigate to the article
Open the "Actions" menu
Open either the PDF of the article or the corresponding notes
Call org-noter (creates new frame)
Navigate back to the old frame
Kill original PDF or notes buffer
Get back to writing my manuscript
I was hoping to cut out a few of these steps. I see the possibility of integrating helm-bibtex and org-noter has been discussed here, but I don't think it quite applies to my use-case. I also see snippets of code that supposedly effectively call org-noter here and here.
Personally, I've tried copying one of helm-bibtex's functions, but I'm still unable to pass an argument to org-noter:
(defun bibtex-completion-launch-org-noter ()
(dolist (key keys)
(let ((pdf (bibtex-completion-find-pdf key bibtex-completion-find-additional-pdfs)))
(cond
((> (length pdf) 1)
(let* ((pdf (f-uniquify-alist pdf))
(choice (completing-read "File to open: " (mapcar 'cdr pdf) nil t))
(file (car (rassoc choice pdf))))
(funcall org-noter file))) ;; pass an argument to org-noter?? Maybe call-interactively?
(pdf
(funcall org-noter file)) ;; pass an argument to org-noter?? Maybe call-interactively?
(fallback-action
(funcall fallback-action (list key)))
(t
(message "No PDF(s) found for this entry: %s"
key))))))
Any help would be greatly appreciated. Thanks!
The text was updated successfully, but these errors were encountered:
Hi all,
I was wondering if anyone had any advice on how to launch an org-noter frame directly from the helm-bibtex "Actions" menu (i.e. this menu). As it stands, when I want to look up my notes when writing a paper, I need to do the following:
I was hoping to cut out a few of these steps. I see the possibility of integrating helm-bibtex and org-noter has been discussed here, but I don't think it quite applies to my use-case. I also see snippets of code that supposedly effectively call org-noter here and here.
Personally, I've tried copying one of helm-bibtex's functions, but I'm still unable to pass an argument to org-noter:
Any help would be greatly appreciated. Thanks!
The text was updated successfully, but these errors were encountered: