From 0b7cba17641584bae3c1b1572777d5ea8d94e5e2 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 9 Feb 2022 20:58:20 +0000 Subject: handoutwithnotes (9feb22) git-svn-id: svn://tug.org/texlive/trunk@61956 c570f23f-e606-0410-a88d-b1316a301751 --- .../doc/latex/handoutwithnotes/README.md | 5 ++- .../latex/handoutwithnotes/handoutWithNotes.pdf | Bin 322976 -> 322975 bytes .../latex/handoutwithnotes/handoutWithNotes.dtx | 43 ++++++++++++++------- .../latex/handoutwithnotes/handoutWithNotes.sty | 18 +++++---- 4 files changed, 43 insertions(+), 23 deletions(-) diff --git a/Master/texmf-dist/doc/latex/handoutwithnotes/README.md b/Master/texmf-dist/doc/latex/handoutwithnotes/README.md index 00e55770e11..4866395dede 100644 --- a/Master/texmf-dist/doc/latex/handoutwithnotes/README.md +++ b/Master/texmf-dist/doc/latex/handoutwithnotes/README.md @@ -1,4 +1,4 @@ -# handoutWithNotes.sty 2021/10/21 v1.1 +# handoutWithNotes.sty 2022/02/02 v1.2 Create Handouts with notes from your LaTeX beamer presentation. @@ -8,7 +8,7 @@ Copyright (C) 2009–2018 by Guido Diepen Parts provided by Edson Valle -Copyright (C) 2021 Marei Peischl +Copyright (C) 2021–2022 Marei Peischl *************************************************************************** @@ -49,6 +49,7 @@ Additionally we support the following package options: Additionally the pgfpages options can be used. for more detailed information use the pdf documentation. ## Version History +* v1.2 (2022-02-02) Add support for DVI–PS–PDF workflows * v1.1 (2021-11-07) - convert the sources for l3build including simple tests - add support for graph ruled paper diff --git a/Master/texmf-dist/doc/latex/handoutwithnotes/handoutWithNotes.pdf b/Master/texmf-dist/doc/latex/handoutwithnotes/handoutWithNotes.pdf index 0ab6fe72bde..64a4bc80bc1 100644 Binary files a/Master/texmf-dist/doc/latex/handoutwithnotes/handoutWithNotes.pdf and b/Master/texmf-dist/doc/latex/handoutwithnotes/handoutWithNotes.pdf differ diff --git a/Master/texmf-dist/source/latex/handoutwithnotes/handoutWithNotes.dtx b/Master/texmf-dist/source/latex/handoutwithnotes/handoutWithNotes.dtx index b6786c42d1c..9fbe264a598 100644 --- a/Master/texmf-dist/source/latex/handoutwithnotes/handoutWithNotes.dtx +++ b/Master/texmf-dist/source/latex/handoutwithnotes/handoutWithNotes.dtx @@ -1,18 +1,26 @@ % \iffalse meta-comment % -% Copyright (C) 2021 by <+author+> <<+email+>> +% Copyright (C) 2009–2018 by Guido Diepen +% Parts provided by Edson Valle +% Copyright (C) 2021–2022 Marei Peischl % --------------------------------------------------------------------------- % This work may be distributed and/or modified under the -% conditions of the LaTeX Project Public License, either version 1.3 +% conditions of the LaTeX Project Public License, either version 1.3c % of this license or (at your option) any later version. % The latest version of this license is in -% http://www.latex-project.org/lppl.txt -% and version 1.3 or later is part of all distributions of LaTeX -% version 2005/12/01 or later. +% http://www.latex-project.org/lppl.txt +% and version 1.3c or later is part of all distributions of LaTeX +% version 2008/05/04 or later. % % This work has the LPPL maintenance status `maintained'. % -% The Current Maintainer of this work is <+maintainer+>. +% The Current Maintainers of this work are +% Marei Peischl +% Guido Diepen +% +% The development respository can be found at +% https://github.com/gdiepen/latexbeamer-handoutWithNotes +% Please use the issue tracker for feedback! % % This work consists of the files handoutWithNotes.dtx and handoutWithNotes.ins % and the derived filebase handoutWithNotes.sty. @@ -23,10 +31,10 @@ %<*driver> \ProvidesFile{handoutWithNotes.dtx} % -%\NeedsTeXFormat{LaTeX2e}[1999/12/01] +%\NeedsTeXFormat{LaTeX2e}[2020/10/01] %\ProvidesPackage{handoutWithNotes} %<*package> - [2021/11/10 v1.1 pgfpages layouts to print beamer slides with notes] + [2022/02/02 v1.2 pgfpages layouts to print beamer slides with notes] % % %<*driver> @@ -266,7 +274,7 @@ %<@@=handoutWithNotes> % \end{macrocode} % \begin{macrocode} -\ProvidesPackage{handoutWithNotes}[2021/11/07 v1.1 +\ProvidesPackage{handoutWithNotes}[2022/02/02 v1.2 pgfpages layouts to print beamer slides with notes] \RequirePackage{l3keys2e} \ExplSyntaxOn @@ -311,10 +319,17 @@ \providetranslation[to=German]{Notes}{Notizen} \providetranslation[to=French]{Notes}{Notes} \ExplSyntaxOn -\cs_if_exist:NTF \pageheight { - \cs_set:Nn \@@_pageheight: {\pageheight} -} { - \cs_set:Nn \@@_pageheight: {\pdfpageheight} +% \end{macrocode} +% \changes{1.2}{2022/02/02}{Add support for dvipspdf workflows} +% \begin{macrocode} +\sys_if_output_dvi:TF { + \cs_set:Nn \@@_pageheight: {\paperheight} +}{ + \cs_if_exist:NTF \pageheight { + \cs_set:Nn \@@_pageheight: {\pageheight} + } { + \cs_set:Nn \@@_pageheight: {\pdfpageheight} + } } \box_new:N \g_handoutWithNotes_notes_box \tl_new:N \l_handoutWithNotes_title_tl @@ -897,4 +912,4 @@ % % \fi % -% \end{implementation} +% \end{implementation} \ No newline at end of file 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 -- cgit v1.2.3