13

Emacs includes bibtex-mode for editing bibliography files used by BibTeX. Is there a way to make it support the bibliography files used by biblatex?

16

Since Emacs 24.1 bibtex-mode supports biblatex:

* BibTeX mode now supports biblatex. Use the variable `bibtex-dialect' to select different BibTeX dialects.

To use it you can for example set it as a file variable to bibliography files by adding the following to their first line:

-*- mode:bibtex; bibtex-dialect: biblatex -*-
  • How did I miss this until now?!! This is great. – jon May 18 '13 at 19:25
  • It seems that the above does not work and that you have to say -*- mode:bibtex; eval: (bibtex-set-dialect 'biblatex); -*- instead – Andrew Swann Sep 29 '14 at 9:37
  • You could also add (setq bibtex-set-dialect 'biblatex) to your init.le file. – Adam May 14 '17 at 14:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.