diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/handoutwithnotes/handoutWithNotes.sty')
-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 |