Update roam template
This commit is contained in:
parent
bc47a778e9
commit
7a964ef8f2
@ -2197,7 +2197,9 @@ List all element of the bibliography without pdf associated
|
|||||||
:load-path "~/.config/doom/packages/org-roam-bibtex/"
|
:load-path "~/.config/doom/packages/org-roam-bibtex/"
|
||||||
:config
|
:config
|
||||||
(org-roam-bibtex-mode)
|
(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
|
(setq org-roam-bibtex-template
|
||||||
`(("r" "ref" plain (function org-roam-capture--get-point) ""
|
`(("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"
|
"#+ROAM_KEY: ${ref}\n"
|
||||||
"\n"
|
"\n"
|
||||||
"- Tags :: %?\n"
|
"- Tags :: %?\n"
|
||||||
|
"- Reference :: ${ref}\n"
|
||||||
"- Author(s) :: ${author}\n"
|
"- Author(s) :: ${author}\n"
|
||||||
"- Year :: ${year}\n"
|
"- Year :: ${year}\n"
|
||||||
"\n"
|
"\n"
|
||||||
"* Notes :ignore:\n"
|
"* ${author-abbrev} (${year}): ${title} :${=type=}:ignore:\n"
|
||||||
":PROPERTIES:\n"
|
":PROPERTIES:\n"
|
||||||
":NOTER_DOCUMENT: ../pdfs/${=key=}.pdf\n"
|
":NOTER_DOCUMENT: ../pdfs/${=key=}.pdf\n"
|
||||||
":END:\n")
|
":END:\n")
|
||||||
|
Loading…
Reference in New Issue
Block a user