texlive[58207] branches/branch2020.0/Master/texmf-dist: pdfpages

commits+karl at tug.org commits+karl at tug.org
Sun Mar 7 23:07:38 CET 2021


Revision: 58207
          http://tug.org/svn/texlive?view=revision&revision=58207
Author:   karl
Date:     2021-03-07 23:07:37 +0100 (Sun, 07 Mar 2021)
Log Message:
-----------
pdfpages (7mar21) (branch)

Modified Paths:
--------------
    branches/branch2020.0/Master/texmf-dist/doc/latex/pdfpages/pdfpages.pdf
    branches/branch2020.0/Master/texmf-dist/source/latex/pdfpages/pdfpages.dtx
    branches/branch2020.0/Master/texmf-dist/tex/latex/pdfpages/pdfpages.sty
    branches/branch2020.0/Master/texmf-dist/tex/latex/pdfpages/ppdvipdfmx.def
    branches/branch2020.0/Master/texmf-dist/tex/latex/pdfpages/ppdvips.def
    branches/branch2020.0/Master/texmf-dist/tex/latex/pdfpages/ppluatex.def
    branches/branch2020.0/Master/texmf-dist/tex/latex/pdfpages/ppnull.def
    branches/branch2020.0/Master/texmf-dist/tex/latex/pdfpages/pppdftex.def
    branches/branch2020.0/Master/texmf-dist/tex/latex/pdfpages/ppvtex.def
    branches/branch2020.0/Master/texmf-dist/tex/latex/pdfpages/ppxetex.def

Modified: branches/branch2020.0/Master/texmf-dist/doc/latex/pdfpages/pdfpages.pdf
===================================================================
(Binary files differ)

Modified: branches/branch2020.0/Master/texmf-dist/source/latex/pdfpages/pdfpages.dtx
===================================================================
--- branches/branch2020.0/Master/texmf-dist/source/latex/pdfpages/pdfpages.dtx	2021-03-07 22:07:25 UTC (rev 58206)
+++ branches/branch2020.0/Master/texmf-dist/source/latex/pdfpages/pdfpages.dtx	2021-03-07 22:07:37 UTC (rev 58207)
@@ -27,12 +27,12 @@
 %<*dtx>
 \makeatletter
 %</dtx>
-\def\AM at fileversion{v0.5s}
+\def\AM at fileversion{v0.5t}
 \def\AM at Git@Date at process$#1: #2 #3${\AM at Git@Date at process@i#2\END}
 \def\AM at Git@Date at process@i#1-#2-#3\END{\def\AM at Git@Date{#1/#2/#3}}
 \def\AM at Git@SHA at process$#1: #2${\def\AM at Git@SHA{#2}}
-\AM at Git@Date at process$Date: 2021-02-05 15:10:20 +0100 $
-\AM at Git@SHA at process$SHA-1: 96070951ed4fc4b97d5a7a910640f7dbd57cc928 $
+\AM at Git@Date at process$Date: 2021-03-06 23:19:52 +0100 $
+\AM at Git@SHA at process$SHA-1: 591720c980385429528b3bf2256f2d4f7c2c55e9 $
 %</!(example1,example2,example3,installer)>
 %
 %
@@ -84,7 +84,7 @@
 %
 %    \GetFileInfo{pdfpages.dtx}
 %
-%    \CheckSum{5060}
+%    \CheckSum{5076}
 %
 % \CharacterTable
 %  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -3531,9 +3531,18 @@
 }
 %    \end{macrocode}
 %    Rotate page.
+%    Use new pdfmanagement macros if available, and fallback to pdflscape
+%    if they are not available.
 %    \begin{macrocode}
-\def\AM at setRotate{\PLS at Rotate{90}}
-\def\AM at resetRotate{\PLS at Rotate{0}}
+\ExplSyntaxOn
+\@ifundefined{pdfmanagement_add:nnn}{%
+  \def\AM at setRotate{\PLS at Rotate{90}}%
+  \def\AM at resetRotate{\PLS at Rotate{0}}%
+}{%
+  \def\AM at setRotate{\pdfmanagement_add:nnn{ThisPage}{Rotate}{90}}%
+  \def\AM at resetRotate{}%
+}%
+\ExplSyntaxOff
 %    \end{macrocode}
 %    Link to original document.
 %    \begin{macrocode}
