org-roam-bibtex icon indicating copy to clipboard operation
org-roam-bibtex copied to clipboard

No file uri printed out when used with org-cite

Open sinauq opened this issue 1 year ago • 1 comments

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):

  • Emacs: GNU Emacs 28.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cairo version 1.16.0) of 2022-07-04
  • Framework: Doom
  • Org: Org mode version 9.6
  • Org-roam: 171a8db
  • ORB version (Melpa): 20220626.1121
  • sqlite-connector: sqlite
  • OS: Debian

sinauq avatar Aug 01 '22 13:08 sinauq

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

myshevchuk avatar Aug 01 '22 19:08 myshevchuk