Add bibtex-completion

Helm-Bibtex was split to extract bibtex-completion into a standalone
MELPA package. Adding the functionality here to account for the
changes in the packaging.
This commit is contained in:
Brian McGillion 2020-04-16 13:53:39 +04:00
parent 2b67d958e6
commit 088db18c6d
2 changed files with 8 additions and 0 deletions

View file

@ -1,5 +1,12 @@
;;; tools/biblio/config.el -*- lexical-binding: t; -*- ;;; tools/biblio/config.el -*- lexical-binding: t; -*-
(use-package! bibtex-completion
:defer t
:config
(setq bibtex-completion-additional-search-fields '(keywords)
bibtex-completion-pdf-field "file"));; This tell bibtex-completion to look at the File field of the bibtex to figure out which pdf to open
(use-package! ivy-bibtex (use-package! ivy-bibtex
:when (featurep! :completion ivy) :when (featurep! :completion ivy)
:defer t :defer t

View file

@ -1,6 +1,7 @@
;; -*- no-byte-compile: t; -*- ;; -*- no-byte-compile: t; -*-
;;; tools/biblio/packages.el ;;; tools/biblio/packages.el
(package! bibtex-completion :pin "b14b628261")
(when (featurep! :completion ivy) (when (featurep! :completion ivy)
(package! ivy-bibtex :pin "3cff6bd702")) (package! ivy-bibtex :pin "3cff6bd702"))
(when (featurep! :completion helm) (when (featurep! :completion helm)