Extend frames for overlay-specified notes, as beamer does
A frame whose only <2> sat on a \note lost its second slide: beamer counts note specs toward the slide count, and talk-notes did not. Feed the spec through the class's overlay test, discarding the result; its side effect asks for the slides the spec names. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -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 |
|
||||
|
||||
Reference in New Issue
Block a user