pdf: all
%.pdf: %.tex
- rubber -fd $<
+ latexmk -f -pdf $<
+ qpdf --qdf --object-streams=disable $@ - | sponge $@
+ sed -e 's|/PageLabels|/BageLapels|g' < $@ |sponge $@
+ qpdf $@ - | sponge $@
# by default, we produce combined notes/slides output
notes.config:
viewpdf: all
evince *.pdf
-pdfpc: notes.config
+pdfpc: notes.config pdf
pdfpc -n right *pdf
spell:
aspell -c -t --tex-check-comments -b text.tex
vc:
- vc-git
+ resources/vc-git
clean:
+ latexmk -C *.tex
rubber -d --clean *.tex
rm -f *.tmp
rm -f vc