summaryrefslogtreecommitdiff
path: root/Build/tests/largefile/hugepdf.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Build/tests/largefile/hugepdf.tex')
-rw-r--r--Build/tests/largefile/hugepdf.tex28
1 files changed, 28 insertions, 0 deletions
diff --git a/Build/tests/largefile/hugepdf.tex b/Build/tests/largefile/hugepdf.tex
new file mode 100644
index 00000000000..f0b3e3d6213
--- /dev/null
+++ b/Build/tests/largefile/hugepdf.tex
@@ -0,0 +1,28 @@
+% Copyright (C) 2013 Peter Breitenlohner <tex-live@tug.org>
+% You may freely use, modify and/or distribute this file.
+%
+\ifx\fmtname\undefined
+ \input basic
+ \def\fmtname{basic}
+ \ifx\directlua\undefined\else
+ \begingroup
+ \message{Activating LuaTeX primitives}
+ \directlua{tex.enableprimitives('',tex.extraprimitives())}
+ \endgroup
+ \fi
+ \expandafter\dump
+\fi
+%================== 3gb.tex
+\pdfoutput=1
+\pdfcompresslevel=0
+
+\topskip0pt
+\newcount\n
+\loop
+ \pdfximage width \hsize height \vsize {poles.png}
+ \hbox{\pdfrefximage\pdflastximage}
+ \eject
+ \advance\n by1
+ \ifnum\n<5000
+\repeat
+\bye