diff --git a/slides_template/.gitignore b/slides_template/.gitignore index 852b108..28b83c5 100644 --- a/slides_template/.gitignore +++ b/slides_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/slides_template/Makefile b/slides_template/Makefile index 4aa32cc..da907e7 100644 --- a/slides_template/Makefile +++ b/slides_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