From e1c1f6e1043e2aeb821e1c7b18c924480e40270a Mon Sep 17 00:00:00 2001 From: Julian Mutter Date: Tue, 6 Jan 2026 12:04:26 +0100 Subject: [PATCH] emacs: install latex for org mode previews --- homes/julian/features/emacs/default.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/homes/julian/features/emacs/default.nix b/homes/julian/features/emacs/default.nix index 16c5d60..78ed0ec 100644 --- a/homes/julian/features/emacs/default.nix +++ b/homes/julian/features/emacs/default.nix @@ -69,6 +69,25 @@ in { emacs-all-the-icons-fonts frajul.typst-languagetool ltex-ls-plus + + (texlive.combine { + inherit + (texlive) + scheme-basic + # for rendering latex in inkscape + standalone + amsmath + preview + # needed for org mode preview + dvisvgm + dvipng # for preview and export as html + wrapfig + # amsmath + ulem + hyperref + capt-of + ; + }) ] ++ lib.optional config.is-nixos emacs;