X-Git-Url: https://projects.mako.cc/source/beamer-mako/blobdiff_plain/c54ad65fc0fa8f15fa645eedbed61d39992de436..refs/heads/metropolis:/template/Makefile diff --git a/template/Makefile b/template/Makefile index da907e7..880c604 100644 --- a/template/Makefile +++ b/template/Makefile @@ -3,11 +3,12 @@ all: notes.config vc $(patsubst %.tex,%.pdf,$(wildcard *.tex)) pdf: all -%.pdf: %.tex - latexmk -f -pdf $< - qpdf --qdf --object-streams=disable $@ - | sponge $@ - sed -e 's|/PageLabels|/BageLapels|g' < $@ |sponge $@ - qpdf $@ - | sponge $@ +%.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: @@ -26,14 +27,11 @@ slides: slides-config pdf viewpdf: all evince *.pdf -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 @@ -43,4 +41,7 @@ clean: rm -f notes.config rm -f *.pdfpc +pdfpc: + pdfpc -n right *.pdf + .PHONY: clean all notesonly-config notesonly slides-config slides viewpdf pdfpc spell