Browse Source

pdf tools auctex

arch-dwm-air
parent
commit
a14417e27b
1 changed files with 4 additions and 5 deletions
  1. +4
    -5
      .emacs

+ 4
- 5
.emacs View File

@ -78,8 +78,8 @@
(add-hook 'LaTeX-mode-hook 'LaTeX-math-mode) (add-hook 'LaTeX-mode-hook 'LaTeX-math-mode)
(add-hook 'LaTeX-mode-hook 'turn-on-reftex) (add-hook 'LaTeX-mode-hook 'turn-on-reftex)
(setq reftex-plug-into-AUCTeX t) (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 ;; Update PDF buffers after successful LaTeX runs
(add-hook 'TeX-after-compilation-finished-functions (add-hook 'TeX-after-compilation-finished-functions
#'TeX-revert-document-buffer) #'TeX-revert-document-buffer)
@ -125,7 +125,7 @@
;;==================== ;;====================
;; emacs startup config ;; emacs startup config
(setq inhibit-startup-message nil) ;;inhibit startup
(setq inhibit-startup-message t) ;;inhibit startup
(global-visual-line-mode t) (global-visual-line-mode t)
(tool-bar-mode -1) (tool-bar-mode -1)
(menu-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. ;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance. ;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right. ;; 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
;; custom-set-faces was added by Custom. ;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful. ;; If you edit it by hand, you could mess it up, so be careful.


Loading…
Cancel
Save