Skip to content

Instantly share code, notes, and snippets.

@tarrsalah
Last active August 29, 2015 14:12
Show Gist options
  • Select an option

  • Save tarrsalah/216c43bf6c173401c263 to your computer and use it in GitHub Desktop.

Select an option

Save tarrsalah/216c43bf6c173401c263 to your computer and use it in GitHub Desktop.
Simple script to build my latex files
all: clean compile pdf
compile:
latexmk main.tex
makeglossaries main
latexmk -bibtex -view=pdf -pdf -pdflatex="pdflatex --shell-escape %O %S" main.tex
clean:
latexmk -C
pdf:
evince main.pdf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment