From a14417e27b4d4463ae4c3a59fb6b95ace2813748 Mon Sep 17 00:00:00 2001 From: Gerardo Marx Date: Sat, 6 Nov 2021 18:47:29 -0600 Subject: [PATCH] pdf tools auctex --- .emacs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.emacs b/.emacs index 6a6b67e..d2e317d 100644 --- a/.emacs +++ b/.emacs @@ -78,8 +78,8 @@ (add-hook 'LaTeX-mode-hook 'LaTeX-math-mode) (add-hook 'LaTeX-mode-hook 'turn-on-reftex) (setq reftex-plug-into-AUCTeX t) -(setq TeX-view-program-list '(("Evince" "evince --page-index=%(outpage) %o"))) -(setq TeX-view-program-selection '((output-pdf "Evince"))) +(setq TeX-view-program-selection '((output-pdf "PDF Tools")) + TeX-source-correlate-start-server t) ;; Update PDF buffers after successful LaTeX runs (add-hook 'TeX-after-compilation-finished-functions #'TeX-revert-document-buffer) @@ -125,7 +125,7 @@ ;;==================== ;; emacs startup config -(setq inhibit-startup-message nil) ;;inhibit startup +(setq inhibit-startup-message t) ;;inhibit startup (global-visual-line-mode t) (tool-bar-mode -1) (menu-bar-mode -1) @@ -142,8 +142,7 @@ ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. - '(package-selected-packages - '(docker-compose-mode markdown-mode org-ref doom-modeline all-the-icons doom-themes which-key helm use-package))) +) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful.