summaryrefslogtreecommitdiff
path: root/Build/tests/pdf-context4-select
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-02-25 19:22:25 +0000
committerKarl Berry <karl@freefriends.org>2021-02-25 19:22:25 +0000
commitad547a6b5986815fda458221149728d9d9ab1d87 (patch)
tree16296910eb3eca724371474ea9aea3994dc69614 /Build/tests/pdf-context4-select
parent947b43de3dd21d58ccc2ffadefc4441ea1c2a813 (diff)
restore Build,TODO from r57911
git-svn-id: svn://tug.org/texlive/trunk@57915 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/tests/pdf-context4-select')
-rw-r--r--Build/tests/pdf-context4-select/Makefile22
-rw-r--r--Build/tests/pdf-context4-select/knowngood.pdfbin0 -> 49645 bytes
-rw-r--r--Build/tests/pdf-context4-select/knowngood.ppzbin0 -> 140818 bytes
-rw-r--r--Build/tests/pdf-context4-select/mpgraph.mp1
-rw-r--r--Build/tests/pdf-context4-select/pdfselect.log117
-rw-r--r--Build/tests/pdf-context4-select/pdfselect.pdfbin0 -> 48941 bytes
-rw-r--r--Build/tests/pdf-context4-select/sample2e.pdfbin0 -> 71510 bytes
-rw-r--r--Build/tests/pdf-context4-select/texexec-mpgraph.mp1
-rw-r--r--Build/tests/pdf-context4-select/texexec.tex17
-rw-r--r--Build/tests/pdf-context4-select/texexec.tmp9
-rw-r--r--Build/tests/pdf-context4-select/texexec.tui12
11 files changed, 179 insertions, 0 deletions
diff --git a/Build/tests/pdf-context4-select/Makefile b/Build/tests/pdf-context4-select/Makefile
new file mode 100644
index 00000000000..20cd718274e
--- /dev/null
+++ b/Build/tests/pdf-context4-select/Makefile
@@ -0,0 +1,22 @@
+# $Id$
+# 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, it gets a different result from run to
+# run (but not every time), for no apparent reason. Can't yet figure
+# out how to tell what's different, so disable this for now.
+#
+test = pdfselect
+
+select = --pdfselect --selection=1
+check test: sample2e.pdf knowngood.ppz
+ :
+# $(run) $(context) $(select) sample2e.pdf
+# $(pdfcheck) knowngood.ppz $(test).pdf
+
+clean distclean:
+ $(rm) $(test).aux $(test).log $(pdfclean)
+ $(rm) $(ctxclean)
diff --git a/Build/tests/pdf-context4-select/knowngood.pdf b/Build/tests/pdf-context4-select/knowngood.pdf
new file mode 100644
index 00000000000..dd04788a804
--- /dev/null
+++ b/Build/tests/pdf-context4-select/knowngood.pdf
Binary files differ
diff --git a/Build/tests/pdf-context4-select/knowngood.ppz b/Build/tests/pdf-context4-select/knowngood.ppz
new file mode 100644
index 00000000000..2f53299954d
--- /dev/null
+++ b/Build/tests/pdf-context4-select/knowngood.ppz
Binary files differ
diff --git a/Build/tests/pdf-context4-select/mpgraph.mp b/Build/tests/pdf-context4-select/mpgraph.mp
new file mode 100644
index 00000000000..9ad84262382
--- /dev/null
+++ b/Build/tests/pdf-context4-select/mpgraph.mp
@@ -0,0 +1 @@
+end.
diff --git a/Build/tests/pdf-context4-select/pdfselect.log b/Build/tests/pdf-context4-select/pdfselect.log
new file mode 100644
index 00000000000..2a03d841897
--- /dev/null
+++ b/Build/tests/pdf-context4-select/pdfselect.log
@@ -0,0 +1,117 @@
+This is pdfeTeXk, Version 3.141592-1.20a-2.2 (Web2C 7.5.3) (format=cont-en 2004.10.13) 13 OCT 2004 21:02
+entering extended mode
+ %&-line parsing enabled.
+ (/home/karl/src/Master/texmf/web2c/natural.tcx)
+**&cont-en texexec.tex
+(./texexec.tex
+
+ConTeXt ver: 2004.10.07 fmt: 2004.10.13 int: english mes: english
+
+language : language en is active
+<protectionstate 0>
+system : cont-new loaded
+(/home/karl/src/Master/texmf-dist/tex/context/base/cont-new.tex
+systems : beware: some patches loaded from cont-new.tex!
+color : palette rollover is available
+system (E-TEX) : [line 966]
+system (E-TEX) : [line 1021]
+)
+system : cont-old loaded
+(/home/karl/src/Master/texmf-dist/tex/context/base/cont-old.tex
+loading : Context Old Macros
+)
+system : cont-fil loaded
+(/home/karl/src/Master/texmf-dist/tex/context/base/cont-fil.tex
+loading : Context File Synonyms
+)
+system : cont-sys.rme loaded
+(/home/karl/src/Master/texmf-dist/tex/context/user/cont-sys.rme
+fonts : [berry] [ec] []
+(/home/karl/src/Master/texmf-dist/tex/context/base/type-syn.tex) (/home/karl/sr
+c/Master/texmf-dist/tex/context/base/type-enc.tex) (/home/karl/src/Master/texmf
+-dist/tex/context/base/type-siz.tex) (/home/karl/src/Master/texmf-dist/tex/cont
+ext/base/type-map.tex) (/home/karl/src/Master/texmf-dist/tex/context/base/type-
+spe.tex) (/home/karl/src/Master/texmf-dist/tex/context/base/type-exa.tex) (/hom
+e/karl/src/Master/texmf-dist/tex/context/base/type-akb.tex)
+fonts : [map] [base] [all]
+(/home/karl/src/Master/texmf-dist/tex/context/base/type-syn.tex) (/home/karl/sr
+c/Master/texmf-dist/tex/context/base/type-enc.tex) (/home/karl/src/Master/texmf
+-dist/tex/context/base/type-siz.tex) (/home/karl/src/Master/texmf-dist/tex/cont
+ext/base/type-map.tex) (/home/karl/src/Master/texmf-dist/tex/context/base/type-
+spe.tex) (/home/karl/src/Master/texmf-dist/tex/context/base/type-exa.tex) (/hom
+e/karl/src/Master/texmf-dist/tex/context/base/type-akb.tex))
+bodyfont : 12pt rm is loaded
+language : patterns en->default:default->1->2:2 uk->default:default->2->2
+:2 de->texnansi:texnansi->3->2:2 de->ec:ec->4->2:2 fr->texnansi:texnansi->5->2:
+2 fr->ec:ec->6->2:2 es->default:default->7->2:2 it->texnansi:texnansi->8->2:2 i
+t->ec:ec->9->2:2 nl->texnansi:texnansi->10->2:2 nl->ec:ec->11->2:2 loaded
+specials : tex,postscript,rokicki loaded
+\openout2 = `texexec.tui'.
+
+system : texexec.top loaded
+(./texexec.top
+specials : loading definition file tpd
+(/home/karl/src/Master/texmf-dist/tex/context/base/spec-tpd.tex
+specials : loading definition file fdf
+(/home/karl/src/Master/texmf-dist/tex/context/base/spec-fdf.tex <unprotect 3> <
+unprotect 4>
+system (E-TEX) : [line 2256] \ifcsname
+<protect 4> <protect 3>)
+specials : fdf loaded
+<unprotect 3> <protect 3>)
+specials : fdf,tpd loaded
+
+)
+\openout0 = `texexec-mpgraph.mp'.
+
+\openout0 = `mpgraph.mp'.
+
+fonts : using map file: all-base.map
+fonts : using map file: original-public-csr.map
+fonts : using map file: original-public-plr.map
+fonts : using map file: original-public-lm.map
+fonts : using map file: original-ams-euler.map
+fonts : using map file: original-ams-cmr.map
+fonts : using map file: texnansi-base.map
+fonts : using map file: qx-base.map
+fonts : using map file: 8r-base.map
+fonts : using map file: ec-base.map
+fonts : using map file: ec-public-lm.map
+fonts : using map file: original-base.map
+systems : begin file texexec at line 14
+ <./sample2e.pdf{/home/karl/src/Master/texmf-dist/fonts/map/pdftex/context/orig
+inal-empty.map}
+Warning: pdfetex (file all-base.map): cannot open font map file
+{/home/karl/src/Master/texmf-dist/fonts/map/pdftex/context/original-public-csr.
+map}{/home/karl/src/Master/texmf-dist/fonts/map/pdftex/context/original-public-
+plr.map}{/home/karl/src/Master/texmf-dist/fonts/map/pdftex/context/original-pub
+lic-lm.map}{/home/karl/src/Master/texmf-dist/fonts/map/pdftex/context/original-
+ams-euler.map}{/home/karl/src/Master/texmf-dist/fonts/map/pdftex/context/origin
+al-ams-cmr.map}{/home/karl/src/Master/texmf-dist/fonts/map/pdftex/context/texna
+nsi-base.map}{/home/karl/src/Master/texmf-dist/fonts/map/pdftex/context/qx-base
+.map}{/home/karl/src/Master/texmf-dist/fonts/map/pdftex/context/8r-base.map}{/h
+ome/karl/src/Master/texmf-dist/fonts/map/pdftex/context/ec-base.map}{/home/karl
+/src/Master/texmf-dist/fonts/map/pdftex/context/ec-public-lm.map}{/home/karl/sr
+c/Master/texmf-dist/fonts/map/pdftex/context/original-base.map}>
+figures : dimensions of ./sample2e.pdf loaded from figurefile itself
+[1.1]
+systems : end file texexec at line 17
+ )
+Here is how much of TeX's memory you used:
+ 1075 strings out of 65812
+ 18393 string characters out of 706771
+ 4443218 words of memory out of 5528988
+ 32990 multiletter control sequences out of 10000+50000
+ 10883 words of font info for 36 fonts, out of 1000000 for 2000
+ 104 hyphenation exceptions out of 1000
+ 41i,17n,45p,236b,419s stack positions out of 5000i,500n,6000p,200000b,40000s
+ 54 PDF objects out of 300000
+ 0 named destinations out of 131072
+ 11 words of extra memory for PDF output out of 65536
+</home/karl/src/Master/texmf-dist/fonts/type1/bluesky/cm/cmti10.pfb></home/ka
+rl/src/Master/texmf-dist/fonts/type1/bluesky/cm/cmsy10.pfb></home/karl/src/Mast
+er/texmf-dist/fonts/type1/bluesky/cm/cmr7.pfb></home/karl/src/Master/texmf-dist
+/fonts/type1/bluesky/cm/cmr10.pfb></home/karl/src/Master/texmf-dist/fonts/type1
+/bluesky/cm/cmr12.pfb></home/karl/src/Master/texmf-dist/fonts/type1/bluesky/cm/
+cmr17.pfb>
+Output written on texexec.pdf (1 page, 48941 bytes).
diff --git a/Build/tests/pdf-context4-select/pdfselect.pdf b/Build/tests/pdf-context4-select/pdfselect.pdf
new file mode 100644
index 00000000000..e12d89e8bca
--- /dev/null
+++ b/Build/tests/pdf-context4-select/pdfselect.pdf
Binary files differ
diff --git a/Build/tests/pdf-context4-select/sample2e.pdf b/Build/tests/pdf-context4-select/sample2e.pdf
new file mode 100644
index 00000000000..07d1cd0173f
--- /dev/null
+++ b/Build/tests/pdf-context4-select/sample2e.pdf
Binary files differ
diff --git a/Build/tests/pdf-context4-select/texexec-mpgraph.mp b/Build/tests/pdf-context4-select/texexec-mpgraph.mp
new file mode 100644
index 00000000000..9ad84262382
--- /dev/null
+++ b/Build/tests/pdf-context4-select/texexec-mpgraph.mp
@@ -0,0 +1 @@
+end.
diff --git a/Build/tests/pdf-context4-select/texexec.tex b/Build/tests/pdf-context4-select/texexec.tex
new file mode 100644
index 00000000000..557f97496bb
--- /dev/null
+++ b/Build/tests/pdf-context4-select/texexec.tex
@@ -0,0 +1,17 @@
+% format=english
+\definepapersize
+ [offset=0pt]
+\setuplayout
+ [backspace=0pt,
+ topspace=0pt,
+ width=middle,
+ height=middle,
+ location=middle,
+ header=0pt,
+ footer=0pt]
+\setupexternalfigures
+ [directory=]
+\starttext
+\filterpages
+ [sample2e.pdf][1][width=0pt]
+\stoptext
diff --git a/Build/tests/pdf-context4-select/texexec.tmp b/Build/tests/pdf-context4-select/texexec.tmp
new file mode 100644
index 00000000000..e0e5b3c270c
--- /dev/null
+++ b/Build/tests/pdf-context4-select/texexec.tmp
@@ -0,0 +1,9 @@
+% texexec.top
+\unprotect
+\setupsystem[file=pdfselect]
+\setupoutput[pdftex]
+\batchmode
+\setupsystem[\c!directory={/home/karl/}]
+\setupsystem[\c!n=3]
+\setupsystem[inputfile=texexec.tex]
+\protect
diff --git a/Build/tests/pdf-context4-select/texexec.tui b/Build/tests/pdf-context4-select/texexec.tui
new file mode 100644
index 00000000000..45c8c7dae33
--- /dev/null
+++ b/Build/tests/pdf-context4-select/texexec.tui
@@ -0,0 +1,12 @@
+c \thisissectionseparator{:}
+c \thisisutilityversion{2003.07.19}
+c \thisisbytesequence{ã}
+f b {texexec}
+c \initializevariable\usedcolorchannels{}
+f e {texexec}
+c \initializevariable\lastpage{1}
+c \initializevariable\lastpagenumber{1}
+c \initializevariable\totalnofMPgraphics{0}
+c \initializevariable\totalnofpositions{0}
+c \initializevariable\totalnofparbackgrounds{0}
+c \initializevariable\currentstrategypass{1}