diff --git a/dotfiles/doom.org b/dotfiles/doom.org index 1567398..2a8bf7f 100644 --- a/dotfiles/doom.org +++ b/dotfiles/doom.org @@ -2197,7 +2197,9 @@ List all element of the bibliography without pdf associated :load-path "~/.config/doom/packages/org-roam-bibtex/" :config (org-roam-bibtex-mode) - (setq org-roam-bibtex-preformat-keywords `("=key=" "title" "author" "year")) + (setq org-roam-bibtex-preformat-keywords `("=key=" "title" "author" "year" "author-abbrev" "=type=")) + + (setq org-roam-bibtex-template `(("r" "ref" plain (function org-roam-capture--get-point) "" @@ -2207,10 +2209,11 @@ List all element of the bibliography without pdf associated "#+ROAM_KEY: ${ref}\n" "\n" "- Tags :: %?\n" + "- Reference :: ${ref}\n" "- Author(s) :: ${author}\n" "- Year :: ${year}\n" "\n" - "* Notes :ignore:\n" + "* ${author-abbrev} (${year}): ${title} :${=type=}:ignore:\n" ":PROPERTIES:\n" ":NOTER_DOCUMENT: ../pdfs/${=key=}.pdf\n" ":END:\n")