 ;; bibtex
 ;; BibTeX editing
 (use-package bibtex
+  :after (latex)
   ;; Use a modern BibTeX dialect
   :config (bibtex-set-dialect 'biblatex)
   ;; Run prog mode hooks for bibtex

;; Manage and navigate projects in Emacs easily
(use-package projectile
  :diminish projectile-mode
  :config
  (projectile-global-mode)
  (setq projectile-completion-system 'ivy))

;; Integrated environment for TeX
(use-package tex-buf
  :ensure auctex
  :defer t
  ;; Don't ask for confirmation when saving before processing
  :config (setq TeX-save-query nil))

