add separate script for compiling presentation
This commit is contained in:
13
compile_presentation.sh
Executable file
13
compile_presentation.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
dest_file="$(realpath "$(dirname "$0")")/data/presentation_$(date +%Y-%m-%d).tex"
|
||||
|
||||
echo Compiling
|
||||
mkdir -p data/presentation
|
||||
cd data/presentation/
|
||||
|
||||
for _ in $(seq 3); do
|
||||
pdflatex "$dest_file"
|
||||
done
|
||||
|
||||
ln -srf "presentation_$(date +%Y-%m-%d).pdf" ../../presentation.pdf
|
||||
@@ -9,12 +9,4 @@ echo Getting E-Mail
|
||||
echo Generating
|
||||
./generate.py --presentation >"$dest_file"
|
||||
|
||||
echo Compiling
|
||||
mkdir -p data/presentation
|
||||
cd data/presentation/
|
||||
|
||||
for _ in $(seq 3); do
|
||||
pdflatex "$dest_file"
|
||||
done
|
||||
|
||||
ln -srf "presentation_$(date +%Y-%m-%d).pdf" ../../presentation.pdf
|
||||
./compile_presentation.sh
|
||||
|
||||
Reference in New Issue
Block a user