From 1b6ba459142657cb4a3f8c7f1764055a85f7e5f2 Mon Sep 17 00:00:00 2001 From: noa Date: Sun, 6 Oct 2024 13:28:43 +0800 Subject: Add new bibliography configuration --- emacs/init.el | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'emacs') diff --git a/emacs/init.el b/emacs/init.el index a7f8522..116172f 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -735,3 +735,21 @@ The misspelled word is taken from OVERLAY. WORD is the corrected word." ("" . howm-list-all) ("" . howm-create)) (setopt howm-file-name-format "%Y-%m-%dT%H%M%S.md") +;;; Bibliography management +(use-package ebib + :ensure t + :custom + (ebib-bibtex-dialect 'biblatex) + (ebib-index-columns '(("Author/Editor" 40 t) + ("Year" 6 t) + ("Title" 50 t) + ("Entry Key" 40 t))) + ;; Put notes in my markdown notes directory. I still need to find a way to make ebib-notes-name-transform-function return the appropriate date-based filename format. + (ebib-notes-storage 'one-file-per-note) + (ebib-notes-directory "~/Documents/notes/References") + (ebib-notes-show-note-method 'all) + (ebib-notes-file-extension "md") + (ebib-notes-template "# %T\n\n%%?") + ) + +;; https://juanjose.garciaripoll.com/blog/managing-bibliographies-from-emacs/index.html -- cgit 1.4.1-2-gfad0