X-Git-Url: https://projects.mako.cc/source/beamer-mako/blobdiff_plain/dffa4d0b57e20a1ad2f562d0230098a90a07806d..64e244128bcd86d506bad6a4833177be7c465b5f:/template/Makefile?ds=sidebyside diff --git a/template/Makefile b/template/Makefile index ac30864..da907e7 100644 --- a/template/Makefile +++ b/template/Makefile @@ -4,7 +4,10 @@ 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 $@ # by default, we produce combined notes/slides output notes.config: @@ -23,7 +26,7 @@ slides: slides-config pdf viewpdf: all evince *.pdf -pdfpc: notes.config +pdfpc: notes.config pdf pdfpc -n right *pdf spell: @@ -33,6 +36,7 @@ vc: vc-git clean: + latexmk -C *.tex rubber -d --clean *.tex rm -f *.tmp rm -f vc