;;; -*- lexical-binding: t; -*-

(require 'syd/base)

(use-package auctex)

(use-package tex
  :straight nil                         ; Part of auctex.
  :config
  (add-to-list 'TeX-view-program-selection '(output-pdf "Sioyek"))
  (add-to-list
   'TeX-command-list
   '("Make" "make" TeX-run-TeX
     nil (LaTeX-mode docTeX-mode) :help "Run Make"))
  (add-to-list
   'TeX-command-list
   '("Shake" "shake" TeX-run-TeX
     nil (LaTeX-mode docTeX-mode) :help "Run Shake")))

(use-package auctex-latexmk)

(provide 'syd/auctex)
