org-roam / org-roam-bibtex

Org Roam integration with bibliography management software
GNU General Public License v3.0
565 stars 47 forks source link

No file uri printed out when used with org-cite #251

Open sinauq opened 1 year ago

sinauq commented 1 year ago

Describe the bug I just moved from bibtex-completion to org-cite, and it looks like the guide on setting up org-noter doesn't work anymore. I had no problem before when using bibtex-completion. As I'm using Doom I tried to install the package myself (in package.el), but with no luck. ORB configuration here's my config:

(use-package! org-roam
  :after org
  :custom (org-roam-directory zettel_dir)
  :config
  (setq
   org-roam-capture-templates
        '(
          ("d" "default" plain "%?"
           :if-new
           (file+head "%<%Y%m%d%H%M%S>-${slug}.org"
                      "#+title: ${title}\n")
           :unnarrowed t)
          ("r" "references" plain
           (file "~/orb-template.org")
           :if-new
           (file+head "${citekey}.org" "#+title: ${title}\n")
           :unnarrowed t))
        orb-preformat-keywords
        '("citekey" "title" "url" "author-or-editor" "keywords" "file" "journal" "volume" "number" "pages")
        orb-process-file-keyword t
        orb-attached-file-extensions '("pdf" "epub")
        orb-abbreviate-file-name t
        orb-roam-ref-format 'org-cite
        ))

Environment (please complete the following information):

myshevchuk commented 1 year ago

Hi, can you please share the contents of orb-template.org?