misp-training/build.sh

15 lines
341 B
Bash
Raw Normal View History

2018-12-29 16:27:01 +01:00
#!/bin/bash
#
slidedecks=("0-misp-introduction-to-information-sharing")
mkdir output
export TEXINPUTS=::`pwd`/themes/
echo ${TEXINPUTS}
2018-12-29 16:27:01 +01:00
for slide in ${slidedecks[@]}; do
cd ${slide}
pdflatex slide.tex
pdflatex slide.tex
rm *.aux *.toc *.snm *.log *.out *.nav
cp slide.pdf ../output/${slide}.pdf
done