Emacs中用zotero(优先)或evince(次之)打开pdf文件(open-pdf-in-zotero-or-evince)

    (defun private/open-in-zotero (citekey)
      "Open a reference item in Zotero."
      (interactive (list (citar-select-ref)))
      (citar-file-open-external
       (concat "zotero://select/items/@" citekey)))

可以通过 citekey 来打开文件,这里的 citar-file-open-external 不重要,只要有 citekey 了,拼出链接,后面总能打开文件。

2 个赞