feat(latex): add watch command

This commit is contained in:
Tibo De Peuter 2026-09-28 23:04:40 +02:00
parent 2dc88b8b61
commit 7a5d60123b
Signed by: tdpeuter
SSH key fingerprint: SHA256:u/h/LVoqKF1Iz02uOyxe6hcjmoZASCGV2HM0TG9ZMoU

View file

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