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/makefile') 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 From daa03cd78886729e2c54c50a04addefc3e60eb8b Mon Sep 17 00:00:00 2001 From: Vasil Zlatanov Date: Tue, 20 Nov 2018 15:50:08 +0000 Subject: Increase code margin --- report/makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'report/makefile') diff --git a/report/makefile b/report/makefile index 03a10e1..afbac8d 100644 --- a/report/makefile +++ b/report/makefile @@ -17,7 +17,7 @@ code: echo '~~~~ {.python .numberLinese}' >> build/code.aux cat ../train.py >> build/code.aux echo -n '~~~~' >> build/code.aux - pandoc -V geometry:margin=3em \ + pandoc -V geometry:margin=5em \ -o build/code.pdf build/code.aux pdfjoin build/paper.pdf build/code.pdf -o build/paper+code.pdf pdf: -- cgit v1.2.3-54-g00ecf