feat(latex): add watch command
This commit is contained in:
parent
2dc88b8b61
commit
7a5d60123b
1 changed files with 9 additions and 0 deletions
|
|
@ -11,6 +11,13 @@
|
|||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
};
|
||||
|
||||
watchLatex = pkgs.writeShellApplication {
|
||||
name = "watch-latex";
|
||||
text = ''
|
||||
latexmk -pdf -pdflatex='pdflatex -interaction=nonstopmode' -pvc -view=none
|
||||
'';
|
||||
};
|
||||
in {
|
||||
devShells.default = pkgs.mkShell {
|
||||
packages = with pkgs; [
|
||||
|
|
@ -21,6 +28,8 @@
|
|||
gnumake
|
||||
latexminted
|
||||
|
||||
watchLatex
|
||||
|
||||
# Presentation tools
|
||||
pdfpc
|
||||
pympress
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue