diff --git a/slides_template/talk-notes.sty b/slides_template/talk-notes.sty index 456b668..9b46620 100644 --- a/slides_template/talk-notes.sty +++ b/slides_template/talk-notes.sty @@ -70,6 +70,14 @@ % output lines. \NewDocumentCommand \note { d<> o +m } { + % Run the spec through the class's overlay test, discarding the result: + % its side effect asks for the slides the spec names, so a frame whose + % only <2> is on a note still gets two slides, as under beamer. + \IfNoValueF {#1} + { + \cs_if_exist:NT \__talk_if_overlay:nT + { \__talk_if_overlay:nT {#1} { } } + } \iow_now:Nx \g__talknotes_iow { NOTE ~ FRAME ~ \int_use:N \g__talk_frame_int |