From c54ad65fc0fa8f15fa645eedbed61d39992de436 Mon Sep 17 00:00:00 2001 From: Benjamin Mako Hill Date: Mon, 30 Nov 2015 13:29:44 -0800 Subject: [PATCH] moved from rubber to latexmk (at least for now) --- template/.gitignore | 11 +++++++---- template/Makefile | 3 ++- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/template/.gitignore b/template/.gitignore index 852b108..28b83c5 100644 --- a/template/.gitignore +++ b/template/.gitignore @@ -1,10 +1,13 @@ -auto/ +/auto/ +/vc /*.aux /*.log -/*.nav /*.out /*.pdf -/*.snm +/*.fdb_latexmk +/*.fls +/*.ttt +/*.nav /*.toc +/*.snm /notes.config -/vc diff --git a/template/Makefile b/template/Makefile index 4aa32cc..da907e7 100644 --- a/template/Makefile +++ b/template/Makefile @@ -4,7 +4,7 @@ all: notes.config vc $(patsubst %.tex,%.pdf,$(wildcard *.tex)) pdf: all %.pdf: %.tex - rubber -fd $< + latexmk -f -pdf $< qpdf --qdf --object-streams=disable $@ - | sponge $@ sed -e 's|/PageLabels|/BageLapels|g' < $@ |sponge $@ qpdf $@ - | sponge $@ @@ -36,6 +36,7 @@ vc: vc-git clean: + latexmk -C *.tex rubber -d --clean *.tex rm -f *.tmp rm -f vc -- 2.39.5