mahmooz · 2022-07-05 15:55
[removed]
mahmooz · 2022-07-05 16:01
xenops' main feature is automatically and asynchronously rendering latex fragments in both org mode and raw latex documents, like org-fragtog, but way more featureful.
this is my config for the package:
(use-package xenops
:config
(setq xenops-reveal-on-entry t)
(setq xenops-math-latex-max-tasks-in-flight 6)
(add-hook 'LaTeX-mode-hook #'xenops-mode)
(add-hook 'org-mode-hook #'xenops-mode)
(add-hook 'xenops-mode-hook 'xenops-render)
(setq xenops-math-image-scale-factor 1.4)
(add-hook 'org-babel-after-execute-hook (lambda ()
(interactive)
(ignore-errors (xenops-render)))))