You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
300 B
Bash

#!/bin/bash
#Remove the .tex extention, it just messes up the bibliography
tex="${1%%\.tex}"
flags="${@:2}"
echo "$flags"
pdflatex "$flags" "$tex"
biber "$tex"
pdflatex "$flags" "$tex"
pdflatex "$flags" "$tex"
echo
echo "Removing biliography database \n\t$tex"
rm $tex.bbl
echo
echo Done
exit 0