@@ -3706,6 +3715,8 @@
 \let\AM at pagesize@boogie\relax
 %    \end{macrocode}
 %    Rotate page.
+%    Use new pdfmanagement macros if available, and fallback to pdflscape
+%    if they are not available.
 %    \begin{macrocode}
 \def\AM at setRotate{\special{pS:
     [{ThisPage}\string<\string</Rotate 90\string>\string>%]
@@ -3895,8 +3906,15 @@
 %    \end{macrocode}
 %    Rotate page.
 %    \begin{macrocode}
-\def\AM at setRotate{\PLS at Rotate{90}}
-\def\AM at resetRotate{\PLS at Rotate{0}}
+\ExplSyntaxOn
+\@ifundefined{pdfmanagement_add:nnn}{%
+  \def\AM at setRotate{\PLS at Rotate{90}}%
+  \def\AM at resetRotate{\PLS at Rotate{0}}%
+}{%
+  \def\AM at setRotate{\pdfmanagement_add:nnn{ThisPage}{Rotate}{90}}%
+  \def\AM at resetRotate{}%
+}%
+\ExplSyntaxOff
 %    \end{macrocode}
 %    Link to original document.
 %    \begin{macrocode}
@@ -4821,6 +4839,12 @@
 %      |\fboxrule| equal the values which were active just before
 %      calling |\includepdf|.
 %    \end{itemize}
+%
+%    \subsection*{2021/03/06 v0.5t}
+%    \begin{itemize}
+%    \item Page rotation: Use new pdfmanagement macros if they are
+%      available, and fallback to pdflscape if they are not available.
+%    \end{itemize}
 %    \Finale
 %
 %    \iffalse

Modified: branches/branch2020.0/Master/texmf-dist/tex/latex/pdfpages/pdfpages.sty
===================================================================
--- branches/branch2020.0/Master/texmf-dist/tex/latex/pdfpages/pdfpages.sty	2021-03-07 22:07:25 UTC (rev 58206)
+++ branches/branch2020.0/Master/texmf-dist/tex/latex/pdfpages/pdfpages.sty	2021-03-07 22:07:37 UTC (rev 58207)
@@ -24,12 +24,12 @@
 %% Please send error reports and suggestions for improvements to
 %%   Andreas MATTHIAS <andreas.matthias at gmail.com>.
 %%
-\def\AM at fileversion{v0.5s}
+\def\AM at fileversion{v0.5t}
 \def\AM at Git@Date at process$#1: #2 #3${\AM at Git@Date at process@i#2\END}
 \def\AM at Git@Date at process@i#1-#2-#3\END{\def\AM at Git@Date{#1/#2/#3}}
 \def\AM at Git@SHA at process$#1: #2${\def\AM at Git@SHA{#2}}
-\AM at Git@Date at process$Date: 2021-02-05 15:10:20 +0100 $
-\AM at Git@SHA at process$SHA-1: 96070951ed4fc4b97d5a7a910640f7dbd57cc928 $
+\AM at Git@Date at process$Date: 2021-03-06 23:19:52 +0100 $
+\AM at Git@SHA at process$SHA-1: 591720c980385429528b3bf2256f2d4f7c2c55e9 $
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesPackage{pdfpages}
    [\AM at Git@Date\space\AM at fileversion\space

Modified: branches/branch2020.0/Master/texmf-dist/tex/latex/pdfpages/ppdvipdfmx.def
===================================================================
--- branches/branch2020.0/Master/texmf-dist/tex/latex/pdfpages/ppdvipdfmx.def	2021-03-07 22:07:25 UTC (rev 58206)
+++ branches/branch2020.0/Master/texmf-dist/tex/latex/pdfpages/ppdvipdfmx.def	2021-03-07 22:07:37 UTC (rev 58207)
@@ -24,12 +24,12 @@
 %% Please send error reports and suggestions for improvements to
 %%   Andreas MATTHIAS <andreas.matthias at gmail.com>.
 %%
-\def\AM at fileversion{v0.5s}
+\def\AM at fileversion{v0.5t}
 \def\AM at Git@Date at process$#1: #2 #3${\AM at Git@Date at process@i#2\END}
 \def\AM at Git@Date at process@i#1-#2-#3\END{\def\AM at Git@Date{#1/#2/#3}}
 \def\AM at Git@SHA at process$#1: #2${\def\AM at Git@SHA{#2}}
-\AM at Git@Date at process$Date: 2021-02-05 15:10:20 +0100 $
-\AM at Git@SHA at process$SHA-1: 96070951ed4fc4b97d5a7a910640f7dbd57cc928 $
+\AM at Git@Date at process$Date: 2021-03-06 23:19:52 +0100 $
+\AM at Git@SHA at process$SHA-1: 591720c980385429528b3bf2256f2d4f7c2c55e9 $
 \ProvidesFile{ppdvipdfmx.def}
    [\AM at Git@Date\space\AM at fileversion\space
     Pdfpages driver for dvipdfmx (AM)]

Modified: branches/branch2020.0/Master/texmf-dist/tex/latex/pdfpages/ppdvips.def
===================================================================
--- branches/branch2020.0/Master/texmf-dist/tex/latex/pdfpages/ppdvips.def	2021-03-07 22:07:25 UTC (rev 58206)
+++ branches/branch2020.0/Master/texmf-dist/tex/latex/pdfpages/ppdvips.def	2021-03-07 22:07:37 UTC (rev 58207)
@@ -24,12 +24,12 @@
 %% Please send error reports and suggestions for improvements to
 %%   Andreas MATTHIAS <andreas.matthias at gmail.com>.
 %%
-\def\AM at fileversion{v0.5s}
+\def\AM at fileversion{v0.5t}
 \def\AM at Git@Date at process$#1: #2 #3${\AM at Git@Date at process@i#2\END}
 \def\AM at Git@Date at process@i#1-#2-#3\END{\def\AM at Git@Date{#1/#2/#3}}
 \def\AM at Git@SHA at process$#1: #2${\def\AM at Git@SHA{#2}}
-\AM at Git@Date at process$Date: 2021-02-05 15:10:20 +0100 $
-\AM at Git@SHA at process$SHA-1: 96070951ed4fc4b97d5a7a910640f7dbd57cc928 $
+\AM at Git@Date at process$Date: 2021-03-06 23:19:52 +0100 $
+\AM at Git@SHA at process$SHA-1: 591720c980385429528b3bf2256f2d4f7c2c55e9 $
 \ProvidesFile{ppdvips.def}
    [\AM at Git@Date\space\AM at fileversion\space
     Pdfpages driver for dvips (AM)]

Modified: branches/branch2020.0/Master/texmf-dist/tex/latex/pdfpages/ppluatex.def
===================================================================
--- branches/branch2020.0/Master/texmf-dist/tex/latex/pdfpages/ppluatex.def	2021-03-07 22:07:25 UTC (rev 58206)
+++ branches/branch2020.0/Master/texmf-dist/tex/latex/pdfpages/ppluatex.def	2021-03-07 22:07:37 UTC (rev 58207)
@@ -24,12 +24,12 @@
 %% Please send error reports and suggestions for improvements to
 %%   Andreas MATTHIAS <andreas.matthias at gmail.com>.
 %%
-\def\AM at fileversion{v0.5s}
+\def\AM at fileversion{v0.5t}
 \def\AM at Git@Date at process$#1: #2 #3${\AM at Git@Date at process@i#2\END}
 \def\AM at Git@Date at process@i#1-#2-#3\END{\def\AM at Git@Date{#1/#2/#3}}
 \def\AM at Git@SHA at process$#1: #2${\def\AM at Git@SHA{#2}}
-\AM at Git@Date at process$Date: 2021-02-05 15:10:20 +0100 $
-\AM at Git@SHA at process$SHA-1: 96070951ed4fc4b97d5a7a910640f7dbd57cc928 $
+\AM at Git@Date at process$Date: 2021-03-06 23:19:52 +0100 $
+\AM at Git@SHA at process$SHA-1: 591720c980385429528b3bf2256f2d4f7c2c55e9 $
 \ProvidesFile{ppluatex.def}
    [\AM at Git@Date\space\AM at fileversion\space
     Pdfpages driver for LuaTeX (AM)]
@@ -88,8 +88,15 @@
       \let\AM at IfFileExists\grffile at IfFileExists}%
   }{}%
 }
