Commands for prettyprinting and syntax checking BibTeX and Scribe bibliography data base files using bibclean.
Please make sure to install bibclean.
bibclean-format
is available via MELPA and can be installed by
executing the following command:
package-install RET bibclean-format RET
For manual installation, download bibclean-format.el
from this
repository and add them to your load-path
:
(add-to-list 'load-path "/folder/where/bibclean-format/is/")
Add the following to your Emacs configuration:
(require 'bibclean-format)
To enable bibclean-format-on-save-mode
in BibTeX buffers:
(add-hook 'bibtex-mode-hook 'bibclean-format-on-save-mode)
To bind bibclean-format
to a key:
(define-key bibtex-mode-map (kbd "C-c f") 'bibclean-format)