WIS-SEC-BOF/work/make.sh

33 lines
883 B
Bash
Raw Permalink Normal View History

2019-10-21 15:40:47 +02:00
#!/usr/bin/env sh
# set -e
# tmp="$(mktemp -d)"
tmp="."
# trap cleanup 1 2 3 6
# cleanup() {
# # rm -rf "${tmp}"
# }
rm -f 01paper.pdf
makeindex "${tmp}/1paper.nlo" -s 1nomencl.ist -o "${tmp}/01paper.nls"
makeindex -s "${tmp}/01paper.ist" -t "${tmp}/01paper.slg" -o "${tmp}/01paper.syi" "${tmp}/01paper.syg"
makeindex -s "${tmp}/01paper.ist" -t "${tmp}/01paper.clg" -o "${tmp}/01paper.cyi" "${tmp}/01paper.cyg"
makeindex -s "${tmp}/01paper.ist" -t "${tmp}/01paper.alg" -o "${tmp}/01paper.acr" "${tmp}/01paper.acn"
makeindex -s "${tmp}/01paper.ist" -t "${tmp}/01paper.glg" -o "${tmp}/01paper.gls" "${tmp}/01paper.glo"
makeindex -s "${tmp}/01paper.ist" -o "${tmp}/01paper.ind" "${tmp}/01paper.idx"
pdflatex -aux-directory="${tmp}" 01paper.tex
2019-10-21 15:52:10 +02:00
bibtex "${tmp}/01paper.aux"
2019-10-21 15:40:47 +02:00
pdflatex -aux-directory="${tmp}" 01paper.tex
pdflatex -aux-directory="${tmp}" 01paper.tex
# cleanup