Move latexmk setup into seperate file
This commit is contained in:
parent
944a7dbb4e
commit
af7450cd0e
1 changed files with 13 additions and 0 deletions
13
modules/lang/latex/+latexmk.el
Normal file
13
modules/lang/latex/+latexmk.el
Normal 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))
|
Loading…
Add table
Add a link
Reference in a new issue