2021-03-24 14:46:37 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
mkdir -p public
|
|
|
|
for file in $(find -name main.tex)
|
|
|
|
do
|
|
|
|
cd $(dirname $file)
|
|
|
|
pdflatex \
|
|
|
|
-interaction nonstopmode \
|
|
|
|
-halt-on-error \
|
|
|
|
-output-directory ../public \
|
|
|
|
-jobname=$(dirname $file | cut -c 3-) \
|
|
|
|
$(basename $file)
|
|
|
|
cd ..
|
|
|
|
done
|
|
|
|
|
2021-05-10 22:20:25 +02:00
|
|
|
pushd exam_template_graphics
|
2021-05-17 18:59:01 +02:00
|
|
|
make
|
2021-05-10 22:20:25 +02:00
|
|
|
make
|
|
|
|
mv main.pdf ../public/exam_template_graphics.pdf
|
|
|
|
popd
|
|
|
|
|
2021-03-24 14:46:37 +01:00
|
|
|
find public -type f ! -name '*.pdf' -delete
|