summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-02-22 21:07:10 +0000
committerKarl Berry <karl@freefriends.org>2022-02-22 21:07:10 +0000
commitf65c2cfca0f4ded47ebedf03b3027900efb5a8d5 (patch)
tree27326fb2e6f9ac95be79822d56c6e25bd050f97a /Master/texmf-dist/source
parentd34d7c190abdd90d69e29619eb6660f0e039279f (diff)
handoutwithnotes (22feb22)
git-svn-id: svn://tug.org/texlive/trunk@62140 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r--Master/texmf-dist/source/latex/handoutwithnotes/handoutWithNotes.dtx8
1 files changed, 7 insertions, 1 deletions
diff --git a/Master/texmf-dist/source/latex/handoutwithnotes/handoutWithNotes.dtx b/Master/texmf-dist/source/latex/handoutwithnotes/handoutWithNotes.dtx
index 9fbe264a598..6594cced035 100644
--- a/Master/texmf-dist/source/latex/handoutwithnotes/handoutWithNotes.dtx
+++ b/Master/texmf-dist/source/latex/handoutwithnotes/handoutWithNotes.dtx
@@ -34,7 +34,7 @@
%<package>\NeedsTeXFormat{LaTeX2e}[2020/10/01]
%<package>\ProvidesPackage{handoutWithNotes}
%<*package>
- [2022/02/02 v1.2 pgfpages layouts to print beamer slides with notes]
+ [2022/02/22 v1.3 pgfpages layouts to print beamer slides with notes]
%</package>
%
%<*driver>
@@ -883,6 +883,12 @@
\int_compare:nTF
{\g_handoutWithNotes_current_note_page_int=\the\pgf@lastshipout}
{
+% \end{macrocode}
+% \changes{1.2}{2022/02/22}{Clear leftover beamer Notes when starting a new page}
+% \begin{macrocode}
+ \int_step_variable:nNn {\pgf@lastshipout} \l_tmpa_int {
+ \box_gclear:c { pgfpages@box@ \int_eval:n {\l_tmpa_int + \the\pgf@lastshipout}}
+ }
\int_gset:Nn \g_handoutWithNotes_current_note_page_int {1}
} {
\int_gincr:N \g_handoutWithNotes_current_note_page_int