summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/eso-pic/eso-ex3.tex
diff options
context:
space:
mode:
authorManuel Pégourié-Gonnard <mpg@elzevir.fr>2009-11-20 10:31:02 +0000
committerManuel Pégourié-Gonnard <mpg@elzevir.fr>2009-11-20 10:31:02 +0000
commit971a4c28d717ab58e5bd3394f497e1cede329128 (patch)
treeede8a3e0a2c8f4f6bfd72b2a721ebe26173d2b3b /Master/texmf-dist/doc/latex/eso-pic/eso-ex3.tex
parent8adcbb22e1cf5bc268e25ed3fb3961cce1ef1cc1 (diff)
eso-pic update (2009/10/07 v2.0a)
git-svn-id: svn://tug.org/texlive/trunk@16100 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/eso-pic/eso-ex3.tex')
-rw-r--r--Master/texmf-dist/doc/latex/eso-pic/eso-ex3.tex11
1 files changed, 6 insertions, 5 deletions
diff --git a/Master/texmf-dist/doc/latex/eso-pic/eso-ex3.tex b/Master/texmf-dist/doc/latex/eso-pic/eso-ex3.tex
index fff4b73adc3..ccbb75f2b86 100644
--- a/Master/texmf-dist/doc/latex/eso-pic/eso-ex3.tex
+++ b/Master/texmf-dist/doc/latex/eso-pic/eso-ex3.tex
@@ -1,10 +1,11 @@
% file `eso-ex3.tex'; an example for import pages of another (pdf) document.
+% This works only with `pdfTeX' (maybe `VTeX'?).
% Based on an article from Andreas Matthias <amat@kabsi.at> in d.c.t.t
%
% A much better solution is Andreas' package `pdfpages'.
%
-% Rolf Niepraschk, 2001/07/21, niepraschk@ptb.de
+% Rolf Niepraschk, 2005-12-25, Rolf.Niepraschk@ptb.de
\documentclass[a4paper]{article}
\usepackage[pdftex]{graphicx}%
@@ -16,15 +17,15 @@
{%
\setcounter{thispdfpage}{#2}\setcounter{afterlastpdfpage}{#3+1}%
\newpage
- \whiledo{\value{thispdfpage} < \value{afterlastpdfpage}}
+ \whiledo{\value{thispdfpage} < \value{afterlastpdfpage}}%
{%
\AddToShipoutPicture*
{%
\put(0,0){%
- \includegraphics[width=\paperwidth,height=\paperheight,%
- keepaspectratio,page=\arabic{thispdfpage}]{#1}}
+ \includegraphics[width=\paperwidth,height=\paperheight,%
+ keepaspectratio,page=\arabic{thispdfpage}]{#1}}%
}
- \thispagestyle{empty}\mbox{}\newpage%
+ \thispagestyle{empty}\mbox{}\newpage
\stepcounter{thispdfpage}%
}
}