diff options
author | Karl Berry <karl@freefriends.org> | 2022-02-09 20:58:20 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-02-09 20:58:20 +0000 |
commit | 0b7cba17641584bae3c1b1572777d5ea8d94e5e2 (patch) | |
tree | 7ced8c7ad7f084cd415c33cf52a77ede715dc2ac /Master/texmf-dist/tex/latex | |
parent | a6cb485d98d5c0f84b3c42631ed7f69361110bd6 (diff) |
handoutwithnotes (9feb22)
git-svn-id: svn://tug.org/texlive/trunk@61956 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/handoutwithnotes/handoutWithNotes.sty | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/handoutwithnotes/handoutWithNotes.sty b/Master/texmf-dist/tex/latex/handoutwithnotes/handoutWithNotes.sty index 4a03ae6df92..151edc29071 100644 --- a/Master/texmf-dist/tex/latex/handoutwithnotes/handoutWithNotes.sty +++ b/Master/texmf-dist/tex/latex/handoutwithnotes/handoutWithNotes.sty @@ -32,10 +32,10 @@ %% %% ============================================================================ %% -\NeedsTeXFormat{LaTeX2e}[1999/12/01] +\NeedsTeXFormat{LaTeX2e}[2020/10/01] \ProvidesPackage{handoutWithNotes} - [2021/11/10 v1.1 pgfpages layouts to print beamer slides with notes] -\ProvidesPackage{handoutWithNotes}[2021/11/07 v1.1 + [2022/02/02 v1.2 pgfpages layouts to print beamer slides with notes] +\ProvidesPackage{handoutWithNotes}[2022/02/02 v1.2 pgfpages layouts to print beamer slides with notes] \RequirePackage{l3keys2e} \ExplSyntaxOn @@ -72,10 +72,14 @@ \providetranslation[to=German]{Notes}{Notizen} \providetranslation[to=French]{Notes}{Notes} \ExplSyntaxOn -\cs_if_exist:NTF \pageheight { - \cs_set:Nn \__handoutWithNotes_pageheight: {\pageheight} -} { - \cs_set:Nn \__handoutWithNotes_pageheight: {\pdfpageheight} +\sys_if_output_dvi:TF { + \cs_set:Nn \__handoutWithNotes_pageheight: {\paperheight} +}{ + \cs_if_exist:NTF \pageheight { + \cs_set:Nn \__handoutWithNotes_pageheight: {\pageheight} + } { + \cs_set:Nn \__handoutWithNotes_pageheight: {\pdfpageheight} + } } \box_new:N \g_handoutWithNotes_notes_box \tl_new:N \l_handoutWithNotes_title_tl |