Skip to content

Instantly share code, notes, and snippets.

@davidfokkema
Created May 16, 2012 10:43
Show Gist options
  • Save davidfokkema/2709434 to your computer and use it in GitHub Desktop.
Save davidfokkema/2709434 to your computer and use it in GitHub Desktop.
Latexmk build script
#!/bin/sh
if [ $# -lt 1 ]; then
echo "Usage: mklatex.sh {latex-file}"
exit -1
fi
latexmk -e '$pdflatex=q/pdflatex %O -shell-escape %S/' -bibtex -pdf $1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment