:pre-build (("./autogen.sh")
("./configure")
("make"))))
+(elpaca (breadcrumb :repo "https://github.com/joaotavora/breadcrumb"))
(elpaca (corfu
:pre-build (("mv" "extensions/corfu-indexed.el" "corfu-indexed.el")
("rm" "-r" "extensions"))))
:repo "https://git.sr.ht/~pkal/do-at-point"
:pre-build (("pandoc" "-o" "do-at-point.texi" "README.md"))))
(elpaca rfc-mode)
+(elpaca (auctex
+ :files ("*.el" "*.info*")
+ :pre-build (("./autogen.sh")
+ ("./configure" "--with-lispdir=." "--with-texmf-dir=/tmp")
+ ("make")
+ ("cp" "doc/auctex.info" "doc/auctex.info-1" "doc/auctex.info-2" "doc/preview-latex.info" "."))))
(elpaca-wait)
(require 'pdf-tools))
(with-eval-after-load 'pdf-tools
(pdf-tools-install :no-query)
- (add-hook 'pdf-view-mode-hook #'pdf-view-midnight-minor-mode))
+ ;; (add-hook 'pdf-view-mode-hook #'pdf-view-midnight-minor-mode)
+ )
(add-to-list 'revert-without-query "\\.pdf\\'")
;;; Configure terminal emulation via `vterm'
(with-eval-after-load 'texinfo
(add-hook 'texinfo-mode-hook #'abbrev-mode))
+;;; Configure TeX
+
+(with-eval-after-load 'tex-mode
+ (add-hook 'latex-mode-hook #'electric-pair-local-mode)
+ (setq display-tex-shell-buffer-action nil
+ ;; '(display-buffer-no-window
+ ;; (allow-no-window . t))
+ ;; latex-run-command "pdflatex"
+ )
+ (define-advice tex-terminate-paragraph (:around (fun &rest args) fill-and-indent)
+ (fill-paragraph)
+ (apply fun args)
+ (indent-according-to-mode)))
+
+(with-eval-after-load 'tex
+ (setq TeX-view-program-selection '((output-pdf "PDF Tools"))))
+
;;; Track currency exchange rates
(defvar esy/eur-to-ils-rates nil)