updated makefiles to fix the broken pages
[beamer-mako] / template / Makefile
index ac308642814d94333a28d9732e29b086e5ea52fd..4aa32cce0a4a56809a01ed5a375f635abee3f6e6 100644 (file)
@@ -5,6 +5,9 @@ pdf: all
 
 %.pdf: %.tex 
        rubber -fd $<
 
 %.pdf: %.tex 
        rubber -fd $<
+       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:
 
 # by default, we produce combined notes/slides output
 notes.config:
@@ -23,7 +26,7 @@ slides: slides-config pdf
 viewpdf: all
        evince *.pdf
 
 viewpdf: all
        evince *.pdf
 
-pdfpc: notes.config
+pdfpc: notes.config pdf
        pdfpc -n right *pdf
 
 spell:
        pdfpc -n right *pdf
 
 spell:

Benjamin Mako Hill || Want to submit a patch?