Skip to content

Instantly share code, notes, and snippets.

View agdphd's full-sized avatar

Andrew Gainer-Dewar agdphd

View GitHub Profile

Keybase proof

I hereby claim:

  • I am agdphd on github.
  • I am agdphd (https://keybase.io/agdphd) on keybase.
  • I have a public key whose fingerprint is F4C4 3025 B9E2 7817 11F9 8CC5 5422 92C2 891A E8A2

To claim this, I am signing this object:

@agdphd
agdphd / slider_with_notes.sh
Created December 3, 2013 01:18
Shell script to de-interleave the output from Beamer's [notes=show] mode and project it using Slider
#!/usr/bin/env bash
# Project a PDF presentation from a file with interleaved slides and notes
tempdir=`mktemp -d --tmpdir`
pres="${1}"
pdftk ${1} cat odd output ${tempdir}/slides.pdf
pdftk ${1} cat even output ${tempdir}/notes.pdf
slider ${tempdir}/slides.pdf ${tempdir}/notes.pdf