Browse Source

LatexMk

ubuntu
parent
commit
fc49e71519
1 changed files with 12 additions and 18 deletions
  1. +12
    -18
      .emacs

+ 12
- 18
.emacs View File

@ -164,23 +164,17 @@
(setq pdf-info-epdfinfo-program "/usr/local/bin/epdfinfo") (setq pdf-info-epdfinfo-program "/usr/local/bin/epdfinfo")
(add-to-list 'auto-mode-alist '("\\.pdf\\'" . pdf-view-mode)) (add-to-list 'auto-mode-alist '("\\.pdf\\'" . pdf-view-mode))
) )
;; (use-package pdf-tools
;; :ensure nil
;; :pin melpa
;; :config
;; (custom-set-variables
;; '(pdf-tools-handle-upgrades nil)) ; Use brew upgrade pdf-tools instead.
;; (setq pdf-info-epdfinfo-program "/usr/local/bin/epdfinfo"))
;; ;;-----------------------
;; ;; Use pdf-tools to open PDF files
;; (setq TeX-view-program-selection '((output-pdf "PDF Tools"))
;; TeX-source-correlate-start-server t)
;;(add-to-list 'auto-mode-alist '("\\.pdf\\'" . pdf-view-mode))
;; ;; Update PDF buffers after successful LaTeX runs
;; (add-hook 'TeX-after-compilation-finished-functions
;; #'TeX-revert-document-buffer)
;;--------
;; latex-preview
(use-package latex-preview-pane
:ensure t)
;; latexmk
(use-package auctex-latexmk
:ensure t
:init
(auctex-latexmk-setup)
:config
(setq auctex-latexmk-inherit-TeX-PDF-mode t))
;;---------------------- ;;----------------------
;; flycheck ;; flycheck
(use-package flycheck (use-package flycheck
@ -430,7 +424,7 @@
("99ea831ca79a916f1bd789de366b639d09811501e8c092c85b2cb7d697777f93" "bf387180109d222aee6bb089db48ed38403a1e330c9ec69fe1f52460a8936b66" default))) ("99ea831ca79a916f1bd789de366b639d09811501e8c092c85b2cb7d697777f93" "bf387180109d222aee6bb089db48ed38403a1e330c9ec69fe1f52460a8936b66" default)))
'(package-selected-packages '(package-selected-packages
(quote (quote
(org-pomodoro which-key virtualenvwrapper use-package treemacs-projectile pdf-tools org-bullets mu4e-maildirs-extension mu4e-alert magit helm-projectile helm-mu flycheck expand-region doom-themes doom-modeline dashboard company auctex)))
(latex-preview-pane org-pomodoro which-key virtualenvwrapper use-package treemacs-projectile pdf-tools org-bullets mu4e-maildirs-extension mu4e-alert magit helm-projectile helm-mu flycheck expand-region doom-themes doom-modeline dashboard company auctex)))
'(pdf-tools-handle-upgrades nil) '(pdf-tools-handle-upgrades nil)
'(safe-local-variable-values '(safe-local-variable-values
(quote (quote


Loading…
Cancel
Save