Skip to content

Instantly share code, notes, and snippets.

@jasonreich
Created January 25, 2011 10:25
Show Gist options
  • Save jasonreich/794759 to your computer and use it in GitHub Desktop.
Save jasonreich/794759 to your computer and use it in GitHub Desktop.
If I spent as long writing as I did scripting the document...
INPUTS=...
default: progress.pdf
progress.pdf : progress.tex $(INPUTS) study.bib
latexmk -pdf $<
%.tex : %.markdown
pandoc -f markdown -t latex $< > $@
%.tex : %.lhs
lhs2TeX -imylhs2tex.lhs $< > $@
clean:
latexmk -CA progress
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment