diff options
author | Karl Berry <karl@freefriends.org> | 2012-09-02 22:45:16 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-09-02 22:45:16 +0000 |
commit | 2878c13fb8496ecd8f401ed4102176941c485292 (patch) | |
tree | 6fda0666aeca4d160e390ed7b323b243b4e75083 /Master/texmf-dist/tex/latex/pdfpages/pdfpages.sty | |
parent | f5f31d5e8f559ba5a579cb6e80948a5d2515b7aa (diff) |
pdfpages (31aug12)
git-svn-id: svn://tug.org/texlive/trunk@27574 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/pdfpages/pdfpages.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/pdfpages/pdfpages.sty | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/pdfpages/pdfpages.sty b/Master/texmf-dist/tex/latex/pdfpages/pdfpages.sty index 6a4a813e0c6..3a9ef11d5f8 100644 --- a/Master/texmf-dist/tex/latex/pdfpages/pdfpages.sty +++ b/Master/texmf-dist/tex/latex/pdfpages/pdfpages.sty @@ -24,10 +24,10 @@ %% Please send error reports and suggestions for improvements to %% Andreas MATTHIAS <andreas.matthias@gmail.com>. %% -\def\AM@fileversion{v0.4s} +\def\AM@fileversion{v0.4t} \def\AM@SVN@Date@i#1-#2-#3\END{\def\AM@filedate{#1/#2/#3}} \def\AM@SVN@Date$Date: #1 #2${\AM@SVN@Date@i#1\END} -\AM@SVN@Date$Date: 2012-04-03 21:07:24 +0200 (Tue, 03 Apr 2012) $ +\AM@SVN@Date$Date: 2012-08-31 18:15:36 +0200 (Fri, 31 Aug 2012) $ \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{pdfpages} [\AM@filedate\space\AM@fileversion\space @@ -94,6 +94,7 @@ \newif\ifAM@doublepagestwistx\AM@doublepagestwistxfalse \newif\ifAM@doublepagestmp\AM@doublepagestmpfalse \newif\ifAM@doublepagestmpi\AM@doublepagestmpifalse +\newif\ifAM@duplicatepages\AM@duplicatepagesfalse \newif\ifAM@linkfilename\AM@linkfilenamefalse \newif\ifAM@signature\AM@signaturefalse \newif\ifAM@signaturestar\AM@signaturestarfalse @@ -788,6 +789,15 @@ \edef\AM@doclist{\AM@doclist,\AM@currentdocname}% \edef\AM@pagelist{\AM@pagelist,#1}% \fi + \ifAM@duplicatepages + \count@=0 + \loop + \advance\count@ 1 + \ifnum\count@<\AM@nduplicatepages + \edef\AM@doclist{\AM@doclist,\AM@currentdocname}% + \edef\AM@pagelist{\AM@pagelist,#1}% + \repeat + \fi \AM@defaultonefalse } \newif\ifAM@endoflist\AM@endoflistfalse @@ -1025,6 +1035,7 @@ \equal{doublepagestwistodd}{\AM@temp}\or \equal{doublepagestwist*}{\AM@temp}\or \equal{doublepagestwistodd*}{\AM@temp}\or + \equal{duplicatepages}{\AM@temp}\or \equal{signature}{\AM@temp}\or \equal{signature*}{\AM@temp}\or \equal{booklet}{\AM@temp}\or @@ -1469,6 +1480,9 @@ \setboolean{AM@doublepagestwist}{#1}% \AM@doublepagestmpfalse\AM@doublepagestmpitrue \AM@doublepagestwistxtrue} +\define@key{pdfpages}{duplicatepages}[2]% + {\def\AM@nduplicatepages{#1}% + \AM@duplicatepagestrue} \define@key{pdfpages}{signature}{\def\AM@signature{#1}} \define@key{pdfpages}{signature*}{\def\AM@signature{#1}% \AM@signaturestartrue} |