diff options
Diffstat (limited to 'init')
-rw-r--r-- | init/km-bib.el | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/init/km-bib.el b/init/km-bib.el new file mode 100644 index 0000000..af21480 --- /dev/null +++ b/init/km-bib.el @@ -0,0 +1,12 @@ +;; Make cite key have form <last author last name><year><first word>. +(setq bibtex-autokey-year-length 4) +(setq bibtex-autokey-titleword-length nil) +(setq bibtex-autokey-titlewords-stretch 0) +(setq bibtex-autokey-titlewords 1) +(setq bibtex-autokey-year-title-separator "") + +(setq bibtex-autokey-titleword-ignore + '("A" "An" "On" "The" "Why" "How" "Where" "[0-9].*")) + +;; Used by `bibtex-fill-entry'. +(setq bibtex-align-at-equal-sign t) |