Move latexmk setup into seperate file

This commit is contained in:
Patrick Elliott 2018-07-18 12:10:58 +02:00
parent 944a7dbb4e
commit af7450cd0e

View file

@ -0,0 +1,13 @@
;;; lang/latex/+latexmk.el -*- lexical-binding: t; -*-
;;;###if (featurep! +latexmk)
(def-package! auctex-latexmk
:after-call (latex-mode-hook LaTeX-mode-hook)
:init
;; Pass the -pdf flag when TeX-PDF-mode is active
(setq auctex-latexmk-inherit-TeX-PDF-mode t)
;; Set LatexMk as the default
(setq-hook! LaTeX-mode TeX-command-default "LatexMk")
:config
;; Add latexmk as a TeX target
(auctex-latexmk-setup))