anders/render.sh

35 lines
1.3 KiB
Bash
Raw Normal View History

#!/bin/bash
2020-01-03 10:51:23 -06:00
cd "$(dirname "$0")"
2020-01-02 09:23:14 -06:00
git pull
/usr/bin/pdflatex -file-line-error -interaction nonstopmode -jobname=All4 All4.tex
/usr/bin/pdflatex -file-line-error -interaction nonstopmode -jobname=All4 All4.tex
rm All4.aux All4.out All4.toc
cp All4.pdf /home/david/fileshare/Anders/
2020-01-03 10:51:23 -06:00
cd book-1
/usr/bin/pdflatex -file-line-error -interaction nonstopmode -jobname=Book1 "Main.tex"
/usr/bin/pdflatex -file-line-error -interaction nonstopmode -jobname=Book1 "Main.tex"
rm Book1.aux Book1.out Book1.toc
cp Book1.pdf /home/david/fileshare/Anders/
2020-01-03 10:51:23 -06:00
cd ../book-2
/usr/bin/pdflatex -file-line-error -interaction nonstopmode -jobname=Book2 "Main.tex"
/usr/bin/pdflatex -file-line-error -interaction nonstopmode -jobname=Book2 "Main.tex"
rm Book2.aux Book2.out Book2.toc
cp Book2.pdf /home/david/fileshare/Anders/
2020-01-03 10:51:23 -06:00
cd ../book-3
/usr/bin/pdflatex -file-line-error -interaction nonstopmode -jobname=Book3 "Main.tex"
/usr/bin/pdflatex -file-line-error -interaction nonstopmode -jobname=Book3 "Main.tex"
rm Book3.aux Book3.out Book3.toc
cp Book3.pdf /home/david/fileshare/Anders/
2020-01-03 10:51:23 -06:00
cd ../book-4
/usr/bin/pdflatex -file-line-error -interaction nonstopmode -jobname=Book4 "Main.tex"
/usr/bin/pdflatex -file-line-error -interaction nonstopmode -jobname=Book4 "Main.tex"
rm Book4.aux Book4.out Book4.toc
cp Book4.pdf /home/david/fileshare/Anders/