Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

Build LaTeX Document with BibTeX

View gist:1672399
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
# Build pdflatex and bibtex
pbpp() {
if [ -z $1 ]; then
echo "No arugment given"
return
fi
if [ ! -e "${1}.tex" ]; then
echo "Tex file not found. Verify that the current directory contains a file named ${1}.tex"
return
fi
pdflatex $1
bibtex $1
pdflatex $1
pdflatex $1
open "${1}.pdf"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.