1
0

initial import of material for public archive into git

We're creating a fresh archive because the history for our old chapter includes
API keys, data files, and other material we can't share.
This commit is contained in:
2018-01-21 17:15:51 -08:00
commit dd420c77de
41 changed files with 7069 additions and 0 deletions

34
paper/Makefile Normal file
View File

@@ -0,0 +1,34 @@
#!/usr/bin/make
all: $(patsubst %.Rnw,%.pdf,$(wildcard *.Rnw))
pdf: all
%.tex: %.Rnw
#python3 ../code/LDA/make_latex_files.py
Rscript -e "library(knitr); knit('$<')"
%.pdf: %.tex vc
grep -v -e '^.usepackage.longtable.$$' $<| sponge $<
latexmk -f -pdf $<
clean:
latexmk -C *.tex
rm -f *.tmp
rm -f *.tex
rm -rf figure/
rm -f *.bbl
rm -rf cache/
rm -rf *.run.xml
rm -f vc
viewpdf: all
evince *.pdf
spell:
aspell -c -t --tex-check-comments -b text.tex
vc:
resources/vc-git
.PHONY: clean all
.PRECIOUS: %.tex