Skip to content

mohkale/consult-bibtex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

consult-bibtex

A consulting-read interface for bibtex-completion.

.github/demo.png

Installation

Manually

  1. Clone the repo.
  2. Add the repo path to your emacs load-path.
  3. Load it when needed.

From MELPA

TODO: MELPA support.

straight

You can also install this package through the straight package manager.

(straight-use-package '(consult-bibtex :host github
                                       :repo "mohkale/consult-bibtex"))

Configuration

This package should work out of the box. Simply run M-x consult-bibtex to interactively select bibtex entries. The file consult-bibtex-embark.el provides several commands that can be used alongside consult-bibtex. By default the command consult-bibtex-insert-citation is run when you select a bibtex entry but you can configure this with consult-bibtex-default-action.

This package exposes a map you can use alongside embark-act called consult-bibtex-embark-map however embark isn’t setup automatically. You can do so manually by simply adding this map to embark-keymap-alist.

(with-eval-after-load 'embark
  (add-to-list 'embark-keymap-alist '(bibtex-completion . consult-bibtex-embark-map)))

Appendix

About

Emacs bibtex-completion through consulting-read

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published