summaryrefslogtreecommitdiff
path: root/Master/support/tests/tryconcat
diff options
context:
space:
mode:
Diffstat (limited to 'Master/support/tests/tryconcat')
-rw-r--r--Master/support/tests/tryconcat/Makefile18
-rw-r--r--Master/support/tests/tryconcat/knowngood.pdfbin0 -> 35978 bytes
-rw-r--r--Master/support/tests/tryconcat/knowngood.ppzbin0 -> 75517 bytes
-rw-r--r--Master/support/tests/tryconcat/mpgraph.mp1
-rw-r--r--Master/support/tests/tryconcat/pdfconcat.pdfbin0 -> 35995 bytes
-rw-r--r--Master/support/tests/tryconcat/small2e.pdfbin0 -> 32653 bytes
-rw-r--r--Master/support/tests/tryconcat/texexec.tex22
-rw-r--r--Master/support/tests/tryconcat/texexec.tmp9
-rw-r--r--Master/support/tests/tryconcat/texexec.tui11
9 files changed, 61 insertions, 0 deletions
diff --git a/Master/support/tests/tryconcat/Makefile b/Master/support/tests/tryconcat/Makefile
new file mode 100644
index 00000000000..c98cf7f2759
--- /dev/null
+++ b/Master/support/tests/tryconcat/Makefile
@@ -0,0 +1,18 @@
+# $Id: //depot/Master/support/tests/pdf-context4-select/Makefile#3 $ $Date: 2004/08/03 $ $Author: karl $
+# Originally written 2004 by Karl Berry. Public domain.
+
+include ../common.mak
+
+# select a given page from a pdf file, using context.
+# except this test does not work, context gives a very different result
+# from run to run. Sigh.
+test = pdfconcat
+
+testopt = --pdfcombine --comb=1\*1 --paperoffset=1sp --nobanner
+check test: small2e.pdf knowngood.ppz
+ $(run) $(context) $(testopt) small2e.pdf small2e.pdf
+ $(pdfcheck) knowngood.ppz $(test).pdf
+
+clean distclean:
+ $(rm) $(test).aux $(test).log $(pdfclean)
+ $(rm) $(ctxclean)
diff --git a/Master/support/tests/tryconcat/knowngood.pdf b/Master/support/tests/tryconcat/knowngood.pdf
new file mode 100644
index 00000000000..06cd85579b1
--- /dev/null
+++ b/Master/support/tests/tryconcat/knowngood.pdf
Binary files differ
diff --git a/Master/support/tests/tryconcat/knowngood.ppz b/Master/support/tests/tryconcat/knowngood.ppz
new file mode 100644
index 00000000000..1d1ae5ddc50
--- /dev/null
+++ b/Master/support/tests/tryconcat/knowngood.ppz
Binary files differ
diff --git a/Master/support/tests/tryconcat/mpgraph.mp b/Master/support/tests/tryconcat/mpgraph.mp
new file mode 100644
index 00000000000..9ad84262382
--- /dev/null
+++ b/Master/support/tests/tryconcat/mpgraph.mp
@@ -0,0 +1 @@
+end.
diff --git a/Master/support/tests/tryconcat/pdfconcat.pdf b/Master/support/tests/tryconcat/pdfconcat.pdf
new file mode 100644
index 00000000000..e3c0ebd8059
--- /dev/null
+++ b/Master/support/tests/tryconcat/pdfconcat.pdf
Binary files differ
diff --git a/Master/support/tests/tryconcat/small2e.pdf b/Master/support/tests/tryconcat/small2e.pdf
new file mode 100644
index 00000000000..d9b265ac48e
--- /dev/null
+++ b/Master/support/tests/tryconcat/small2e.pdf
Binary files differ
diff --git a/Master/support/tests/tryconcat/texexec.tex b/Master/support/tests/tryconcat/texexec.tex
new file mode 100644
index 00000000000..0793afa2270
--- /dev/null
+++ b/Master/support/tests/tryconcat/texexec.tex
@@ -0,0 +1,22 @@
+% format=english
+\setuplayout
+ [topspace=1sp,
+ backspace=1sp,
+ header=0pt,
+ footer=1cm,
+ width=middle,
+ height=middle]
+\setuplayout
+ [footer=0cm]
+\setupexternalfigures
+ [directory=]
+\starttext
+\setupfootertexts
+ [small2e.pdf\space---\space\currentdate\space---\space\pagenumber]
+\combinepages[small2e.pdf][nx=1,ny=1]
+\page
+\setupfootertexts
+ [small2e.pdf\space---\space\currentdate\space---\space\pagenumber]
+\combinepages[small2e.pdf][nx=1,ny=1]
+\page
+\stoptext
diff --git a/Master/support/tests/tryconcat/texexec.tmp b/Master/support/tests/tryconcat/texexec.tmp
new file mode 100644
index 00000000000..6ee6515b901
--- /dev/null
+++ b/Master/support/tests/tryconcat/texexec.tmp
@@ -0,0 +1,9 @@
+% texexec.top
+\unprotect
+\setupsystem[file=pdfconcat]
+\setupoutput[pdftex]
+\batchmode
+\setupsystem[\c!gebied={/home/karl/}]
+\setupsystem[\c!n=3]
+\setupsystem[inputfile=texexec.tex]
+\protect
diff --git a/Master/support/tests/tryconcat/texexec.tui b/Master/support/tests/tryconcat/texexec.tui
new file mode 100644
index 00000000000..c64872e8e3c
--- /dev/null
+++ b/Master/support/tests/tryconcat/texexec.tui
@@ -0,0 +1,11 @@
+c \thisissectionseparator{:}
+c \thisisutilityversion{2003.07.19}
+f b {texexec}
+c \initializevariable\usedcolorchannels{}
+f e {texexec}
+c \initializevariable\lastpage{2}
+c \initializevariable\lastpagenumber{2}
+c \initializevariable\totalnofMPgraphics{0}
+c \initializevariable\totalnofpositions{0}
+c \initializevariable\totalnofparbackgrounds{0}
+c \initializevariable\currentstrategypass{1}