;; ----- Bibliography ------
(use-package citar
  :ensure t
  :defer t
  :bind
  (("C-c b o" . citar-open) ; Open
   ("C-c b i" . citar-insert-citation))
  ;; paths to your bibtex 
  :custom
  (citar-bibliography '("~/org/biblio/main.bib"))
    ;; Allow multiple notes per bibliographic entry
  (citar-open-always-create-notes nil)
;  (citar-notes-paths '("~/org/biblio"))
  )

(use-package citar-embark
  :after citar embark
  :no-require
  :config (citar-embark-mode))

(use-package citar-denote
  :ensure t
  :demand t ;; Ensure minor mode loads
  :after (:any citar denote)
  :preface
  (bind-key "C-c n b" #'citar-denote-open-note)
  :init
  (citar-denote-mode))

(provide 'init-biblio)