11 lines
228 B
Bash
Executable File
11 lines
228 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
dest_file="presentation_$(date +%Y-%m-%d).tex"
|
|
|
|
echo Compiling
|
|
mkdir -p data/presentation
|
|
cd data/presentation/
|
|
|
|
latexmk -pdf "../$dest_file"
|
|
ln -srnf "presentation_$(date +%Y-%m-%d).pdf" ../../presentation.pdf
|