Page MenuHomec4science

build.sh
No OneTemporary

File Metadata

Created
Fri, Nov 1, 01:33

build.sh

#!/bin/bash
pdflatex -halt-on-error -interaction batchmode exam.tex > /dev/null 2>&1 && rm -f exam.amc exam.aux exam.log && echo "OK" && exit 0
# Otherwise run pdflatex in interactive mode
rm -f exam.amc exam.aux exam.log
echo "An error occured. Starting over in interactive mode."
echo -n "Press ENTER to continue, Ctrl-C to exit."
read ans
pdflatex exam.tex

Event Timeline