3 all: notes.config vc $(patsubst %.tex,%.pdf,$(wildcard *.tex))
8 # latexmk -f -pdf -pdflatex="xelatex -synctex=1 %S %O" -verbose -file-line-error -interaction=nonstopmode $<
9 # qpdf --qdf --object-streams=disable $@ - | sponge $@
10 # sed -e 's|/PageLabels|/BageLapels|g' < $@ |sponge $@
11 # qpdf $@ - | sponge $@
13 # by default, we produce combined notes/slides output
15 echo '\setbeameroption{show notes on second screen}' > notes.config
17 # rules for generating notesonly
19 echo '\setbeameroption{show only notes}' > notes.config
20 notesonly: notesonly-config pdf
22 # rules for generating slides only
24 echo '' > notes.config
25 slides: slides-config pdf
31 aspell -c -t --tex-check-comments -b text.tex
38 rubber -d --clean *.tex
44 .PHONY: clean all notesonly-config notesonly slides-config slides viewpdf pdfpc spell