Set citar-bib to ~/Zotero/libarary.{bib,json}
This commit is contained in:
parent
e8aaf2140b
commit
4122157548
12
config.org
12
config.org
|
@ -5566,7 +5566,17 @@ To improve =org-cite=.
|
|||
|
||||
#+begin_src emacs-lisp :noweb-ref none :tangle yes
|
||||
(use-package! citar
|
||||
:when (featurep! :completion vertico))
|
||||
:when (featurep! :completion vertico)
|
||||
:config
|
||||
(setq citar-bibliography
|
||||
(let ((libfile-search-names '("library.json" "Library.json" "library.bib" "Library.bib"))
|
||||
(libfile-dir "~/Zotero")
|
||||
paths)
|
||||
(dolist (libfile libfile-search-names)
|
||||
(when (and (not paths)
|
||||
(file-exists-p (expand-file-name libfile libfile-dir)))
|
||||
(setq paths (list (expand-file-name libfile libfile-dir)))))
|
||||
paths)))
|
||||
|
||||
(use-package! citeproc
|
||||
:defer t)
|
||||
|
|
Loading…
Reference in New Issue