support for texstudio and texmaker

This commit is contained in:
Dennis Frieberg 2022-06-17 15:44:01 +02:00
parent 49e91f2e1e
commit 1e029c2f73
2 changed files with 19 additions and 9 deletions

6
.gitignore vendored
View file

@ -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

View file

@ -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];
};
})
);
};
}