aboutsummaryrefslogtreecommitdiff
path: root/report/makefile
diff options
context:
space:
mode:
authornunzip <np.scarh@gmail.com>2018-11-20 15:53:01 +0000
committernunzip <np.scarh@gmail.com>2018-11-20 15:53:01 +0000
commit76c3b1a2226888a49bd313e07a30ddea993df195 (patch)
tree7b5ae8d7a9fc800c84bef3a6857c1090fef97aab /report/makefile
parentc116708e42358b6e7e61c6c8f1e9eb64cea1f93a (diff)
parentdaa03cd78886729e2c54c50a04addefc3e60eb8b (diff)
downloadvz215_np1915-76c3b1a2226888a49bd313e07a30ddea993df195.tar.gz
vz215_np1915-76c3b1a2226888a49bd313e07a30ddea993df195.tar.bz2
vz215_np1915-76c3b1a2226888a49bd313e07a30ddea993df195.zip
Merge branch 'master' of skozl.com:e4-pattern
Diffstat (limited to 'report/makefile')
-rwxr-xr-xreport/makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/report/makefile b/report/makefile
index 6359a42..afbac8d 100755
--- 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=5em \
+ -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)