X-Git-Url: https://projects.mako.cc/source/beamer-mako/blobdiff_plain/dffa4d0b57e20a1ad2f562d0230098a90a07806d..a9f9f3497ad8c95613ec3dd7eabd864c1e000eab:/template/Makefile diff --git a/template/Makefile b/template/Makefile index ac30864..a2a7866 100644 --- a/template/Makefile +++ b/template/Makefile @@ -3,8 +3,12 @@ all: notes.config vc $(patsubst %.tex,%.pdf,$(wildcard *.tex)) pdf: all -%.pdf: %.tex - rubber -fd $< +%.pdf: %.tex + latexmk -f -xelatex $< + # latexmk -f -pdf -pdflatex="xelatex -synctex=1 %S %O" -verbose -file-line-error -interaction=nonstopmode $< + # 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,16 +27,14 @@ slides: slides-config pdf viewpdf: all evince *.pdf -pdfpc: notes.config - 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