From 0ff6257a933e216735438f78e5cff81e1da264ff Mon Sep 17 00:00:00 2001 From: Frieder Schlesier Date: Mon, 17 Jul 2023 23:52:54 +0200 Subject: [PATCH] add crafted-writing-packages (for latex) Signed-off-by: Frieder Schlesier --- custom.el | 25 +++++++++++++++++++------ init.el | 2 ++ init.org | 2 ++ 3 files changed, 23 insertions(+), 6 deletions(-) diff --git a/custom.el b/custom.el index de00c2a..39711d2 100644 --- a/custom.el +++ b/custom.el @@ -42,7 +42,12 @@ ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. + '(LaTeX-electric-left-right-brace t) '(Man-notify-method 'aggressive t) + '(TeX-auto-save t) + '(TeX-electric-math '("$" . "$")) + '(TeX-electric-sub-and-superscript t) + '(TeX-parse-self t) '(bookmark-save-flag 1 t) '(completion-category-overrides '((file (styles partial-completion)))) '(completion-cycle-threshold 3) @@ -68,18 +73,26 @@ '(ibuffer-movement-cycle nil) '(ibuffer-old-time 24) '(kill-do-not-save-duplicates t) - '(load-prefer-newer t t) - '(org-hide-emphasis-markers t t) - '(org-link-descriptive t t) - '(org-mouse-1-follows-link t t) - '(org-return-follows-link t t) + '(load-prefer-newer t) + '(markdown-enable-html t) + '(markdown-enable-math t) + '(org-hide-emphasis-markers t) + '(org-latex-compiler "xelatex") + '(org-link-descriptive t) + '(org-mouse-1-follows-link t) + '(org-return-follows-link t) '(package-archive-priorities '(("gnu" . 99) ("nongnu" . 80) ("stable" . 70) ("melpa" . 0))) '(package-selected-packages - '(combobulate treesit-auto ibuffer-project aggressive-indent editorconfig tree-sitter-langs tree-sitter-ispell tree-sitter-indent tree-sitter eglot magit helpful elisp-demos all-the-icons org-appear denote evil-nerd-commenter evil-collection evil vertico orderless marginalia embark-consult embark corfu-terminal corfu consult cape)) + '(auctex pandoc-mode markdown-mode combobulate treesit-auto ibuffer-project aggressive-indent editorconfig tree-sitter-langs tree-sitter-ispell tree-sitter-indent tree-sitter eglot magit helpful elisp-demos all-the-icons org-appear denote evil-nerd-commenter evil-collection evil vertico orderless marginalia embark-consult embark corfu-terminal corfu consult cape)) + '(reftex-plug-into-AUCTeX t t) + '(safe-local-variable-values + '((vc-prepare-patches-separately) + (diff-add-log-use-relative-names . t) + (vc-git-annotate-switches . "-w"))) '(scroll-conservatively 101) '(scroll-margin 0) '(scroll-preserve-screen-position t) diff --git a/init.el b/init.el index 5aedf55..843a558 100644 --- a/init.el +++ b/init.el @@ -16,6 +16,7 @@ (require 'crafted-org-packages) (require 'crafted-ui-packages) (require 'crafted-ide-packages) +(require 'crafted-writing-packages) (package-install-selected-packages :noconfirm) @@ -26,6 +27,7 @@ (require 'crafted-org-config) (require 'crafted-ui-config) (require 'crafted-ide-config) +(require 'crafted-writing-config) (unless crafted-startup-inhibit-splash (setq initial-buffer-choice #'crafted-startup-screen)) diff --git a/init.org b/init.org index 46fd696..88c38fc 100644 --- a/init.org +++ b/init.org @@ -26,6 +26,7 @@ (require 'crafted-org-packages) (require 'crafted-ui-packages) (require 'crafted-ide-packages) + (require 'crafted-writing-packages) (package-install-selected-packages :noconfirm) #+end_src @@ -39,6 +40,7 @@ (require 'crafted-org-config) (require 'crafted-ui-config) (require 'crafted-ide-config) + (require 'crafted-writing-config) (unless crafted-startup-inhibit-splash (setq initial-buffer-choice #'crafted-startup-screen))