-\def\AM at setRotate{\PLS at Rotate{90}}
-\def\AM at resetRotate{\PLS at Rotate{0}}
+\ExplSyntaxOn
+\@ifundefined{pdfmanagement_add:nnn}{%
+  \def\AM at setRotate{\PLS at Rotate{90}}%
+  \def\AM at resetRotate{\PLS at Rotate{0}}%
+}{%
+  \def\AM at setRotate{\pdfmanagement_add:nnn{ThisPage}{Rotate}{90}}%
+  \def\AM at resetRotate{}%
+}%
+\ExplSyntaxOff
 \def\AM at linktodoc@special at begin{%
     \AM at annotation width \wd\@tempboxa
                    height \ht\@tempboxa

Modified: branches/branch2020.0/Master/texmf-dist/tex/latex/pdfpages/ppnull.def
===================================================================
--- branches/branch2020.0/Master/texmf-dist/tex/latex/pdfpages/ppnull.def	2021-03-07 22:07:25 UTC (rev 58206)
+++ branches/branch2020.0/Master/texmf-dist/tex/latex/pdfpages/ppnull.def	2021-03-07 22:07:37 UTC (rev 58207)
@@ -24,12 +24,12 @@
 %% Please send error reports and suggestions for improvements to
 %%   Andreas MATTHIAS <andreas.matthias at gmail.com>.
 %%
-\def\AM at fileversion{v0.5s}
+\def\AM at fileversion{v0.5t}
 \def\AM at Git@Date at process$#1: #2 #3${\AM at Git@Date at process@i#2\END}
 \def\AM at Git@Date at process@i#1-#2-#3\END{\def\AM at Git@Date{#1/#2/#3}}
 \def\AM at Git@SHA at process$#1: #2${\def\AM at Git@SHA{#2}}
-\AM at Git@Date at process$Date: 2021-02-05 15:10:20 +0100 $
-\AM at Git@SHA at process$SHA-1: 96070951ed4fc4b97d5a7a910640f7dbd57cc928 $
+\AM at Git@Date at process$Date: 2021-03-06 23:19:52 +0100 $
+\AM at Git@SHA at process$SHA-1: 591720c980385429528b3bf2256f2d4f7c2c55e9 $
 \ProvidesFile{ppnull.def}
    [\AM at Git@Date\space\AM at fileversion\space
     Pdfpages dummy driver (AM)]

Modified: branches/branch2020.0/Master/texmf-dist/tex/latex/pdfpages/pppdftex.def
===================================================================
--- branches/branch2020.0/Master/texmf-dist/tex/latex/pdfpages/pppdftex.def	2021-03-07 22:07:25 UTC (rev 58206)
+++ branches/branch2020.0/Master/texmf-dist/tex/latex/pdfpages/pppdftex.def	2021-03-07 22:07:37 UTC (rev 58207)
@@ -24,12 +24,12 @@
 %% Please send error reports and suggestions for improvements to
 %%   Andreas MATTHIAS <andreas.matthias at gmail.com>.
 %%
-\def\AM at fileversion{v0.5s}
+\def\AM at fileversion{v0.5t}
 \def\AM at Git@Date at process$#1: #2 #3${\AM at Git@Date at process@i#2\END}
 \def\AM at Git@Date at process@i#1-#2-#3\END{\def\AM at Git@Date{#1/#2/#3}}
 \def\AM at Git@SHA at process$#1: #2${\def\AM at Git@SHA{#2}}
-\AM at Git@Date at process$Date: 2021-02-05 15:10:20 +0100 $
-\AM at Git@SHA at process$SHA-1: 96070951ed4fc4b97d5a7a910640f7dbd57cc928 $
+\AM at Git@Date at process$Date: 2021-03-06 23:19:52 +0100 $
+\AM at Git@SHA at process$SHA-1: 591720c980385429528b3bf2256f2d4f7c2c55e9 $
 \ProvidesFile{pppdftex.def}
    [\AM at Git@Date\space\AM at fileversion\space
     Pdfpages driver for pdfTeX (AM)]
@@ -105,8 +105,15 @@
       \let\AM at IfFileExists\grffile at IfFileExists}%
   }{}%
 }
