Skip to content

Commit

Permalink
Doc for bibtex-completion-watch-bibliography
Browse files Browse the repository at this point in the history
  • Loading branch information
tmalsburg committed Jan 9, 2024
1 parent 93806ce commit bf184cc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 4 additions & 0 deletions README.org
Original file line number Diff line number Diff line change
Expand Up @@ -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~.
Expand Down Expand Up @@ -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:
Expand Down
3 changes: 1 addition & 2 deletions bibtex-completion.el
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit bf184cc

Please sign in to comment.