From 31336ec2533729f5b00fc98a5db5d0418203aeed Mon Sep 17 00:00:00 2001 From: Vasil Zlatanov Date: Tue, 20 Nov 2018 15:38:00 +0000 Subject: Add code to makefile --- report/makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'report') diff --git a/report/makefile b/report/makefile index 6359a42..03a10e1 100644 --- a/report/makefile +++ b/report/makefile @@ -10,8 +10,16 @@ FLAGS = --bibliography=bibliography.bib \ FLAGS_PDF = --template=template.latex -all: pdf +all: pdf code +code: + echo '\small' > build/code.aux + echo '~~~~ {.python .numberLinese}' >> build/code.aux + cat ../train.py >> build/code.aux + echo -n '~~~~' >> build/code.aux + pandoc -V geometry:margin=3em \ + -o build/code.pdf build/code.aux + pdfjoin build/paper.pdf build/code.pdf -o build/paper+code.pdf pdf: pandoc -o $(OUTPUT)/paper.pdf $(FLAGS) $(FLAGS_PDF) $(FILES) -- cgit v1.2.3-54-g00ecf