From 088db18c6d81f7ad118e1178d141014c14a1869a Mon Sep 17 00:00:00 2001 From: Brian McGillion Date: Thu, 16 Apr 2020 13:53:39 +0400 Subject: [PATCH 1/2] 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. --- modules/tools/biblio/config.el | 7 +++++++ modules/tools/biblio/packages.el | 1 + 2 files changed, 8 insertions(+) diff --git a/modules/tools/biblio/config.el b/modules/tools/biblio/config.el index 8526508d2..936370c6d 100644 --- a/modules/tools/biblio/config.el +++ b/modules/tools/biblio/config.el @@ -1,5 +1,12 @@ ;;; 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 :when (featurep! :completion ivy) :defer t diff --git a/modules/tools/biblio/packages.el b/modules/tools/biblio/packages.el index 6553947c3..e3c038264 100644 --- a/modules/tools/biblio/packages.el +++ b/modules/tools/biblio/packages.el @@ -1,6 +1,7 @@ ;; -*- no-byte-compile: t; -*- ;;; tools/biblio/packages.el +(package! bibtex-completion :pin "b14b628261") (when (featurep! :completion ivy) (package! ivy-bibtex :pin "3cff6bd702")) (when (featurep! :completion helm) From 0d2096ef476bf8fe6a1aa64c9445ecc35c205344 Mon Sep 17 00:00:00 2001 From: Brian McGillion Date: Thu, 16 Apr 2020 13:58:37 +0400 Subject: [PATCH 2/2] Bump :tools biblio tmalsburg/helm-bibtex@3cff6bd -> tmalsburg/helm-bibtex@b14b628 --- modules/tools/biblio/packages.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/tools/biblio/packages.el b/modules/tools/biblio/packages.el index e3c038264..06b93ac02 100644 --- a/modules/tools/biblio/packages.el +++ b/modules/tools/biblio/packages.el @@ -3,6 +3,6 @@ (package! bibtex-completion :pin "b14b628261") (when (featurep! :completion ivy) - (package! ivy-bibtex :pin "3cff6bd702")) + (package! ivy-bibtex :pin "b14b628261")) (when (featurep! :completion helm) - (package! helm-bibtex :pin "3cff6bd702")) + (package! helm-bibtex :pin "b14b628261"))