From 6ca8808eb5a413a8e33a0a5c32e2d0742d8af36b Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Thu, 10 Feb 2022 03:00:49 +0000 Subject: CTAN sync 202202100300 --- macros/latex/contrib/handoutwithnotes/README.md | 5 ++- .../contrib/handoutwithnotes/handoutWithNotes.dtx | 43 ++++++++++++++------- .../contrib/handoutwithnotes/handoutWithNotes.pdf | Bin 322976 -> 322975 bytes 3 files changed, 32 insertions(+), 16 deletions(-) (limited to 'macros/latex/contrib/handoutwithnotes') diff --git a/macros/latex/contrib/handoutwithnotes/README.md b/macros/latex/contrib/handoutwithnotes/README.md index 00e55770e1..4866395ded 100644 --- a/macros/latex/contrib/handoutwithnotes/README.md +++ b/macros/latex/contrib/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/macros/latex/contrib/handoutwithnotes/handoutWithNotes.dtx b/macros/latex/contrib/handoutwithnotes/handoutWithNotes.dtx index b6786c42d1..9fbe264a59 100644 --- a/macros/latex/contrib/handoutwithnotes/handoutWithNotes.dtx +++ b/macros/latex/contrib/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/macros/latex/contrib/handoutwithnotes/handoutWithNotes.pdf b/macros/latex/contrib/handoutwithnotes/handoutWithNotes.pdf index 0ab6fe72bd..64a4bc80bc 100644 Binary files a/macros/latex/contrib/handoutwithnotes/handoutWithNotes.pdf and b/macros/latex/contrib/handoutwithnotes/handoutWithNotes.pdf differ -- cgit v1.2.3