summaryrefslogtreecommitdiff
path: root/Build/tests/largefile/largeps.tex
blob: e341b7de8bde1a94cb67462ed8b1b9671cc1e0de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
%% Create a DVI file with 300 copies of poles.eps, created by
%%   ppmpat -poles 1250 1250 | pnmtops > poles.eps
%% Dvips then creates a 2.7GB PS file
%%
%% Copyright (C) 2012 Peter Breitenlohner <tex-live@tug.org>
%% You may freely use, modify and/or distribute this file.
%%
\documentclass{article}
\usepackage{graphicx}
\pagestyle{empty}
\begin{document}
\setbox0=\hbox{%\vrule
               \vbox{%\hrule
                     \includegraphics[bb=12 102 600 690,totalheight=3cm]{poles.eps}%
                     %\hrule
                     }%
               %\vrule
               }
\setbox1=\hbox{\hskip-2cm\vbox{\copy0\vskip5mm}\hskip-6cm}
\setbox2=\hbox{\copy1 \copy1 \copy1 \copy1}
\setbox3=\vbox{\copy2 \copy2 \copy2 \copy2 \copy2}

\newcount\n \n=0

\def\iterate{\body\expandafter\iterate\fi}

\loop
  \copy3\vfill\newpage
  \advance\n by1
  \ifnum\n<15
\repeat

\end{document}