From 11c45bbe01237c7c74c683ccdd3ead887335250b Mon Sep 17 00:00:00 2001 From: Jacopo De Simoi Date: Tue, 27 May 2025 10:42:18 -0400 Subject: [PATCH] =?UTF-8?q?Improve=20Te=CF=87=20workflow=20with=20pdf-tool?= =?UTF-8?q?s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- global.org | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/global.org b/global.org index eb53132..c0087f4 100644 --- a/global.org +++ b/global.org @@ -2436,7 +2436,7 @@ ;;; advice the auctex function to replace the ;;; lighter with somthing softer (with-eval-after-load "auctex" - (defun cleanup-TeX-mode (&optional mode) + (defun cleanup-TeX-mode (&optional mode local reset) "Advice for the base auctex MODE naming" (setq mode-name (replace-regexp-in-string "LaTeX" "χ" mode-name t)) (setq mode-name (replace-regexp-in-string "/" "·" mode-name))) @@ -2523,7 +2523,10 @@ (setq-default TeX-master nil) (setq TeX-auto-save t TeX-parse-self t - TeX-insert-braces nil) + TeX-insert-braces nil + TeX-view-program-selection '((output-pdf "PDF Tools")) + TeX-source-correlate-mode t + TeX-source-correlate-start-server t) #+end_src *** Appearance No fontification for sub and superscripts