Remove redundant script

This commit is contained in:
Oystein Kristoffer Tveit 2022-02-09 11:59:56 +01:00
parent 07bf6af78b
commit 379e740034

19
make.sh
View File

@ -1,19 +0,0 @@
#!/usr/bin/env bash
python3 ./toTex.py
xelatex main.tex
numberOfPages=$(pdfinfo main.pdf | awk '/^Pages:/ {print $2}')
echo $numberOfPages
cat >wrapper.tex <<EOF
\\documentclass[a4paper, twoside]{article}
\\usepackage[T1]{fontenc}
\\usepackage[utf8]{inputenc}
\\usepackage{pdfpages}
\\begin{document}
\\includepdf[pages=-,nup=1x2,signature=${numberOfPages},landscape,booklet=true]{main.pdf}
\\end{document}
EOF
pdflatex wrapper.tex