3 all: notes.config vc $(patsubst %.tex,%.pdf,$(wildcard *.tex))
8 qpdf --qdf --object-streams=disable $@ - | sponge $@
9 sed -e 's|/PageLabels|/BageLapels|g' < $@ |sponge $@
12 # by default, we produce combined notes/slides output
14 echo '\setbeameroption{show notes on second screen}' > notes.config
16 # rules for generating notesonly
18 echo '\setbeameroption{show only notes}' > notes.config
19 notesonly: notesonly-config pdf
21 # rules for generating slides only
23 echo '' > notes.config
24 slides: slides-config pdf
29 pdfpc: notes.config pdf
33 aspell -c -t --tex-check-comments -b text.tex
35 # Commented out to accommodate Tilman's setup
40 rubber -d --clean *.tex
46 .PHONY: clean all notesonly-config notesonly slides-config slides viewpdf pdfpc spell