From 5c570c560810316a99dac67ccb65106bbe59d2c8 Mon Sep 17 00:00:00 2001 From: coolneng Date: Tue, 11 Oct 2022 08:59:59 +0200 Subject: [PATCH] Switch to raw latex when editing the expression --- +org.el | 2 ++ packages.el | 1 + 2 files changed, 3 insertions(+) diff --git a/+org.el b/+org.el index db2eaf3..d0b4e2a 100644 --- a/+org.el +++ b/+org.el @@ -161,5 +161,7 @@ (sp-local-pair "$" "$"))) ;; Only show a task once if it has a schedule and deadline (setq org-agenda-skip-deadline-prewarning-if-scheduled t) +;; Show raw latex when the cursor on the expression +(add-hook 'org-mode-hook 'org-fragtog-mode) ;; Auto tangle on save (add-hook 'org-mode-hook 'org-auto-tangle-mode) diff --git a/packages.el b/packages.el index 4153a69..9d7f87d 100644 --- a/packages.el +++ b/packages.el @@ -14,3 +14,4 @@ (package! engrave-faces) (package! org-modern) (package! org-auto-tangle) +(package! org-fragtog)