first stab at new template based on metropolis
[beamer-mako] / template / Makefile
index 042897471f369f307a551e23925d9283211d9129..a2a786670355b76adab66ba77ecc7472707b193f 100644 (file)
@@ -3,9 +3,12 @@
 all: notes.config vc $(patsubst %.tex,%.pdf,$(wildcard *.tex)) 
 pdf: all
 
-%.pdf: %.tex 
-       rubber -fd $<
-       extract-notes $<
+%.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:
@@ -24,21 +27,18 @@ 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
        rm -f notes.config
-       rm -f figures/logo.pdf
        rm -f *.pdfpc
 
 .PHONY: clean all notesonly-config notesonly slides-config slides viewpdf pdfpc spell

Benjamin Mako Hill || Want to submit a patch?