Archived
1
Fork 0
This repository has been archived on 2025-04-09. You can view files and clone it, but cannot push or open issues or pull requests.
bsc-thesis/make

25 lines
No EOL
740 B
Bash
Executable file

#!/bin/bash
mkdir -p build
cd build
case "$1" in
Presentation) pdflatex "../presentation/presentation.tex" || exit 1
pdflatex "../presentation/presentation.tex" || exit 1
mv presentation.pdf ../
;;
Symbols) pdflatex "../presentation/symbols.tex" || exit 1
pdflatex "../presentation/symbols.tex" || exit 1
scp symbols.pdf moerman@stitch.science.ru.nl:~/thesissymbols.pdf
ssh moerman@stitch.science.ru.nl 'pdf2svg thesissymbols.pdf thesissymbols.svg'
scp moerman@stitch.science.ru.nl:~/thesissymbols.svg ../
;;
Thesis) pdflatex "../thesis/DoldKan.tex" || exit 1
pdflatex "../thesis/DoldKan.tex" || exit 1
mv DoldKan.pdf ../
;;
*) echo "Please provide on of the following arguments: Presentation, Thesis"
esac
cd ..