support for texstudio and texmaker
This commit is contained in:
parent
49e91f2e1e
commit
1e029c2f73
2 changed files with 19 additions and 9 deletions
6
.gitignore
vendored
6
.gitignore
vendored
|
@ -18,9 +18,9 @@
|
||||||
*.xdv
|
*.xdv
|
||||||
*-converted-to.*
|
*-converted-to.*
|
||||||
# these rules might exclude image files for figures etc.
|
# these rules might exclude image files for figures etc.
|
||||||
# *.ps
|
*.ps
|
||||||
# *.eps
|
*.eps
|
||||||
# *.pdf
|
*.pdf
|
||||||
|
|
||||||
## Generated if empty string is given at "Please type another file name for output:"
|
## Generated if empty string is given at "Please type another file name for output:"
|
||||||
.pdf
|
.pdf
|
||||||
|
|
20
flake.nix
20
flake.nix
|
@ -56,8 +56,9 @@
|
||||||
latex = pkgs.texlive.combine latexdeps;
|
latex = pkgs.texlive.combine latexdeps;
|
||||||
latexrun = pkgs.latexrun;
|
latexrun = pkgs.latexrun;
|
||||||
|
|
||||||
in {
|
in ( rec {
|
||||||
default =
|
default = kakoune;
|
||||||
|
kakoune =
|
||||||
let
|
let
|
||||||
texlab = pkgs.texlab;
|
texlab = pkgs.texlab;
|
||||||
myKakoune =
|
myKakoune =
|
||||||
|
@ -93,15 +94,24 @@
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
pkgs.mkShellNoCC {
|
pkgs.mkShellNoCC {
|
||||||
packages = [myKakoune texlab pkgs.git latex latexrun];
|
packages = [myKakoune texlab pkgs.git latex latexrun pkgs.zathura];
|
||||||
shellHook = ''
|
shellHook = ''
|
||||||
alias ..="cd .."
|
alias ..="cd .."
|
||||||
export KAKOUNE_CONFIG_DIR="/this/does/not/exist"
|
export KAKOUNE_CONFIG_DIR="/your/user/config/directory"
|
||||||
kak -d -s latexPackage &
|
kak -d -s latexPackage &
|
||||||
alias vim="kak -c 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];
|
||||||
|
};
|
||||||
|
})
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue