diff --git a/README.org b/README.org index eeb5133..2dbfc81 100644 --- a/README.org +++ b/README.org @@ -7,6 +7,7 @@ Ivy-bibtex: [[http://melpa.org/#/ivy-bibtex][http://melpa.org/packages/ivy-bibte Helm-bibtex and ivy-bibtex allow you to search and manage your BibTeX bibliography. They both share the same generic backend, bibtex-completion, but one uses the Helm completion framework and the other Ivy as a front-end. * News +- 2024-01-09: New customization variable ~bibtex-completion-watch-bibliography~. Can be used to deactivate automatic reloading of the bibliography. - 2022-01-17: More support for org-mode citations, see [[https://github.com/tmalsburg/helm-bibtex#use-helm-bibtex-or-ivy-bibtex-as-an-org-cite-follow-processor][here]]. (Thanks to [[https://github.com/akirakyle][akirakyle]].) - 2021-08-25: It is now possible to mark and act on multiple entries in ~ivy-bitex~. See [[#apply-actions-to-multiple-entries][here]]. - 2021-07-25: ~helm-bibtex-with-local-bibliography~ and ~ivy-bibtex-with-local-bibliography~ now also use locally and globally defined bibliographies in org files. These are bibliographies specified using the new ~#+BIBLIOGRAPHY:~ key word and those in the variable ~org-cite-global-bibliography~. @@ -275,6 +276,9 @@ User-defined functions can be used, too: (lambda (url _) (start-process "firefox" "*firefox*" "firefox" url))) #+END_SRC +** Prevent automatic reloading of bibliography when it was changed +Automatic reloading can be configured using ~bibtex-completion-watch-bibliography~. + ** Format of citations Bibtex-completion creates citations based on the major mode in which the citation is inserted: diff --git a/bibtex-completion.el b/bibtex-completion.el index 6832ec6..f5e7009 100644 --- a/bibtex-completion.el +++ b/bibtex-completion.el @@ -1240,8 +1240,7 @@ string if FIELD is not present in ENTRY and DEFAULT is nil." ;; alternative field (possibly a biblatex field): (pcase field ("year" (car (split-string (bibtex-completion-get-value "date" entry "") "-"))) - ("journal" (bibtex-completion-get-value "journaltitle" entry ""))) - )))) + ("journal" (bibtex-completion-get-value "journaltitle" entry ""))))))) default "")) (defun bibtex-completion-apa-format-authors (value &optional abbrev)