bmeps -lpdf -olevel=1.4 $< $@
%.tex: %.Rnw
- $(R) CMD Sweave $<
+ $(R) --encoding=utf-8 -e "library('knitr'); knit('$<')"
%.pdf: %.tex $(wildcard *.bib) $(wildcard *.tex)
- rubber -fd $<
+ latexmk -pdf -pdflatex='xelatex -interaction=nonstopmode %O %S' -bibtex -use-make $<
clean:
rubber -d --clean *.tex
.PHONY: clean all
-.DELETE_ON_ERROR: %.tex
\ No newline at end of file
+.DELETE_ON_ERROR: %.tex