Ruby script for making version of lecture with notes