diff options
| author | Mohit Agarwal <mohit.agarwal@sky.com> | 2021-07-31 16:35:57 +0100 |
|---|---|---|
| committer | Mohit Agarwal <mohit.agarwal@sky.com> | 2021-07-31 16:35:57 +0100 |
| commit | 1995306459188c7b3ce686a6ce7365c641764935 (patch) | |
| tree | aff846301744128b744eed37193910f3b1bab138 /Makefile | |
| parent | a512f29432a0f5edf01b5e9feae6d570c6b4c11d (diff) | |
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..eee07d9 --- /dev/null +++ b/Makefile @@ -0,0 +1,25 @@ +default: build + +build: + ls -1 | grep target || mkdir target + pandoc -C paper.md --pdf-engine=xelatex -H https://mohit.uk/formatting.tex -V fontsize:12pt -o target/paper.pdf + pandoc -C paper.md --css=https://mohit.uk/document.css -s -o target/paper.html + + make plan + cp target/paper.pdf 'target/Agarwal,Mohit.pdf' + +plan: + pandoc plan.md --pdf-engine=xelatex -H https://mohit.uk/formatting.tex -V fontsize:12pt -o target/plan.pdf + +clean: + rm -rf target + +count: + echo "Maximum wordcount (including bibliography):" + echo "3500" + echo "Current wordcount (including bibliography):" + pandoc -C + paper.md -t plain | wc -w + +read: + zathura target/paper.pdf& |
