mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Move latexmk setup into seperate file
This commit is contained in:
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))
|
Reference in New Issue
Block a user