From 1995306459188c7b3ce686a6ce7365c641764935 Mon Sep 17 00:00:00 2001 From: Mohit Agarwal Date: Sat, 31 Jul 2021 16:35:57 +0100 Subject: Chosen question and started research --- Makefile | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Makefile (limited to 'Makefile') 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& -- cgit v1.2.3