Notify on pdf compilation

Watching a pdf render from org-mode generated tex files is an exercise in futility. A simple watchexec command with a notifier is much nicer. 1 watchexec \ 2 -e tex -e bib \ 3 -- \ 4 sh -c ' 5 # Main source file – change this if you compile a different document. 6 src="rgDraft_I.tex" 7 pdf="${src%.tex}.pdf" 8 9 # Run Tectonic with shell‑escape enabled. 10 if tectonic -X compile -Z shell-escape…