… behaves correctly inside frames, with overlays and also outside of frames (i.e. that only one header is actually written per frame in all situations)
changed \newcommand to \newcommand<> to be overlay-aware, and passed overlay to \note
added an optional parameter to newcommand and passed it to \note to preserve \note[item] behaviour
added an \only<1> overlay to the actual writing of the notes to file, so even with overlay around, the notes are only written once to file
I hope I'm doing this right :)
… behaves correctly inside frames, with overlays and also outside of frames (i.e. that only one header is actually written per frame in all situations)
fixes #7