Last active
August 29, 2015 13:57
-
-
Save briancain/9629605 to your computer and use it in GitHub Desktop.
compile latex
This file contains hidden or 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 | |
# Brian Cain | |
# | |
# Stop wasting your time with | |
# pdflatex and bibtex. Just | |
# run this script. | |
# Don't forget to change REPORT_NAME | |
REPORT_NAME=my-report | |
REPORT_TEX="$REPORT_NAME.tex" | |
REPORT_BIB="$REPORT_NAME.aux" | |
echo "Compiling report..." | |
pdflatex $REPORT_TEX | |
bibtex $REPORT_BIB | |
pdflatex $REPORT_TEX | |
pdflatex $REPORT_TEX | |
echo "Complete!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment