- publish: letter.pdf
- if [ ! -d "published" ]; then mkdir published; fi
- cp letter.pdf published/letter.pdf
- if [ ! -d "published/archive" ]; then mkdir published/archive/; fi
- cp letter.pdf published/archive/letter_$(shell date -u +"%Y-%m-%dT%H:%M:%SZ").pdf
- letter.pdf: letter.tex
- latexmk -pdf letter.tex
- start: view watch
- view:
- -zathura letter.pdf &!
- watch:
- latexmk -pdf -pvc letter.tex
|