updated makefiles to fix the broken pages
authorBenjamin Mako Hill <mako@atdot.cc>
Thu, 6 Nov 2014 21:10:09 +0000 (13:10 -0800)
committerBenjamin Mako Hill <mako@atdot.cc>
Thu, 6 Nov 2014 21:10:09 +0000 (13:10 -0800)
template/Makefile

index ac308642814d94333a28d9732e29b086e5ea52fd..4aa32cce0a4a56809a01ed5a375f635abee3f6e6 100644 (file)
@@ -5,6 +5,9 @@ pdf: all
 
 %.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:
@@ -23,7 +26,7 @@ slides: slides-config pdf
 viewpdf: all
        evince *.pdf
 
-pdfpc: notes.config
+pdfpc: notes.config pdf
        pdfpc -n right *pdf
 
 spell:

Benjamin Mako Hill || Want to submit a patch?