X-Git-Url: https://projects.mako.cc/source/beamer-mako/blobdiff_plain/a50dcf9fdffc22a95ebeb8b359e883386445e53c..d46ac9c8dd94c71337c14503a64a942ecc28ff4c:/template/Makefile?ds=sidebyside diff --git a/template/Makefile b/template/Makefile index 0428974..da907e7 100644 --- a/template/Makefile +++ b/template/Makefile @@ -4,8 +4,10 @@ all: notes.config vc $(patsubst %.tex,%.pdf,$(wildcard *.tex)) pdf: all %.pdf: %.tex - rubber -fd $< - extract-notes $< + 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: @@ -24,7 +26,7 @@ slides: slides-config pdf viewpdf: all evince *.pdf -pdfpc: notes.config +pdfpc: notes.config pdf pdfpc -n right *pdf spell: @@ -34,11 +36,11 @@ vc: vc-git clean: + latexmk -C *.tex rubber -d --clean *.tex rm -f *.tmp rm -f vc rm -f notes.config - rm -f figures/logo.pdf rm -f *.pdfpc .PHONY: clean all notesonly-config notesonly slides-config slides viewpdf pdfpc spell