-\def\AM at setRotate{\PLS at Rotate{90}}
-\def\AM at resetRotate{\PLS at Rotate{0}}
+\ExplSyntaxOn
+\@ifundefined{pdfmanagement_add:nnn}{%
+  \def\AM at setRotate{\PLS at Rotate{90}}%
+  \def\AM at resetRotate{\PLS at Rotate{0}}%
+}{%
+  \def\AM at setRotate{\pdfmanagement_add:nnn{ThisPage}{Rotate}{90}}%
+  \def\AM at resetRotate{}%
+}%
+\ExplSyntaxOff
 \def\AM at linktodoc@special at begin{%
     \AM at annotation width \wd\@tempboxa
                    height \ht\@tempboxa

Modified: branches/branch2020.0/Master/texmf-dist/tex/latex/pdfpages/ppvtex.def
===================================================================
--- branches/branch2020.0/Master/texmf-dist/tex/latex/pdfpages/ppvtex.def	2021-03-07 22:07:25 UTC (rev 58206)
+++ branches/branch2020.0/Master/texmf-dist/tex/latex/pdfpages/ppvtex.def	2021-03-07 22:07:37 UTC (rev 58207)
@@ -24,12 +24,12 @@
 %% Please send error reports and suggestions for improvements to
 %%   Andreas MATTHIAS <andreas.matthias at gmail.com>.
 %%
-\def\AM at fileversion{v0.5s}
+\def\AM at fileversion{v0.5t}
 \def\AM at Git@Date at process$#1: #2 #3${\AM at Git@Date at process@i#2\END}
 \def\AM at Git@Date at process@i#1-#2-#3\END{\def\AM at Git@Date{#1/#2/#3}}
 \def\AM at Git@SHA at process$#1: #2${\def\AM at Git@SHA{#2}}
-\AM at Git@Date at process$Date: 2021-02-05 15:10:20 +0100 $
-\AM at Git@SHA at process$SHA-1: 96070951ed4fc4b97d5a7a910640f7dbd57cc928 $
+\AM at Git@Date at process$Date: 2021-03-06 23:19:52 +0100 $
+\AM at Git@SHA at process$SHA-1: 591720c980385429528b3bf2256f2d4f7c2c55e9 $
 \ProvidesFile{ppvtex.def}
    [\AM at Git@Date\space\AM at fileversion\space
     Pdfpages driver for VTeX (AM)]

Modified: branches/branch2020.0/Master/texmf-dist/tex/latex/pdfpages/ppxetex.def
===================================================================
--- branches/branch2020.0/Master/texmf-dist/tex/latex/pdfpages/ppxetex.def	2021-03-07 22:07:25 UTC (rev 58206)
+++ branches/branch2020.0/Master/texmf-dist/tex/latex/pdfpages/ppxetex.def	2021-03-07 22:07:37 UTC (rev 58207)
@@ -24,12 +24,12 @@
 %% Please send error reports and suggestions for improvements to
 %%   Andreas MATTHIAS <andreas.matthias at gmail.com>.
 %%
-\def\AM at fileversion{v0.5s}
+\def\AM at fileversion{v0.5t}
 \def\AM at Git@Date at process$#1: #2 #3${\AM at Git@Date at process@i#2\END}
 \def\AM at Git@Date at process@i#1-#2-#3\END{\def\AM at Git@Date{#1/#2/#3}}
 \def\AM at Git@SHA at process$#1: #2${\def\AM at Git@SHA{#2}}
-\AM at Git@Date at process$Date: 2021-02-05 15:10:20 +0100 $
-\AM at Git@SHA at process$SHA-1: 96070951ed4fc4b97d5a7a910640f7dbd57cc928 $
+\AM at Git@Date at process$Date: 2021-03-06 23:19:52 +0100 $
+\AM at Git@SHA at process$SHA-1: 591720c980385429528b3bf2256f2d4f7c2c55e9 $
 \ProvidesFile{ppxetex.def}
    [\AM at Git@Date\space\AM at fileversion\space
     Pdfpages driver for XeTeX (AM)]
@@ -114,8 +114,15 @@
     \def\reserved at a{#2}%
   \fi
   \reserved at a}
-\def\AM at setRotate{\PLS at Rotate{90}}
-\def\AM at resetRotate{\PLS at Rotate{0}}
+\ExplSyntaxOn
+\@ifundefined{pdfmanagement_add:nnn}{%
+  \def\AM at setRotate{\PLS at Rotate{90}}%
+  \def\AM at resetRotate{\PLS at Rotate{0}}%
+}{%
+  \def\AM at setRotate{\pdfmanagement_add:nnn{ThisPage}{Rotate}{90}}%
+  \def\AM at resetRotate{}%
+}%
+\ExplSyntaxOff
 \def\AM at linktodoc@special at begin{%
   \special{pdf: annot
                 width \the\wd\@tempboxa\space



More information about the tex-live-commits mailing list.