This commit is contained in:
Motiejus Jakštys
2020-12-04 15:00:10 +02:00
parent 9341cbf9b4
commit 1248c75585
4 changed files with 427 additions and 5 deletions

View File

@@ -3,5 +3,8 @@ all: ZPT003_2020_03_ats.txt elphistone_6.pdf
%.pdf: %.tex
latexmk -g -lualatex $<
ZPT003_2020_03_ats.txt: ZPT003_2020_03_ats.py
ZPT003_2020_03_ats.txt: ZPT003_2020_03_ats.py consts.py
python3 $< > $@
consts.py: elphistone_6.pdf
printf "wc = %d\n" $$(pdftotext $< - | wc -w) > $@