From a289fcc49edb1f86d22d6f7a9ad735d643a42eed Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Fri, 8 Jul 2016 11:19:44 -0700 Subject: [PATCH] Make pdfmode work with latexmk --- dotfiles/emacs.d/README.org | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dotfiles/emacs.d/README.org b/dotfiles/emacs.d/README.org index 9e4ded0b..65264ff5 100644 --- a/dotfiles/emacs.d/README.org +++ b/dotfiles/emacs.d/README.org @@ -1657,6 +1657,7 @@ Sets environment variables by starting a shell :config (progn (unbind-key "C-j" TeX-mode-map) + (TeX-global-PDF-mode) (setq TeX-auto-save t TeX-parse-self t TeX-save-query nil @@ -1678,7 +1679,9 @@ Sets environment variables by starting a shell (use-package auctex-latexmk :after tex :config - (progn (auctex-latexmk-setup))) + (progn + (setq auctex-latexmk-inherit-TeX-PDF-mode t) + (auctex-latexmk-setup))) #+END_SRC **** company-auctex #+BEGIN_SRC emacs-lisp