LaTeX-Stundenplan/build.sh

16 lines
387 B
Bash
Raw Normal View History

2024-06-18 12:22:32 +02:00
#!/bin/sh
mkdir -p out/
languages=("de" "en")
2024-06-18 12:22:32 +02:00
mkdir -p pdfs/
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/