Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env bash
- rm -rf *.png
- rm -rf *.pdf
- osascript -e 'quit app "Preview"'
- mkdir tmp
- rsync -aq src/* tmp
- rsync -aq lib/* tmp --exclude full
- cd tmp
- pdflatex -shell-escape -interaction=nonstopmode Presentation.tex
- cd ..
- cd ..
- mv Presentation/tmp/Presentation.pdf ..
- cd Presentation
- rm -rf tmp
- open ../../Presentation.pdf
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement