Created
December 3, 2013 01:18
-
-
Save agdphd/7762253 to your computer and use it in GitHub Desktop.
Shell script to de-interleave the output from Beamer's [notes=show] mode and project it using Slider
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 | |
rm -rf ${tempdir} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment