Improve Teχ workflow with pdf-tools

master
Jacopo De Simoi 1 year ago
parent a8da30022b
commit 11c45bbe01
  1. 7
      global.org

@ -2436,7 +2436,7 @@
;;; advice the auctex function to replace the ;;; advice the auctex function to replace the
;;; lighter with somthing softer ;;; lighter with somthing softer
(with-eval-after-load "auctex" (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" "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 "LaTeX" "χ" mode-name t))
(setq mode-name (replace-regexp-in-string "/" "·" mode-name))) (setq mode-name (replace-regexp-in-string "/" "·" mode-name)))
@ -2523,7 +2523,10 @@
(setq-default TeX-master nil) (setq-default TeX-master nil)
(setq TeX-auto-save t (setq TeX-auto-save t
TeX-parse-self 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 #+end_src
*** Appearance *** Appearance
No fontification for sub and superscripts No fontification for sub and superscripts

Loading…
Cancel
Save