diff options
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | 2009-11-20 10:36:19 +0000 |
---|---|---|
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | 2009-11-20 10:36:19 +0000 |
commit | 64e6072a5dad1d9eb63e27bbb1a00ff4278e49fe (patch) | |
tree | 8f4c38e72cb5ce88cf0275227d508f0769ed1fe1 /Master/texmf-dist/tex/latex/pdfpages/ppxetex.def | |
parent | 971a4c28d717ab58e5bd3394f497e1cede329128 (diff) |
pdfpages update: v0.4i
git-svn-id: svn://tug.org/texlive/trunk@16101 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/pdfpages/ppxetex.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/pdfpages/ppxetex.def | 30 |
1 files changed, 24 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/pdfpages/ppxetex.def b/Master/texmf-dist/tex/latex/pdfpages/ppxetex.def index fdbd6d7e96d..7a7c4e6e487 100644 --- a/Master/texmf-dist/tex/latex/pdfpages/ppxetex.def +++ b/Master/texmf-dist/tex/latex/pdfpages/ppxetex.def @@ -8,14 +8,26 @@ %% %% This file is part of the pdfpages package. %% +%% Copyright (C) 2001-2006 Andreas MATTHIAS +%% +%% This work may be distributed and/or modified under the 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>. +%% +%% This work has the LPPL maintenance status `maintained'. +%% +%% The Current Maintainer of this work is +%% Andreas Matthias <andreas.matthias@gmail.com>. %% %% Please send error reports and suggestions for improvements to %% Andreas MATTHIAS <andreas.matthias@gmail.com>. %% -\def\AM@fileversion{v0.4g} +\def\AM@fileversion{v0.4i} \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: 2009-02-07 21:46:53 +0100 (Sat, 07 Feb 2009) $ +\AM@SVN@Date$Date: 2009-10-31 13:40:37 +0100 (Sat, 31 Oct 2009) $ \ProvidesFile{ppxetex.def} [\AM@filedate\space\AM@fileversion\space Pdfpages driver for XeTeX (AM)] @@ -32,8 +44,14 @@ \gdef\AM@XeTeXquote{"}% } \def\AM@getpagecount{% - \edef\AM@pagecount{\the\XeTeXpdfpagecount\AM@XeTeXquote - \AM@currentdocname\AM@XeTeXquote\relax}% + \expandafter\filename@parse\expandafter{\AM@currentdocname}% + \lowercase{\edef\type@ext{.\filename@ext}}% + \ifx\type@ext\G@pdf@ext + \edef\AM@pagecount{\the\XeTeXpdfpagecount\AM@XeTeXquote + \AM@currentdocname\AM@XeTeXquote\relax}% + \else + \def\AM@pagecount{1}% + \fi } \begingroup \def\gobble@nil#1\@nil{} @@ -52,8 +70,8 @@ \let\AM@pagewidth\pdfpagewidth \let\AM@pageheight\pdfpageheight \def\AM@setpagedimen{% - \setlength{\pdfpagewidth}{\the\wd\@tempboxa}% - \setlength{\pdfpageheight}{\the\ht\@tempboxa+\the\dp\@tempboxa}% + \setlength{\pdfpagewidth}{\wd\@tempboxa}% + \setlength{\pdfpageheight}{\ht\@tempboxa+\dp\@tempboxa}% } \def\AM@pagesize@boogie{% \ifdim\AM@pagewidth=\z@ |