summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/pdfpages/pppdftex.def
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-08-25 21:57:34 +0000
committerKarl Berry <karl@freefriends.org>2013-08-25 21:57:34 +0000
commiteb1fd272c1f4ed50c8dd02145f12f08ae99e8600 (patch)
tree878e2240e0460e18bcf20b2376c33f9f199677de /Master/texmf-dist/tex/latex/pdfpages/pppdftex.def
parent6e1716959dcbead4226252da5ee6590ef79c67dc (diff)
pdfpages (25aug13)
git-svn-id: svn://tug.org/texlive/trunk@31518 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/pdfpages/pppdftex.def')
-rw-r--r--Master/texmf-dist/tex/latex/pdfpages/pppdftex.def14
1 files changed, 12 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/pdfpages/pppdftex.def b/Master/texmf-dist/tex/latex/pdfpages/pppdftex.def
index dd1ff819e62..cf487cd4f62 100644
--- a/Master/texmf-dist/tex/latex/pdfpages/pppdftex.def
+++ b/Master/texmf-dist/tex/latex/pdfpages/pppdftex.def
@@ -24,10 +24,10 @@
%% Please send error reports and suggestions for improvements to
%% Andreas MATTHIAS <andreas.matthias@gmail.com>.
%%
-\def\AM@fileversion{v0.4u}
+\def\AM@fileversion{v0.4v}
\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: 2013-05-30 15:06:59 +0200 (Thu, 30 May 2013) $
+\AM@SVN@Date$Date: 2013-08-25 15:19:23 +0200 (Sun, 25 Aug 2013) $
\ProvidesFile{pppdftex.def}
[\AM@filedate\space\AM@fileversion\space
Pdfpages driver for pdfTeX (AM)]
@@ -64,8 +64,18 @@
There might be problems with\MessageBreak
the `trim' and `clip' options.\MessageBreak
Please, update your `pdftex.def'}}
+%% \def\AM@getpagecount{%
+%% \setbox\@tempboxa=\hbox{\includegraphics{\AM@currentdocname}}%
+%% \edef\AM@pagecount{\the\pdflastximagepages}%
+%% }
+\let\AM@Gread@@pdftex\Gread@@pdftex
+\renewcommand*{\Gread@@pdftex}[1]{%
+ \xdef\AM@currentdocname@fix{#1}%
+ \AM@Gread@@pdftex{#1}%
+}
\def\AM@getpagecount{%
\setbox\@tempboxa=\hbox{\includegraphics{\AM@currentdocname}}%
+ \pdfximage{\AM@currentdocname@fix}%
\edef\AM@pagecount{\the\pdflastximagepages}%
}
\let\AM@pagewidth\pdfpagewidth