diff --git a/.gitignore b/.gitignore index 4414d18..00ce78d 100644 --- a/.gitignore +++ b/.gitignore @@ -18,9 +18,9 @@ *.xdv *-converted-to.* # these rules might exclude image files for figures etc. -# *.ps -# *.eps -# *.pdf +*.ps +*.eps +*.pdf ## Generated if empty string is given at "Please type another file name for output:" .pdf diff --git a/flake.nix b/flake.nix index 36dd25b..2f6ddd0 100644 --- a/flake.nix +++ b/flake.nix @@ -56,8 +56,9 @@ latex = pkgs.texlive.combine latexdeps; latexrun = pkgs.latexrun; - in { - default = + in ( rec { + default = kakoune; + kakoune = let texlab = pkgs.texlab; myKakoune = @@ -93,15 +94,24 @@ }; in pkgs.mkShellNoCC { - packages = [myKakoune texlab pkgs.git latex latexrun]; + packages = [myKakoune texlab pkgs.git latex latexrun pkgs.zathura]; shellHook = '' alias ..="cd .." - export KAKOUNE_CONFIG_DIR="/this/does/not/exist" + export KAKOUNE_CONFIG_DIR="/your/user/config/directory" kak -d -s latexPackage & alias vim="kak -c latexPackage" ''; - }; - } + }; + texstudio = + pkgs.mkShellNoCC { + packages = [pkgs.texstudio pkgs.git latex latexrun]; + }; + + texmaker = + pkgs.mkShellNoCC { + packages = [pkgs.texmaker pkgs.git latex latexrun]; + }; + }) ); }; }