diff --git a/init.el b/init.el index d348819..b6511e8 100644 --- a/init.el +++ b/init.el @@ -1,5 +1,5 @@ ;;; init.el --- tastytea's Emacs init file. -;;; Time-stamp: <2019-03-29 19:09:17 CET> +;;; Time-stamp: <2019-03-29 20:02:34 CET> ;;; Commentary: ;;; I am using this file with Emacs 26, but most of it will probably work with @@ -654,21 +654,25 @@ (TeX-auto-save t) ; Enable parse on save (TeX-PDF-mode t) ; PDF mode (rather than DVI-mode) (TeX-engine 'xetex) + ;; To use pdf-tools with auctex. + ;; https://emacs.stackexchange.com/a/21764/21935 + (TeX-view-program-selection '((output-pdf "PDF Tools"))) + (TeX-view-program-list '(("PDF Tools" TeX-pdf-tools-sync-view))) :mode - ("\\.tex\\'" . LaTeX-mode)) + ("\\.tex\\'" . LaTeX-mode) + :config + ;; To have the buffer refresh after compilation. + (add-hook 'TeX-after-compilation-finished-functions + #'TeX-revert-document-buffer)) ;; Auto complete for LaTeX. (use-package company-auctex :hook (LaTeX-mode . company-auctex-init)) -;; (use-package pdf-tools -;; :custom -;; (mouse-wheel-follow-mouse t) -;; :mode -;; ("\\.pdf\\'" . pdf-tools-install) -;; :bind -;; ("C-c C-g" . pdf-sync-forward-search)) +(use-package pdf-tools + :mode + ("\\.pdf\\'" . pdf-tools-install)) ;;;;;;;;;;;;;;;;;;;; File formats ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (use-package adoc-mode diff --git a/server/server b/server/server index 26f783f..8ae7840 100644 --- a/server/server +++ b/server/server @@ -1,2 +1,2 @@ -127.0.0.1:51313 19961 +127.0.0.1:51313 4814 phahw2ohVoh0oopheish7IVie9desh8aequeenei3uo8wahShe%thuadaeNa4ieh \ No newline at end of file