Created
January 18, 2013 19:10
-
-
Save schocco/4567377 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ $# == 1 ]; then | |
echo building pdf... | |
pdflatex $1.tex | |
biber $1 | |
makeindex $1.nlo -s nomencl.ist -o $1.nls | |
pdflatex $1.tex | |
pdflatex $1.tex | |
echo cleaning up... | |
rm -f *.aux *.dvi *.bbl *.blg *.ilg *.toc *.lof *.lot *.idx *.ind *.ps *.out *.nlo *.xml *~ | |
else | |
echo "Usage: | |
$0 [FILE] | |
where FILE.tex is your input file. | |
All source files must be in the same directory as this script." | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment