2024-06-18 12:22:32 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
mkdir -p out/
|
2024-07-15 10:12:13 +02:00
|
|
|
languages=("de" "en")
|
2024-06-18 12:22:32 +02:00
|
|
|
|
|
|
|
mkdir -p pdfs/
|
2024-07-15 10:12:13 +02:00
|
|
|
for lang in "${languages[@]}"; do
|
|
|
|
python3 generate.py $lang daten/stundenplan-bachelor.json out/stundenplan-bachelor stundenplan-vorlage.tex
|
|
|
|
python3 generate.py $lang daten/stundenplan-master.json out/stundenplan-master stundenplan-vorlage.tex
|
|
|
|
mkdir -p pdfs/$lang
|
|
|
|
mv out/*.pdf pdfs/$lang/.
|
|
|
|
rm -R out/*
|
|
|
|
done
|
|
|
|
|
2024-06-18 12:22:32 +02:00
|
|
|
rm -R out/
|