summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-02-09 20:58:20 +0000
committerKarl Berry <karl@freefriends.org>2022-02-09 20:58:20 +0000
commit0b7cba17641584bae3c1b1572777d5ea8d94e5e2 (patch)
tree7ced8c7ad7f084cd415c33cf52a77ede715dc2ac /Master/texmf-dist/source
parenta6cb485d98d5c0f84b3c42631ed7f69361110bd6 (diff)
handoutwithnotes (9feb22)
git-svn-id: svn://tug.org/texlive/trunk@61956 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r--Master/texmf-dist/source/latex/handoutwithnotes/handoutWithNotes.dtx43
1 files changed, 29 insertions, 14 deletions
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 <guido@guidodiepen.nl>
+% Parts provided by Edson Valle
+% Copyright (C) 2021–2022 Marei Peischl <marei@peitex.de>
% ---------------------------------------------------------------------------
% 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 <marei@peitex.de>
+% Guido Diepen <guido@guidodiepen.nl>
+%
+% 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}
%</driver>
-%<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
+%<package>\NeedsTeXFormat{LaTeX2e}[2020/10/01]
%<package>\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]
%</package>
%
%<*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 @@
%</package>
% \fi
%
-% \end{implementation}
+% \end{implementation} \ No newline at end of file