2.1. Setup Spellcheking
bibtex-mode buffers, let's also have spell checking setup. Can't be writing citations with typos. We incorporate
flyspell which is part of the Flycheck Syntax Checking package.
(require 'init-flycheck) (add-hook 'bibtex-mode-hook 'flyspell-mode)
2.2. User Defined Fields
We can have specially defined fields that are not normally added by
(setq bibtex-user-optional-fields '(("keywords" "Keywords to describe the entry" "")))
Disable the use of OTP keys.
(setq bibtex-include-OPTkey nil)
bibtex-mode's formatting more pretty
(setq bibtex-align-at-equal-sign t)
2.4. Org Export Support
What we want to do is change the build command for LaTeX in Org-mode to support the
BibTeX as well. By using
latexmk, as its runs
pdflatex the correct number of times and also runs
bibtex as well to ensure references are correctly built.
(setq org-latex-pdf-process '("latexmk -pdf -outdir=%o %f"))
2.5. Feature Provide