diff options
Diffstat (limited to 'Build/source/texk/psutils/tests')
-rw-r--r-- | Build/source/texk/psutils/tests/play.ps | 305 | ||||
-rw-r--r-- | Build/source/texk/psutils/tests/playbook.2 | 1 | ||||
-rw-r--r-- | Build/source/texk/psutils/tests/playnup.2 | 1 | ||||
-rw-r--r-- | Build/source/texk/psutils/tests/playnup1.2 | 1 | ||||
-rw-r--r-- | Build/source/texk/psutils/tests/playps.2 | 1 | ||||
-rw-r--r-- | Build/source/texk/psutils/tests/playres.ps | 422 | ||||
-rw-r--r-- | Build/source/texk/psutils/tests/playsel.2 | 1 | ||||
-rw-r--r-- | Build/source/texk/psutils/tests/playsel1.2 | 1 | ||||
-rw-r--r-- | Build/source/texk/psutils/tests/plot.eps | 311 | ||||
-rw-r--r-- | Build/source/texk/psutils/tests/ploth.eps | 318 | ||||
-rw-r--r-- | Build/source/texk/psutils/tests/plotm.eps | 319 | ||||
-rw-r--r-- | Build/source/texk/psutils/tests/plotv.eps | 318 |
12 files changed, 1999 insertions, 0 deletions
diff --git a/Build/source/texk/psutils/tests/play.ps b/Build/source/texk/psutils/tests/play.ps new file mode 100644 index 00000000000..c51a844b092 --- /dev/null +++ b/Build/source/texk/psutils/tests/play.ps @@ -0,0 +1,305 @@ +%!PS-Adobe-2.0 +%%Creator: dvips(k) 5.98 Copyright 2009 Radical Eye Software +%%Title: play.dvi +%%CreationDate: Fri Sep 23 19:01:22 2011 +%%Pages: 20 +%%PageOrder: Ascend +%%BoundingBox: 0 0 596 842 +%%DocumentFonts: Times-Roman +%%DocumentPaperSizes: a4 +%%EndComments +%DVIPSWebPage: (www.radicaleye.com) +%DVIPSCommandLine: dvips play.dvi +%DVIPSParameters: dpi=600 +%DVIPSSource: TeX output 2011.09.23:1901 +%%BeginProcSet: tex.pro 0 0 +%! +/TeXDict 300 dict def TeXDict begin/N{def}def/B{bind def}N/S{exch}N/X{S +N}B/A{dup}B/TR{translate}N/isls false N/vsize 11 72 mul N/hsize 8.5 72 +mul N/landplus90{false}def/@rigin{isls{[0 landplus90{1 -1}{-1 1}ifelse 0 +0 0]concat}if 72 Resolution div 72 VResolution div neg scale isls{ +landplus90{VResolution 72 div vsize mul 0 exch}{Resolution -72 div hsize +mul 0}ifelse TR}if Resolution VResolution vsize -72 div 1 add mul TR[ +matrix currentmatrix{A A round sub abs 0.00001 lt{round}if}forall round +exch round exch]setmatrix}N/@landscape{/isls true N}B/@manualfeed{ +statusdict/manualfeed true put}B/@copies{/#copies X}B/FMat[1 0 0 -1 0 0] +N/FBB[0 0 0 0]N/nn 0 N/IEn 0 N/ctr 0 N/df-tail{/nn 8 dict N nn begin +/FontType 3 N/FontMatrix fntrx N/FontBBox FBB N string/base X array +/BitMaps X/BuildChar{CharBuilder}N/Encoding IEn N end A{/foo setfont}2 +array copy cvx N load 0 nn put/ctr 0 N[}B/sf 0 N/df{/sf 1 N/fntrx FMat N +df-tail}B/dfs{div/sf X/fntrx[sf 0 0 sf neg 0 0]N df-tail}B/E{pop nn A +definefont setfont}B/Cw{Cd A length 5 sub get}B/Ch{Cd A length 4 sub get +}B/Cx{128 Cd A length 3 sub get sub}B/Cy{Cd A length 2 sub get 127 sub} +B/Cdx{Cd A length 1 sub get}B/Ci{Cd A type/stringtype ne{ctr get/ctr ctr +1 add N}if}B/CharBuilder{save 3 1 roll S A/base get 2 index get S +/BitMaps get S get/Cd X pop/ctr 0 N Cdx 0 Cx Cy Ch sub Cx Cw add Cy +setcachedevice Cw Ch true[1 0 0 -1 -.1 Cx sub Cy .1 sub]{Ci}imagemask +restore}B/D{/cc X A type/stringtype ne{]}if nn/base get cc ctr put nn +/BitMaps get S ctr S sf 1 ne{A A length 1 sub A 2 index S get sf div put +}if put/ctr ctr 1 add N}B/I{cc 1 add D}B/bop{userdict/bop-hook known{ +bop-hook}if/SI save N @rigin 0 0 moveto/V matrix currentmatrix A 1 get A +mul exch 0 get A mul add .99 lt{/QV}{/RV}ifelse load def pop pop}N/eop{ +SI restore userdict/eop-hook known{eop-hook}if showpage}N/@start{ +userdict/start-hook known{start-hook}if pop/VResolution X/Resolution X +1000 div/DVImag X/IEn 256 array N 2 string 0 1 255{IEn S A 360 add 36 4 +index cvrs cvn put}for pop 65781.76 div/vsize X 65781.76 div/hsize X}N +/p{show}N/RMat[1 0 0 -1 0 0]N/BDot 260 string N/Rx 0 N/Ry 0 N/V{}B/RV/v{ +/Ry X/Rx X V}B statusdict begin/product where{pop false[(Display)(NeXT) +(LaserWriter 16/600)]{A length product length le{A length product exch 0 +exch getinterval eq{pop true exit}if}{pop}ifelse}forall}{false}ifelse +end{{gsave TR -.1 .1 TR 1 1 scale Rx Ry false RMat{BDot}imagemask +grestore}}{{gsave TR -.1 .1 TR Rx Ry scale 1 1 false RMat{BDot} +imagemask grestore}}ifelse B/QV{gsave newpath transform round exch round +exch itransform moveto Rx 0 rlineto 0 Ry neg rlineto Rx neg 0 rlineto +fill grestore}B/a{moveto}B/delta 0 N/tail{A/delta X 0 rmoveto}B/M{S p +delta add tail}B/b{S p tail}B/c{-4 M}B/d{-3 M}B/e{-2 M}B/f{-1 M}B/g{0 M} +B/h{1 M}B/i{2 M}B/j{3 M}B/k{4 M}B/w{0 rmoveto}B/l{p -4 w}B/m{p -3 w}B/n{ +p -2 w}B/o{p -1 w}B/q{p 1 w}B/r{p 2 w}B/s{p 3 w}B/t{p 4 w}B/x{0 S +rmoveto}B/y{3 2 roll p a}B/bos{/SS save N}B/eos{SS restore}B end + +%%EndProcSet +%%BeginProcSet: 8r.enc 0 0 +% File 8r.enc TeX Base 1 Encoding Revision 2.0 2002-10-30 +% +% @@psencodingfile@{ +% author = "S. Rahtz, P. MacKay, Alan Jeffrey, B. Horn, K. Berry, +% W. Schmidt, P. Lehman", +% version = "2.0", +% date = "27nov06", +% filename = "8r.enc", +% email = "tex-fonts@@tug.org", +% docstring = "This is the encoding vector for Type1 and TrueType +% fonts to be used with TeX. This file is part of the +% PSNFSS bundle, version 9" +% @} +% +% The idea is to have all the characters normally included in Type 1 fonts +% available for typesetting. This is effectively the characters in Adobe +% Standard encoding, ISO Latin 1, Windows ANSI including the euro symbol, +% MacRoman, and some extra characters from Lucida. +% +% Character code assignments were made as follows: +% +% (1) the Windows ANSI characters are almost all in their Windows ANSI +% positions, because some Windows users cannot easily reencode the +% fonts, and it makes no difference on other systems. The only Windows +% ANSI characters not available are those that make no sense for +% typesetting -- rubout (127 decimal), nobreakspace (160), softhyphen +% (173). quotesingle and grave are moved just because it's such an +% irritation not having them in TeX positions. +% +% (2) Remaining characters are assigned arbitrarily to the lower part +% of the range, avoiding 0, 10 and 13 in case we meet dumb software. +% +% (3) Y&Y Lucida Bright includes some extra text characters; in the +% hopes that other PostScript fonts, perhaps created for public +% consumption, will include them, they are included starting at 0x12. +% These are /dotlessj /ff /ffi /ffl. +% +% (4) hyphen appears twice for compatibility with both ASCII and Windows. +% +% (5) /Euro was assigned to 128, as in Windows ANSI +% +% (6) Missing characters from MacRoman encoding incorporated as follows: +% +% PostScript MacRoman TeXBase1 +% -------------- -------------- -------------- +% /notequal 173 0x16 +% /infinity 176 0x17 +% /lessequal 178 0x18 +% /greaterequal 179 0x19 +% /partialdiff 182 0x1A +% /summation 183 0x1B +% /product 184 0x1C +% /pi 185 0x1D +% /integral 186 0x81 +% /Omega 189 0x8D +% /radical 195 0x8E +% /approxequal 197 0x8F +% /Delta 198 0x9D +% /lozenge 215 0x9E +% +/TeXBase1Encoding [ +% 0x00 + /.notdef /dotaccent /fi /fl + /fraction /hungarumlaut /Lslash /lslash + /ogonek /ring /.notdef /breve + /minus /.notdef /Zcaron /zcaron +% 0x10 + /caron /dotlessi /dotlessj /ff + /ffi /ffl /notequal /infinity + /lessequal /greaterequal /partialdiff /summation + /product /pi /grave /quotesingle +% 0x20 + /space /exclam /quotedbl /numbersign + /dollar /percent /ampersand /quoteright + /parenleft /parenright /asterisk /plus + /comma /hyphen /period /slash +% 0x30 + /zero /one /two /three + /four /five /six /seven + /eight /nine /colon /semicolon + /less /equal /greater /question +% 0x40 + /at /A /B /C + /D /E /F /G + /H /I /J /K + /L /M /N /O +% 0x50 + /P /Q /R /S + /T /U /V /W + /X /Y /Z /bracketleft + /backslash /bracketright /asciicircum /underscore +% 0x60 + /quoteleft /a /b /c + /d /e /f /g + /h /i /j /k + /l /m /n /o +% 0x70 + /p /q /r /s + /t /u /v /w + /x /y /z /braceleft + /bar /braceright /asciitilde /.notdef +% 0x80 + /Euro /integral /quotesinglbase /florin + /quotedblbase /ellipsis /dagger /daggerdbl + /circumflex /perthousand /Scaron /guilsinglleft + /OE /Omega /radical /approxequal +% 0x90 + /.notdef /.notdef /.notdef /quotedblleft + /quotedblright /bullet /endash /emdash + /tilde /trademark /scaron /guilsinglright + /oe /Delta /lozenge /Ydieresis +% 0xA0 + /.notdef /exclamdown /cent /sterling + /currency /yen /brokenbar /section + /dieresis /copyright /ordfeminine /guillemotleft + /logicalnot /hyphen /registered /macron +% 0xB0 + /degree /plusminus /twosuperior /threesuperior + /acute /mu /paragraph /periodcentered + /cedilla /onesuperior /ordmasculine /guillemotright + /onequarter /onehalf /threequarters /questiondown +% 0xC0 + /Agrave /Aacute /Acircumflex /Atilde + /Adieresis /Aring /AE /Ccedilla + /Egrave /Eacute /Ecircumflex /Edieresis + /Igrave /Iacute /Icircumflex /Idieresis +% 0xD0 + /Eth /Ntilde /Ograve /Oacute + /Ocircumflex /Otilde /Odieresis /multiply + /Oslash /Ugrave /Uacute /Ucircumflex + /Udieresis /Yacute /Thorn /germandbls +% 0xE0 + /agrave /aacute /acircumflex /atilde + /adieresis /aring /ae /ccedilla + /egrave /eacute /ecircumflex /edieresis + /igrave /iacute /icircumflex /idieresis +% 0xF0 + /eth /ntilde /ograve /oacute + /ocircumflex /otilde /odieresis /divide + /oslash /ugrave /uacute /ucircumflex + /udieresis /yacute /thorn /ydieresis +] def + + +%%EndProcSet +%%BeginProcSet: texps.pro 0 0 +%! +TeXDict begin/rf{findfont dup length 1 add dict begin{1 index/FID ne 2 +index/UniqueID ne and{def}{pop pop}ifelse}forall[1 index 0 6 -1 roll +exec 0 exch 5 -1 roll VResolution Resolution div mul neg 0 0]FontType 0 +ne{/Metrics exch def dict begin Encoding{exch dup type/integertype ne{ +pop pop 1 sub dup 0 le{pop}{[}ifelse}{FontMatrix 0 get div Metrics 0 get +div def}ifelse}forall Metrics/Metrics currentdict end def}{{1 index type +/nametype eq{exit}if exch pop}loop}ifelse[2 index currentdict end +definefont 3 -1 roll makefont/setfont cvx]cvx def}def/ObliqueSlant{dup +sin S cos div neg}B/SlantFont{4 index mul add}def/ExtendFont{3 -1 roll +mul exch}def/ReEncodeFont{CharStrings rcheck{/Encoding false def dup[ +exch{dup CharStrings exch known not{pop/.notdef/Encoding true def}if} +forall Encoding{]exch pop}{cleartomark}ifelse}if/Encoding exch def}def +end + +%%EndProcSet +TeXDict begin 39158280 55380996 1000 600 600 (play.dvi) +@start /Fa 198[415 415 415 415 415 415 415 415 415 415 +48[{TeXBase1Encoding ReEncodeFont}10 830.22 /Times-Roman +rf /Fb 198[83 83 83 83 83 83 83 83 83 83 48[{ +TeXBase1Encoding ReEncodeFont}10 166.044 /Times-Roman +rf end +%%EndProlog +%%BeginSetup +%%Feature: *Resolution 600dpi +TeXDict begin +%%BeginPaperSize: a4 +/setpagedevice where +{ pop << /PageSize [595 842] >> setpagedevice } +{ /a4 where { pop a4 } if } +ifelse +%%EndPaperSize + end +%%EndSetup +%%Page: 11 1 +TeXDict begin 11 0 bop 330 419 a Fb(1)2834 b(1)1622 3268 +y Fa(1)330 5670 y Fb(1)g(1)p eop end +%%Page: 12 2 +TeXDict begin 12 1 bop 330 419 a Fb(2)2834 b(2)1622 3268 +y Fa(2)330 5670 y Fb(2)g(2)p eop end +%%Page: 13 3 +TeXDict begin 13 2 bop 330 419 a Fb(3)2834 b(3)1622 3264 +y Fa(3)330 5670 y Fb(3)g(3)p eop end +%%Page: 14 4 +TeXDict begin 14 3 bop 330 419 a Fb(4)2834 b(4)1622 3268 +y Fa(4)330 5670 y Fb(4)g(4)p eop end +%%Page: 15 5 +TeXDict begin 15 4 bop 330 423 a Fb(5)2834 b(5)1622 3275 +y Fa(5)330 5670 y Fb(5)g(5)p eop end +%%Page: 16 6 +TeXDict begin 16 5 bop 330 419 a Fb(6)2834 b(6)1622 3264 +y Fa(6)330 5670 y Fb(6)g(6)p eop end +%%Page: 17 7 +TeXDict begin 17 6 bop 330 419 a Fb(7)2834 b(7)1622 3266 +y Fa(7)330 5670 y Fb(7)g(7)p eop end +%%Page: 18 8 +TeXDict begin 18 7 bop 330 419 a Fb(8)2834 b(8)1622 3264 +y Fa(8)330 5670 y Fb(8)g(8)p eop end +%%Page: 19 9 +TeXDict begin 19 8 bop 330 419 a Fb(9)2834 b(9)1622 3261 +y Fa(9)330 5670 y Fb(9)g(9)p eop end +%%Page: 20 10 +TeXDict begin 20 9 bop 330 419 a Fb(10)2668 b(10)1415 +3264 y Fa(10)330 5670 y Fb(10)g(10)p eop end +%%Page: 21 11 +TeXDict begin 21 10 bop 330 419 a Fb(11)2668 b(11)1415 +3268 y Fa(11)330 5670 y Fb(11)g(11)p eop end +%%Page: 22 12 +TeXDict begin 22 11 bop 330 419 a Fb(12)2668 b(12)1415 +3268 y Fa(12)330 5670 y Fb(12)g(12)p eop end +%%Page: 23 13 +TeXDict begin 23 12 bop 330 419 a Fb(13)2668 b(13)1415 +3264 y Fa(13)330 5670 y Fb(13)g(13)p eop end +%%Page: 24 14 +TeXDict begin 24 13 bop 330 419 a Fb(14)2668 b(14)1415 +3268 y Fa(14)330 5670 y Fb(14)g(14)p eop end +%%Page: 25 15 +TeXDict begin 25 14 bop 330 423 a Fb(15)2668 b(15)1415 +3275 y Fa(15)330 5670 y Fb(15)g(15)p eop end +%%Page: 26 16 +TeXDict begin 26 15 bop 330 419 a Fb(16)2668 b(16)1415 +3264 y Fa(16)330 5670 y Fb(16)g(16)p eop end +%%Page: 27 17 +TeXDict begin 27 16 bop 330 419 a Fb(17)2668 b(17)1415 +3266 y Fa(17)330 5670 y Fb(17)g(17)p eop end +%%Page: 28 18 +TeXDict begin 28 17 bop 330 419 a Fb(18)2668 b(18)1415 +3264 y Fa(18)330 5670 y Fb(18)g(18)p eop end +%%Page: 29 19 +TeXDict begin 29 18 bop 330 419 a Fb(19)2668 b(19)1415 +3261 y Fa(19)330 5670 y Fb(19)g(19)p eop end +%%Page: 30 20 +TeXDict begin 30 19 bop 330 419 a Fb(20)2668 b(20)1415 +3264 y Fa(20)330 5670 y Fb(20)g(20)p eop end +%%Trailer + +userdict /end-hook known{end-hook}if +%%EOF diff --git a/Build/source/texk/psutils/tests/playbook.2 b/Build/source/texk/psutils/tests/playbook.2 new file mode 100644 index 00000000000..353bc098e86 --- /dev/null +++ b/Build/source/texk/psutils/tests/playbook.2 @@ -0,0 +1 @@ +[4] [1] [2] [3] [8] [5] [6] [7] [*] [9] [10] [11] Wrote 12 pages, 10984 bytes diff --git a/Build/source/texk/psutils/tests/playnup.2 b/Build/source/texk/psutils/tests/playnup.2 new file mode 100644 index 00000000000..0c486cfccc1 --- /dev/null +++ b/Build/source/texk/psutils/tests/playnup.2 @@ -0,0 +1 @@ +[1] [2] [3] [4] [5] [6] Wrote 6 pages, 16644 bytes diff --git a/Build/source/texk/psutils/tests/playnup1.2 b/Build/source/texk/psutils/tests/playnup1.2 new file mode 100644 index 00000000000..c385d91de01 --- /dev/null +++ b/Build/source/texk/psutils/tests/playnup1.2 @@ -0,0 +1 @@ +[1] Wrote 1 pages, 19503 bytes diff --git a/Build/source/texk/psutils/tests/playps.2 b/Build/source/texk/psutils/tests/playps.2 new file mode 100644 index 00000000000..548507ce9e0 --- /dev/null +++ b/Build/source/texk/psutils/tests/playps.2 @@ -0,0 +1 @@ +[1] [2] [3] [4] [5] [6] Wrote 6 pages, 16696 bytes diff --git a/Build/source/texk/psutils/tests/playres.ps b/Build/source/texk/psutils/tests/playres.ps new file mode 100644 index 00000000000..c64265ad217 --- /dev/null +++ b/Build/source/texk/psutils/tests/playres.ps @@ -0,0 +1,422 @@ +%!PS-Adobe-2.0 +%%Creator: dvips(k) 5.98 Copyright 2009 Radical Eye Software +%%Title: play.dvi +%%CreationDate: Fri Sep 23 19:01:22 2011 +%%DocumentMedia: plain 595 844 0 () () +%%BoundingBox: 0 0 595 844 +%%Pages: 11 0 +%%PageOrder: Ascend +%%DocumentFonts: Times-Roman +%%EndComments +%%BeginProcSet: PStoPS 1 15 +userdict begin +[/showpage/erasepage/copypage]{dup where{pop dup load + type/operatortype eq{ /PStoPSenablepage cvx 1 index load 1 array astore cvx {} bind /ifelse cvx 4 array astore cvx def}{pop}ifelse}{pop}ifelse}forall /PStoPSenablepage true def +[/letter/legal/executivepage/a4/a4small/b5/com10envelope + /monarchenvelope/c5envelope/dlenvelope/lettersmall/note + /folio/quarto/a5]{dup where{dup wcheck{exch{}put} + {pop{}def}ifelse}{pop}ifelse}forall +/setpagedevice {pop}bind 1 index where{dup wcheck{3 1 roll put} + {pop def}ifelse}{def}ifelse +/PStoPSmatrix matrix currentmatrix def +/PStoPSxform matrix def/PStoPSclip{clippath}def +/defaultmatrix{PStoPSmatrix exch PStoPSxform exch concatmatrix}bind def +/initmatrix{matrix defaultmatrix setmatrix}bind def +/initclip[{matrix currentmatrix PStoPSmatrix setmatrix + [{currentpoint}stopped{$error/newerror false put{newpath}} + {/newpath cvx 3 1 roll/moveto cvx 4 array astore cvx}ifelse] + {[/newpath cvx{/moveto cvx}{/lineto cvx} + {/curveto cvx}{/closepath cvx}pathforall]cvx exch pop} + stopped{$error/errorname get/invalidaccess eq{cleartomark + $error/newerror false put cvx exec}{stop}ifelse}if}bind aload pop + /initclip dup load dup type dup/operatortype eq{pop exch pop} + {dup/arraytype eq exch/packedarraytype eq or + {dup xcheck{exch pop aload pop}{pop cvx}ifelse} + {pop cvx}ifelse}ifelse + {newpath PStoPSclip clip newpath exec setmatrix} bind aload pop]cvx def +/initgraphics{initmatrix newpath initclip 1 setlinewidth + 0 setlinecap 0 setlinejoin []0 setdash 0 setgray + 10 setmiterlimit}bind def +end +%%EndProcSet +%DVIPSWebPage: (www.radicaleye.com) +%DVIPSCommandLine: dvips play.dvi +%DVIPSParameters: dpi=600 +%DVIPSSource: TeX output 2011.09.23:1901 +%%BeginProcSet: tex.pro 0 0 +%! +/TeXDict 300 dict def TeXDict begin/N{def}def/B{bind def}N/S{exch}N/X{S +N}B/A{dup}B/TR{translate}N/isls false N/vsize 11 72 mul N/hsize 8.5 72 +mul N/landplus90{false}def/@rigin{isls{[0 landplus90{1 -1}{-1 1}ifelse 0 +0 0]concat}if 72 Resolution div 72 VResolution div neg scale isls{ +landplus90{VResolution 72 div vsize mul 0 exch}{Resolution -72 div hsize +mul 0}ifelse TR}if Resolution VResolution vsize -72 div 1 add mul TR[ +matrix currentmatrix{A A round sub abs 0.00001 lt{round}if}forall round +exch round exch]setmatrix}N/@landscape{/isls true N}B/@manualfeed{ +statusdict/manualfeed true put}B/@copies{/#copies X}B/FMat[1 0 0 -1 0 0] +N/FBB[0 0 0 0]N/nn 0 N/IEn 0 N/ctr 0 N/df-tail{/nn 8 dict N nn begin +/FontType 3 N/FontMatrix fntrx N/FontBBox FBB N string/base X array +/BitMaps X/BuildChar{CharBuilder}N/Encoding IEn N end A{/foo setfont}2 +array copy cvx N load 0 nn put/ctr 0 N[}B/sf 0 N/df{/sf 1 N/fntrx FMat N +df-tail}B/dfs{div/sf X/fntrx[sf 0 0 sf neg 0 0]N df-tail}B/E{pop nn A +definefont setfont}B/Cw{Cd A length 5 sub get}B/Ch{Cd A length 4 sub get +}B/Cx{128 Cd A length 3 sub get sub}B/Cy{Cd A length 2 sub get 127 sub} +B/Cdx{Cd A length 1 sub get}B/Ci{Cd A type/stringtype ne{ctr get/ctr ctr +1 add N}if}B/CharBuilder{save 3 1 roll S A/base get 2 index get S +/BitMaps get S get/Cd X pop/ctr 0 N Cdx 0 Cx Cy Ch sub Cx Cw add Cy +setcachedevice Cw Ch true[1 0 0 -1 -.1 Cx sub Cy .1 sub]{Ci}imagemask +restore}B/D{/cc X A type/stringtype ne{]}if nn/base get cc ctr put nn +/BitMaps get S ctr S sf 1 ne{A A length 1 sub A 2 index S get sf div put +}if put/ctr ctr 1 add N}B/I{cc 1 add D}B/bop{userdict/bop-hook known{ +bop-hook}if/SI save N @rigin 0 0 moveto/V matrix currentmatrix A 1 get A +mul exch 0 get A mul add .99 lt{/QV}{/RV}ifelse load def pop pop}N/eop{ +SI restore userdict/eop-hook known{eop-hook}if showpage}N/@start{ +userdict/start-hook known{start-hook}if pop/VResolution X/Resolution X +1000 div/DVImag X/IEn 256 array N 2 string 0 1 255{IEn S A 360 add 36 4 +index cvrs cvn put}for pop 65781.76 div/vsize X 65781.76 div/hsize X}N +/p{show}N/RMat[1 0 0 -1 0 0]N/BDot 260 string N/Rx 0 N/Ry 0 N/V{}B/RV/v{ +/Ry X/Rx X V}B statusdict begin/product where{pop false[(Display)(NeXT) +(LaserWriter 16/600)]{A length product length le{A length product exch 0 +exch getinterval eq{pop true exit}if}{pop}ifelse}forall}{false}ifelse +end{{gsave TR -.1 .1 TR 1 1 scale Rx Ry false RMat{BDot}imagemask +grestore}}{{gsave TR -.1 .1 TR Rx Ry scale 1 1 false RMat{BDot} +imagemask grestore}}ifelse B/QV{gsave newpath transform round exch round +exch itransform moveto Rx 0 rlineto 0 Ry neg rlineto Rx neg 0 rlineto +fill grestore}B/a{moveto}B/delta 0 N/tail{A/delta X 0 rmoveto}B/M{S p +delta add tail}B/b{S p tail}B/c{-4 M}B/d{-3 M}B/e{-2 M}B/f{-1 M}B/g{0 M} +B/h{1 M}B/i{2 M}B/j{3 M}B/k{4 M}B/w{0 rmoveto}B/l{p -4 w}B/m{p -3 w}B/n{ +p -2 w}B/o{p -1 w}B/q{p 1 w}B/r{p 2 w}B/s{p 3 w}B/t{p 4 w}B/x{0 S +rmoveto}B/y{3 2 roll p a}B/bos{/SS save N}B/eos{SS restore}B end + +%%EndProcSet +%%BeginProcSet: 8r.enc 0 0 +% File 8r.enc TeX Base 1 Encoding Revision 2.0 2002-10-30 +% +% @@psencodingfile@{ +% author = "S. Rahtz, P. MacKay, Alan Jeffrey, B. Horn, K. Berry, +% W. Schmidt, P. Lehman", +% version = "2.0", +% date = "27nov06", +% filename = "8r.enc", +% email = "tex-fonts@@tug.org", +% docstring = "This is the encoding vector for Type1 and TrueType +% fonts to be used with TeX. This file is part of the +% PSNFSS bundle, version 9" +% @} +% +% The idea is to have all the characters normally included in Type 1 fonts +% available for typesetting. This is effectively the characters in Adobe +% Standard encoding, ISO Latin 1, Windows ANSI including the euro symbol, +% MacRoman, and some extra characters from Lucida. +% +% Character code assignments were made as follows: +% +% (1) the Windows ANSI characters are almost all in their Windows ANSI +% positions, because some Windows users cannot easily reencode the +% fonts, and it makes no difference on other systems. The only Windows +% ANSI characters not available are those that make no sense for +% typesetting -- rubout (127 decimal), nobreakspace (160), softhyphen +% (173). quotesingle and grave are moved just because it's such an +% irritation not having them in TeX positions. +% +% (2) Remaining characters are assigned arbitrarily to the lower part +% of the range, avoiding 0, 10 and 13 in case we meet dumb software. +% +% (3) Y&Y Lucida Bright includes some extra text characters; in the +% hopes that other PostScript fonts, perhaps created for public +% consumption, will include them, they are included starting at 0x12. +% These are /dotlessj /ff /ffi /ffl. +% +% (4) hyphen appears twice for compatibility with both ASCII and Windows. +% +% (5) /Euro was assigned to 128, as in Windows ANSI +% +% (6) Missing characters from MacRoman encoding incorporated as follows: +% +% PostScript MacRoman TeXBase1 +% -------------- -------------- -------------- +% /notequal 173 0x16 +% /infinity 176 0x17 +% /lessequal 178 0x18 +% /greaterequal 179 0x19 +% /partialdiff 182 0x1A +% /summation 183 0x1B +% /product 184 0x1C +% /pi 185 0x1D +% /integral 186 0x81 +% /Omega 189 0x8D +% /radical 195 0x8E +% /approxequal 197 0x8F +% /Delta 198 0x9D +% /lozenge 215 0x9E +% +/TeXBase1Encoding [ +% 0x00 + /.notdef /dotaccent /fi /fl + /fraction /hungarumlaut /Lslash /lslash + /ogonek /ring /.notdef /breve + /minus /.notdef /Zcaron /zcaron +% 0x10 + /caron /dotlessi /dotlessj /ff + /ffi /ffl /notequal /infinity + /lessequal /greaterequal /partialdiff /summation + /product /pi /grave /quotesingle +% 0x20 + /space /exclam /quotedbl /numbersign + /dollar /percent /ampersand /quoteright + /parenleft /parenright /asterisk /plus + /comma /hyphen /period /slash +% 0x30 + /zero /one /two /three + /four /five /six /seven + /eight /nine /colon /semicolon + /less /equal /greater /question +% 0x40 + /at /A /B /C + /D /E /F /G + /H /I /J /K + /L /M /N /O +% 0x50 + /P /Q /R /S + /T /U /V /W + /X /Y /Z /bracketleft + /backslash /bracketright /asciicircum /underscore +% 0x60 + /quoteleft /a /b /c + /d /e /f /g + /h /i /j /k + /l /m /n /o +% 0x70 + /p /q /r /s + /t /u /v /w + /x /y /z /braceleft + /bar /braceright /asciitilde /.notdef +% 0x80 + /Euro /integral /quotesinglbase /florin + /quotedblbase /ellipsis /dagger /daggerdbl + /circumflex /perthousand /Scaron /guilsinglleft + /OE /Omega /radical /approxequal +% 0x90 + /.notdef /.notdef /.notdef /quotedblleft + /quotedblright /bullet /endash /emdash + /tilde /trademark /scaron /guilsinglright + /oe /Delta /lozenge /Ydieresis +% 0xA0 + /.notdef /exclamdown /cent /sterling + /currency /yen /brokenbar /section + /dieresis /copyright /ordfeminine /guillemotleft + /logicalnot /hyphen /registered /macron +% 0xB0 + /degree /plusminus /twosuperior /threesuperior + /acute /mu /paragraph /periodcentered + /cedilla /onesuperior /ordmasculine /guillemotright + /onequarter /onehalf /threequarters /questiondown +% 0xC0 + /Agrave /Aacute /Acircumflex /Atilde + /Adieresis /Aring /AE /Ccedilla + /Egrave /Eacute /Ecircumflex /Edieresis + /Igrave /Iacute /Icircumflex /Idieresis +% 0xD0 + /Eth /Ntilde /Ograve /Oacute + /Ocircumflex /Otilde /Odieresis /multiply + /Oslash /Ugrave /Uacute /Ucircumflex + /Udieresis /Yacute /Thorn /germandbls +% 0xE0 + /agrave /aacute /acircumflex /atilde + /adieresis /aring /ae /ccedilla + /egrave /eacute /ecircumflex /edieresis + /igrave /iacute /icircumflex /idieresis +% 0xF0 + /eth /ntilde /ograve /oacute + /ocircumflex /otilde /odieresis /divide + /oslash /ugrave /uacute /ucircumflex + /udieresis /yacute /thorn /ydieresis +] def + + +%%EndProcSet +%%BeginProcSet: texps.pro 0 0 +%! +TeXDict begin/rf{findfont dup length 1 add dict begin{1 index/FID ne 2 +index/UniqueID ne and{def}{pop pop}ifelse}forall[1 index 0 6 -1 roll +exec 0 exch 5 -1 roll VResolution Resolution div mul neg 0 0]FontType 0 +ne{/Metrics exch def dict begin Encoding{exch dup type/integertype ne{ +pop pop 1 sub dup 0 le{pop}{[}ifelse}{FontMatrix 0 get div Metrics 0 get +div def}ifelse}forall Metrics/Metrics currentdict end def}{{1 index type +/nametype eq{exit}if exch pop}loop}ifelse[2 index currentdict end +definefont 3 -1 roll makefont/setfont cvx]cvx def}def/ObliqueSlant{dup +sin S cos div neg}B/SlantFont{4 index mul add}def/ExtendFont{3 -1 roll +mul exch}def/ReEncodeFont{CharStrings rcheck{/Encoding false def dup[ +exch{dup CharStrings exch known not{pop/.notdef/Encoding true def}if} +forall Encoding{]exch pop}{cleartomark}ifelse}if/Encoding exch def}def +end + +%%EndProcSet +TeXDict begin 39158280 55380996 1000 600 600 (play.dvi) +@start /Fa 198[415 415 415 415 415 415 415 415 415 415 +48[{TeXBase1Encoding ReEncodeFont}10 830.22 /Times-Roman +rf /Fb 198[83 83 83 83 83 83 83 83 83 83 48[{ +TeXBase1Encoding ReEncodeFont}10 166.044 /Times-Roman +rf end +%%EndProlog +%%BeginSetup +%%Feature: *Resolution 600dpi +TeXDict begin +%%BeginPaperSize: a4 +/setpagedevice where +{ pop << /PageSize [595 842] >> setpagedevice } +{ /a4 where { pop a4 } if } +ifelse +%%EndPaperSize + end +userdict/PStoPSxform PStoPSmatrix matrix currentmatrix + matrix invertmatrix matrix concatmatrix + matrix invertmatrix put +%%EndSetup +%%Page: (0) 1 +userdict/PStoPSsaved save put +PStoPSmatrix setmatrix +0.000000 0.971879 translate +0.704762 dup scale +userdict/PStoPSmatrix matrix currentmatrix put +userdict/PStoPSclip{0 0 moveto + 595.275591 0 rlineto 0 844.647799 rlineto -595.275591 0 rlineto + closepath}put initclip +PStoPSxform concat +TeXDict begin 15 4 bop 330 423 a Fb(5)2834 b(5)1622 3275 +y Fa(5)330 5670 y Fb(5)g(5)p eop end +PStoPSsaved restore +%%Page: (1) 2 +userdict/PStoPSsaved save put +PStoPSmatrix setmatrix +0.000000 0.971879 translate +0.704762 dup scale +userdict/PStoPSmatrix matrix currentmatrix put +userdict/PStoPSclip{0 0 moveto + 595.275591 0 rlineto 0 844.647799 rlineto -595.275591 0 rlineto + closepath}put initclip +PStoPSxform concat +TeXDict begin 16 5 bop 330 419 a Fb(6)2834 b(6)1622 3264 +y Fa(6)330 5670 y Fb(6)g(6)p eop end +PStoPSsaved restore +%%Page: (2) 3 +userdict/PStoPSsaved save put +PStoPSmatrix setmatrix +0.000000 0.971879 translate +0.704762 dup scale +userdict/PStoPSmatrix matrix currentmatrix put +userdict/PStoPSclip{0 0 moveto + 595.275591 0 rlineto 0 844.647799 rlineto -595.275591 0 rlineto + closepath}put initclip +PStoPSxform concat +TeXDict begin 17 6 bop 330 419 a Fb(7)2834 b(7)1622 3266 +y Fa(7)330 5670 y Fb(7)g(7)p eop end +PStoPSsaved restore +%%Page: (3) 4 +userdict/PStoPSsaved save put +PStoPSmatrix setmatrix +0.000000 0.971879 translate +0.704762 dup scale +userdict/PStoPSmatrix matrix currentmatrix put +userdict/PStoPSclip{0 0 moveto + 595.275591 0 rlineto 0 844.647799 rlineto -595.275591 0 rlineto + closepath}put initclip +PStoPSxform concat +TeXDict begin 18 7 bop 330 419 a Fb(8)2834 b(8)1622 3264 +y Fa(8)330 5670 y Fb(8)g(8)p eop end +PStoPSsaved restore +%%Page: (4) 5 +userdict/PStoPSsaved save put +PStoPSmatrix setmatrix +0.000000 0.971879 translate +0.704762 dup scale +userdict/PStoPSmatrix matrix currentmatrix put +userdict/PStoPSclip{0 0 moveto + 595.275591 0 rlineto 0 844.647799 rlineto -595.275591 0 rlineto + closepath}put initclip +PStoPSxform concat +TeXDict begin 19 8 bop 330 419 a Fb(9)2834 b(9)1622 3261 +y Fa(9)330 5670 y Fb(9)g(9)p eop end +PStoPSsaved restore +%%Page: (5) 6 +userdict/PStoPSsaved save put +PStoPSmatrix setmatrix +0.000000 0.971879 translate +0.704762 dup scale +userdict/PStoPSmatrix matrix currentmatrix put +userdict/PStoPSclip{0 0 moveto + 595.275591 0 rlineto 0 844.647799 rlineto -595.275591 0 rlineto + closepath}put initclip +PStoPSxform concat +TeXDict begin 20 9 bop 330 419 a Fb(10)2668 b(10)1415 +3264 y Fa(10)330 5670 y Fb(10)g(10)p eop end +PStoPSsaved restore +%%Page: (6) 7 +userdict/PStoPSsaved save put +PStoPSmatrix setmatrix +0.000000 0.971879 translate +0.704762 dup scale +userdict/PStoPSmatrix matrix currentmatrix put +userdict/PStoPSclip{0 0 moveto + 595.275591 0 rlineto 0 844.647799 rlineto -595.275591 0 rlineto + closepath}put initclip +PStoPSxform concat +TeXDict begin 21 10 bop 330 419 a Fb(11)2668 b(11)1415 +3268 y Fa(11)330 5670 y Fb(11)g(11)p eop end +PStoPSsaved restore +%%Page: (7) 8 +userdict/PStoPSsaved save put +PStoPSmatrix setmatrix +0.000000 0.971879 translate +0.704762 dup scale +userdict/PStoPSmatrix matrix currentmatrix put +userdict/PStoPSclip{0 0 moveto + 595.275591 0 rlineto 0 844.647799 rlineto -595.275591 0 rlineto + closepath}put initclip +PStoPSxform concat +TeXDict begin 22 11 bop 330 419 a Fb(12)2668 b(12)1415 +3268 y Fa(12)330 5670 y Fb(12)g(12)p eop end +PStoPSsaved restore +%%Page: (8) 9 +userdict/PStoPSsaved save put +PStoPSmatrix setmatrix +0.000000 0.971879 translate +0.704762 dup scale +userdict/PStoPSmatrix matrix currentmatrix put +userdict/PStoPSclip{0 0 moveto + 595.275591 0 rlineto 0 844.647799 rlineto -595.275591 0 rlineto + closepath}put initclip +PStoPSxform concat +TeXDict begin 23 12 bop 330 419 a Fb(13)2668 b(13)1415 +3264 y Fa(13)330 5670 y Fb(13)g(13)p eop end +PStoPSsaved restore +%%Page: (9) 10 +userdict/PStoPSsaved save put +PStoPSmatrix setmatrix +0.000000 0.971879 translate +0.704762 dup scale +userdict/PStoPSmatrix matrix currentmatrix put +userdict/PStoPSclip{0 0 moveto + 595.275591 0 rlineto 0 844.647799 rlineto -595.275591 0 rlineto + closepath}put initclip +PStoPSxform concat +TeXDict begin 24 13 bop 330 419 a Fb(14)2668 b(14)1415 +3268 y Fa(14)330 5670 y Fb(14)g(14)p eop end +PStoPSsaved restore +%%Page: (10) 11 +userdict/PStoPSsaved save put +PStoPSmatrix setmatrix +0.000000 0.971879 translate +0.704762 dup scale +userdict/PStoPSmatrix matrix currentmatrix put +userdict/PStoPSclip{0 0 moveto + 595.275591 0 rlineto 0 844.647799 rlineto -595.275591 0 rlineto + closepath}put initclip +PStoPSxform concat +TeXDict begin 25 14 bop 330 423 a Fb(15)2668 b(15)1415 +3275 y Fa(15)330 5670 y Fb(15)g(15)p eop end +PStoPSsaved restore +%%Trailer + +userdict /end-hook known{end-hook}if +%%EOF diff --git a/Build/source/texk/psutils/tests/playsel.2 b/Build/source/texk/psutils/tests/playsel.2 new file mode 100644 index 00000000000..0d1dd700805 --- /dev/null +++ b/Build/source/texk/psutils/tests/playsel.2 @@ -0,0 +1 @@ +[5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] Wrote 11 pages, 10962 bytes diff --git a/Build/source/texk/psutils/tests/playsel1.2 b/Build/source/texk/psutils/tests/playsel1.2 new file mode 100644 index 00000000000..9a18ed105c6 --- /dev/null +++ b/Build/source/texk/psutils/tests/playsel1.2 @@ -0,0 +1 @@ +[1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] Wrote 18 pages, 11736 bytes diff --git a/Build/source/texk/psutils/tests/plot.eps b/Build/source/texk/psutils/tests/plot.eps new file mode 100644 index 00000000000..11bc5843d63 --- /dev/null +++ b/Build/source/texk/psutils/tests/plot.eps @@ -0,0 +1,311 @@ +%!PS-Adobe-3.0 EPSF-3.0 +%%Creator: SM +%%BoundingBox: 34 176 564 568 +%%DocumentNeededResources: font Helvetica +%%LanguageLevel: 1 +%%Pages: 1 +%%EndComments +%%Page: 1 1 + 20 dict begin +72 300 div dup scale +1 setlinejoin 0 setlinecap +/Helvetica findfont 55 scalefont setfont +/B {CS newpath moveto} def +/F {moveto 0 setlinecap} def +/C {CS M 1 1 3 {pop 3 1 roll 255 div} for SET_COLOUR} def +/CS {currentpoint stroke} def +/CF {currentpoint eofill} def +/L {lineto} def /l {rlineto} def /M {moveto} def /m {rmoveto} def +/P {gsave 0 1 rlineto stroke grestore} def +/T {currentlinecap exch 1 setlinecap show setlinecap} def +errordict /nocurrentpoint {pop 0 0 M currentpoint} put +/SET_COLOUR statusdict begin /processcolors where + {pop processcolors 1 gt} {false} ifelse + {(setrgbcolor)} {(pop pop pop)} ifelse cvx end def + 80 600 translate +gsave +CS [] 0 setdash M +CS M 1 100 mul 72 div dup setlinewidth +/P [ /gsave cvx 0 5 -1 roll .05 add dup -2 div 0 exch /rmoveto cvx /rlineto cvx /stroke cvx /grestore cvx ] cvx def + 0 0 0 C + 0 0 0 C +CS [] 0 setdash M +321 295 M CS [] 0 setdash M +321 295 M 321 295 F (p=2 d=8) T +CS [] 0 setdash M +CS [] 0 setdash M + 0 0 0 C +1957 148 M 10 27 m 0 -27 l +1 27 m 0 -27 l +0 15 m 2 6 l +4 4 l +4 2 l +6 0 l +2 -2 l +0 -2 l +-2 -2 l +-2 2 l +2 2 l +-23 2 m 7 0 l +-7 -27 m 13 0 l +41 34 m 0 -34 l +-18 17 m 35 0 l +19 15 m 4 2 l +6 6 l +0 -40 l +-2 38 m 0 -38 l +-8 0 m 17 0 l + 0 0 0 C +CS [] 0 setdash M +CS [] 0 setdash M +219 219 M 2042 0 l +0 1531 l +219 1750 L +219 219 L +2042 0 l +219 219 M 2042 0 l +219 219 M 0 36 l +-16 -120 m 203 135 F (1) T +635 219 M 0 18 l +243 -18 m 0 18 l +173 -18 m 0 18 l +134 -18 m 0 18 l +110 -18 m 0 18 l +92 -18 m 0 18 l +80 -18 m 0 18 l +71 -18 m 0 18 l +63 -18 m 0 36 l +-31 -120 m 1570 135 F (10) T +2018 219 M 0 18 l +243 -18 m 0 18 l +219 1750 M 2042 0 l +219 1750 M 0 -36 l +416 36 m 0 -18 l +243 18 m 0 -18 l +173 18 m 0 -18 l +134 18 m 0 -18 l +110 18 m 0 -18 l +92 18 m 0 -18 l +80 18 m 0 -18 l +71 18 m 0 -18 l +63 18 m 0 -36 l +417 36 m 0 -18 l +243 18 m 0 -18 l +219 219 M 0 1531 l +219 219 M 34 0 l +-125 -28 m 128 191 F (-1) T +219 295 M 17 0 l +-17 77 m 17 0 l +-17 77 m 17 0 l +-17 76 m 17 0 l +-17 77 m 34 0 l +66 574 M 66 574 F (-0.5) T +219 678 M 17 0 l +-17 77 m 17 0 l +-17 76 m 17 0 l +-17 77 m 17 0 l +-17 77 m 34 0 l +-94 -28 m 159 957 F (0) T +219 1061 M 17 0 l +-17 77 m 17 0 l +-17 76 m 17 0 l +-17 77 m 17 0 l +-17 77 m 34 0 l +97 1340 M 97 1340 F (0.5) T +219 1444 M 17 0 l +-17 77 m 17 0 l +-17 76 m 17 0 l +-17 77 m 17 0 l +-17 76 m 34 0 l +-94 -27 m 159 1723 F (1) T +2261 219 M 0 1531 l +2261 219 M -34 0 l +34 76 m -17 0 l +17 77 m -17 0 l +17 77 m -17 0 l +17 76 m -17 0 l +17 77 m -34 0 l +34 76 m -17 0 l +17 77 m -17 0 l +17 76 m -17 0 l +17 77 m -17 0 l +17 77 m -34 0 l +34 76 m -17 0 l +17 77 m -17 0 l +17 76 m -17 0 l +17 77 m -17 0 l +17 77 m -34 0 l +34 76 m -17 0 l +17 77 m -17 0 l +17 76 m -17 0 l +17 77 m -17 0 l +17 76 m -34 0 l +CS [] 0 setdash M +219 1750 M 30 -2 l +29 -6 l +28 -12 l +28 -17 l +25 -21 l +24 -25 l +22 -30 l +20 -32 l +18 -34 l +16 -36 l +15 -36 l +13 -37 l +12 -37 l +11 -36 l +10 -36 l +11 -35 l +10 -34 l +12 -33 l +14 -33 l +15 -32 l +18 -33 l +20 -33 l +23 -33 l +24 -33 l +25 -34 l +27 -35 l +28 -34 l +28 -35 l +29 -35 l +29 -34 l +29 -34 l +30 -33 l +29 -33 l +30 -31 l +30 -30 l +30 -29 l +29 -28 l +30 -26 l +30 -25 l +30 -24 l +30 -23 l +30 -21 l +30 -20 l +30 -19 l +30 -18 l +30 -16 l +30 -16 l +30 -14 l +30 -14 l +29 -12 l +30 -12 l +30 -11 l +30 -10 l +30 -9 l +30 -9 l +30 -8 l +30 -8 l +30 -7 l +30 -6 l +30 -6 l +30 -6 l +30 -5 l +30 -5 l +30 -4 l +30 -4 l +30 -4 l +30 -4 l +29 -3 l +30 -3 l +30 -3 l +30 -3 l +30 -2 l +30 -2 l +30 -2 l +30 -2 l +30 -2 l +30 -1 l +23 -2 l +219 1750 M 30 -5 l +29 -16 l +28 -28 l +28 -37 l +25 -44 l +24 -49 l +22 -51 l +20 -51 l +18 -48 l +16 -45 l +15 -41 l +13 -34 l +12 -27 l +11 -18 l +10 -7 l +11 6 l +10 19 l +12 33 l +14 47 l +15 55 l +18 59 l +20 58 l +23 51 l +24 43 l +25 34 l +27 26 l +28 20 l +28 14 l +29 10 l +29 8 l +29 5 l +30 4 l +29 3 l +30 2 l +30 1 l +30 1 l +29 1 l +30 0 l +30 0 l +30 1 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +29 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +29 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +23 0 l +442 1368 M CS [] 0 setdash M +411 1313 M 411 1313 F (N) T +CS [] 0 setdash M +1122 602 M CS [] 0 setdash M +1122 602 M 1122 602 F (W) T +CS [] 0 setdash M +stroke +grestore +showpage +end +%%Trailer +%%EOF diff --git a/Build/source/texk/psutils/tests/ploth.eps b/Build/source/texk/psutils/tests/ploth.eps new file mode 100644 index 00000000000..0e5ed6cdaf1 --- /dev/null +++ b/Build/source/texk/psutils/tests/ploth.eps @@ -0,0 +1,318 @@ +%!PS-Adobe-3.0 EPSF-3.0 +%%Creator: SM +%%DocumentNeededResources: font Helvetica +%%LanguageLevel: 1 +%%Pages: 1 +%%BoundingBox: 51 0 548 368 +%%EndComments +%%BeginProcSet: epsffit 1 0 +gsave +19.306 -165.224 translate +0.939 0.939 scale +%%EndProcSet + +%%Page: 1 1 + 20 dict begin +72 300 div dup scale +1 setlinejoin 0 setlinecap +/Helvetica findfont 55 scalefont setfont +/B {CS newpath moveto} def +/F {moveto 0 setlinecap} def +/C {CS M 1 1 3 {pop 3 1 roll 255 div} for SET_COLOUR} def +/CS {currentpoint stroke} def +/CF {currentpoint eofill} def +/L {lineto} def /l {rlineto} def /M {moveto} def /m {rmoveto} def +/P {gsave 0 1 rlineto stroke grestore} def +/T {currentlinecap exch 1 setlinecap show setlinecap} def +errordict /nocurrentpoint {pop 0 0 M currentpoint} put +/SET_COLOUR statusdict begin /processcolors where + {pop processcolors 1 gt} {false} ifelse + {(setrgbcolor)} {(pop pop pop)} ifelse cvx end def + 80 600 translate +gsave +CS [] 0 setdash M +CS M 1 100 mul 72 div dup setlinewidth +/P [ /gsave cvx 0 5 -1 roll .05 add dup -2 div 0 exch /rmoveto cvx /rlineto cvx /stroke cvx /grestore cvx ] cvx def + 0 0 0 C + 0 0 0 C +CS [] 0 setdash M +321 295 M CS [] 0 setdash M +321 295 M 321 295 F (p=2 d=8) T +CS [] 0 setdash M +CS [] 0 setdash M + 0 0 0 C +1957 148 M 10 27 m 0 -27 l +1 27 m 0 -27 l +0 15 m 2 6 l +4 4 l +4 2 l +6 0 l +2 -2 l +0 -2 l +-2 -2 l +-2 2 l +2 2 l +-23 2 m 7 0 l +-7 -27 m 13 0 l +41 34 m 0 -34 l +-18 17 m 35 0 l +19 15 m 4 2 l +6 6 l +0 -40 l +-2 38 m 0 -38 l +-8 0 m 17 0 l + 0 0 0 C +CS [] 0 setdash M +CS [] 0 setdash M +219 219 M 2042 0 l +0 1531 l +219 1750 L +219 219 L +2042 0 l +219 219 M 2042 0 l +219 219 M 0 36 l +-16 -120 m 203 135 F (1) T +635 219 M 0 18 l +243 -18 m 0 18 l +173 -18 m 0 18 l +134 -18 m 0 18 l +110 -18 m 0 18 l +92 -18 m 0 18 l +80 -18 m 0 18 l +71 -18 m 0 18 l +63 -18 m 0 36 l +-31 -120 m 1570 135 F (10) T +2018 219 M 0 18 l +243 -18 m 0 18 l +219 1750 M 2042 0 l +219 1750 M 0 -36 l +416 36 m 0 -18 l +243 18 m 0 -18 l +173 18 m 0 -18 l +134 18 m 0 -18 l +110 18 m 0 -18 l +92 18 m 0 -18 l +80 18 m 0 -18 l +71 18 m 0 -18 l +63 18 m 0 -36 l +417 36 m 0 -18 l +243 18 m 0 -18 l +219 219 M 0 1531 l +219 219 M 34 0 l +-125 -28 m 128 191 F (-1) T +219 295 M 17 0 l +-17 77 m 17 0 l +-17 77 m 17 0 l +-17 76 m 17 0 l +-17 77 m 34 0 l +66 574 M 66 574 F (-0.5) T +219 678 M 17 0 l +-17 77 m 17 0 l +-17 76 m 17 0 l +-17 77 m 17 0 l +-17 77 m 34 0 l +-94 -28 m 159 957 F (0) T +219 1061 M 17 0 l +-17 77 m 17 0 l +-17 76 m 17 0 l +-17 77 m 17 0 l +-17 77 m 34 0 l +97 1340 M 97 1340 F (0.5) T +219 1444 M 17 0 l +-17 77 m 17 0 l +-17 76 m 17 0 l +-17 77 m 17 0 l +-17 76 m 34 0 l +-94 -27 m 159 1723 F (1) T +2261 219 M 0 1531 l +2261 219 M -34 0 l +34 76 m -17 0 l +17 77 m -17 0 l +17 77 m -17 0 l +17 76 m -17 0 l +17 77 m -34 0 l +34 76 m -17 0 l +17 77 m -17 0 l +17 76 m -17 0 l +17 77 m -17 0 l +17 77 m -34 0 l +34 76 m -17 0 l +17 77 m -17 0 l +17 76 m -17 0 l +17 77 m -17 0 l +17 77 m -34 0 l +34 76 m -17 0 l +17 77 m -17 0 l +17 76 m -17 0 l +17 77 m -17 0 l +17 76 m -34 0 l +CS [] 0 setdash M +219 1750 M 30 -2 l +29 -6 l +28 -12 l +28 -17 l +25 -21 l +24 -25 l +22 -30 l +20 -32 l +18 -34 l +16 -36 l +15 -36 l +13 -37 l +12 -37 l +11 -36 l +10 -36 l +11 -35 l +10 -34 l +12 -33 l +14 -33 l +15 -32 l +18 -33 l +20 -33 l +23 -33 l +24 -33 l +25 -34 l +27 -35 l +28 -34 l +28 -35 l +29 -35 l +29 -34 l +29 -34 l +30 -33 l +29 -33 l +30 -31 l +30 -30 l +30 -29 l +29 -28 l +30 -26 l +30 -25 l +30 -24 l +30 -23 l +30 -21 l +30 -20 l +30 -19 l +30 -18 l +30 -16 l +30 -16 l +30 -14 l +30 -14 l +29 -12 l +30 -12 l +30 -11 l +30 -10 l +30 -9 l +30 -9 l +30 -8 l +30 -8 l +30 -7 l +30 -6 l +30 -6 l +30 -6 l +30 -5 l +30 -5 l +30 -4 l +30 -4 l +30 -4 l +30 -4 l +29 -3 l +30 -3 l +30 -3 l +30 -3 l +30 -2 l +30 -2 l +30 -2 l +30 -2 l +30 -2 l +30 -1 l +23 -2 l +219 1750 M 30 -5 l +29 -16 l +28 -28 l +28 -37 l +25 -44 l +24 -49 l +22 -51 l +20 -51 l +18 -48 l +16 -45 l +15 -41 l +13 -34 l +12 -27 l +11 -18 l +10 -7 l +11 6 l +10 19 l +12 33 l +14 47 l +15 55 l +18 59 l +20 58 l +23 51 l +24 43 l +25 34 l +27 26 l +28 20 l +28 14 l +29 10 l +29 8 l +29 5 l +30 4 l +29 3 l +30 2 l +30 1 l +30 1 l +29 1 l +30 0 l +30 0 l +30 1 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +29 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +29 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +23 0 l +442 1368 M CS [] 0 setdash M +411 1313 M 411 1313 F (N) T +CS [] 0 setdash M +1122 602 M CS [] 0 setdash M +1122 602 M 1122 602 F (W) T +CS [] 0 setdash M +stroke +grestore +showpage +end +%%Trailer +%%EOF +grestore diff --git a/Build/source/texk/psutils/tests/plotm.eps b/Build/source/texk/psutils/tests/plotm.eps new file mode 100644 index 00000000000..adbceb05c67 --- /dev/null +++ b/Build/source/texk/psutils/tests/plotm.eps @@ -0,0 +1,319 @@ +%!PS-Adobe-3.0 EPSF-3.0 +%%Creator: SM +%%DocumentNeededResources: font Helvetica +%%LanguageLevel: 1 +%%Pages: 1 +%%BoundingBox: 0 0 368 497 +%%EndComments +%%BeginProcSet: epsffit 1 0 +gsave +533.224 -31.918 translate +90 rotate +0.939 0.939 scale +%%EndProcSet + +%%Page: 1 1 + 20 dict begin +72 300 div dup scale +1 setlinejoin 0 setlinecap +/Helvetica findfont 55 scalefont setfont +/B {CS newpath moveto} def +/F {moveto 0 setlinecap} def +/C {CS M 1 1 3 {pop 3 1 roll 255 div} for SET_COLOUR} def +/CS {currentpoint stroke} def +/CF {currentpoint eofill} def +/L {lineto} def /l {rlineto} def /M {moveto} def /m {rmoveto} def +/P {gsave 0 1 rlineto stroke grestore} def +/T {currentlinecap exch 1 setlinecap show setlinecap} def +errordict /nocurrentpoint {pop 0 0 M currentpoint} put +/SET_COLOUR statusdict begin /processcolors where + {pop processcolors 1 gt} {false} ifelse + {(setrgbcolor)} {(pop pop pop)} ifelse cvx end def + 80 600 translate +gsave +CS [] 0 setdash M +CS M 1 100 mul 72 div dup setlinewidth +/P [ /gsave cvx 0 5 -1 roll .05 add dup -2 div 0 exch /rmoveto cvx /rlineto cvx /stroke cvx /grestore cvx ] cvx def + 0 0 0 C + 0 0 0 C +CS [] 0 setdash M +321 295 M CS [] 0 setdash M +321 295 M 321 295 F (p=2 d=8) T +CS [] 0 setdash M +CS [] 0 setdash M + 0 0 0 C +1957 148 M 10 27 m 0 -27 l +1 27 m 0 -27 l +0 15 m 2 6 l +4 4 l +4 2 l +6 0 l +2 -2 l +0 -2 l +-2 -2 l +-2 2 l +2 2 l +-23 2 m 7 0 l +-7 -27 m 13 0 l +41 34 m 0 -34 l +-18 17 m 35 0 l +19 15 m 4 2 l +6 6 l +0 -40 l +-2 38 m 0 -38 l +-8 0 m 17 0 l + 0 0 0 C +CS [] 0 setdash M +CS [] 0 setdash M +219 219 M 2042 0 l +0 1531 l +219 1750 L +219 219 L +2042 0 l +219 219 M 2042 0 l +219 219 M 0 36 l +-16 -120 m 203 135 F (1) T +635 219 M 0 18 l +243 -18 m 0 18 l +173 -18 m 0 18 l +134 -18 m 0 18 l +110 -18 m 0 18 l +92 -18 m 0 18 l +80 -18 m 0 18 l +71 -18 m 0 18 l +63 -18 m 0 36 l +-31 -120 m 1570 135 F (10) T +2018 219 M 0 18 l +243 -18 m 0 18 l +219 1750 M 2042 0 l +219 1750 M 0 -36 l +416 36 m 0 -18 l +243 18 m 0 -18 l +173 18 m 0 -18 l +134 18 m 0 -18 l +110 18 m 0 -18 l +92 18 m 0 -18 l +80 18 m 0 -18 l +71 18 m 0 -18 l +63 18 m 0 -36 l +417 36 m 0 -18 l +243 18 m 0 -18 l +219 219 M 0 1531 l +219 219 M 34 0 l +-125 -28 m 128 191 F (-1) T +219 295 M 17 0 l +-17 77 m 17 0 l +-17 77 m 17 0 l +-17 76 m 17 0 l +-17 77 m 34 0 l +66 574 M 66 574 F (-0.5) T +219 678 M 17 0 l +-17 77 m 17 0 l +-17 76 m 17 0 l +-17 77 m 17 0 l +-17 77 m 34 0 l +-94 -28 m 159 957 F (0) T +219 1061 M 17 0 l +-17 77 m 17 0 l +-17 76 m 17 0 l +-17 77 m 17 0 l +-17 77 m 34 0 l +97 1340 M 97 1340 F (0.5) T +219 1444 M 17 0 l +-17 77 m 17 0 l +-17 76 m 17 0 l +-17 77 m 17 0 l +-17 76 m 34 0 l +-94 -27 m 159 1723 F (1) T +2261 219 M 0 1531 l +2261 219 M -34 0 l +34 76 m -17 0 l +17 77 m -17 0 l +17 77 m -17 0 l +17 76 m -17 0 l +17 77 m -34 0 l +34 76 m -17 0 l +17 77 m -17 0 l +17 76 m -17 0 l +17 77 m -17 0 l +17 77 m -34 0 l +34 76 m -17 0 l +17 77 m -17 0 l +17 76 m -17 0 l +17 77 m -17 0 l +17 77 m -34 0 l +34 76 m -17 0 l +17 77 m -17 0 l +17 76 m -17 0 l +17 77 m -17 0 l +17 76 m -34 0 l +CS [] 0 setdash M +219 1750 M 30 -2 l +29 -6 l +28 -12 l +28 -17 l +25 -21 l +24 -25 l +22 -30 l +20 -32 l +18 -34 l +16 -36 l +15 -36 l +13 -37 l +12 -37 l +11 -36 l +10 -36 l +11 -35 l +10 -34 l +12 -33 l +14 -33 l +15 -32 l +18 -33 l +20 -33 l +23 -33 l +24 -33 l +25 -34 l +27 -35 l +28 -34 l +28 -35 l +29 -35 l +29 -34 l +29 -34 l +30 -33 l +29 -33 l +30 -31 l +30 -30 l +30 -29 l +29 -28 l +30 -26 l +30 -25 l +30 -24 l +30 -23 l +30 -21 l +30 -20 l +30 -19 l +30 -18 l +30 -16 l +30 -16 l +30 -14 l +30 -14 l +29 -12 l +30 -12 l +30 -11 l +30 -10 l +30 -9 l +30 -9 l +30 -8 l +30 -8 l +30 -7 l +30 -6 l +30 -6 l +30 -6 l +30 -5 l +30 -5 l +30 -4 l +30 -4 l +30 -4 l +30 -4 l +29 -3 l +30 -3 l +30 -3 l +30 -3 l +30 -2 l +30 -2 l +30 -2 l +30 -2 l +30 -2 l +30 -1 l +23 -2 l +219 1750 M 30 -5 l +29 -16 l +28 -28 l +28 -37 l +25 -44 l +24 -49 l +22 -51 l +20 -51 l +18 -48 l +16 -45 l +15 -41 l +13 -34 l +12 -27 l +11 -18 l +10 -7 l +11 6 l +10 19 l +12 33 l +14 47 l +15 55 l +18 59 l +20 58 l +23 51 l +24 43 l +25 34 l +27 26 l +28 20 l +28 14 l +29 10 l +29 8 l +29 5 l +30 4 l +29 3 l +30 2 l +30 1 l +30 1 l +29 1 l +30 0 l +30 0 l +30 1 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +29 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +29 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +23 0 l +442 1368 M CS [] 0 setdash M +411 1313 M 411 1313 F (N) T +CS [] 0 setdash M +1122 602 M CS [] 0 setdash M +1122 602 M 1122 602 F (W) T +CS [] 0 setdash M +stroke +grestore +showpage +end +%%Trailer +%%EOF +grestore diff --git a/Build/source/texk/psutils/tests/plotv.eps b/Build/source/texk/psutils/tests/plotv.eps new file mode 100644 index 00000000000..ddaa33f824b --- /dev/null +++ b/Build/source/texk/psutils/tests/plotv.eps @@ -0,0 +1,318 @@ +%!PS-Adobe-3.0 EPSF-3.0 +%%Creator: SM +%%DocumentNeededResources: font Helvetica +%%LanguageLevel: 1 +%%Pages: 1 +%%BoundingBox: 0 15 500 384 +%%EndComments +%%BeginProcSet: epsffit 1 0 +gsave +-32.075 -150.943 translate +0.943 0.943 scale +%%EndProcSet + +%%Page: 1 1 + 20 dict begin +72 300 div dup scale +1 setlinejoin 0 setlinecap +/Helvetica findfont 55 scalefont setfont +/B {CS newpath moveto} def +/F {moveto 0 setlinecap} def +/C {CS M 1 1 3 {pop 3 1 roll 255 div} for SET_COLOUR} def +/CS {currentpoint stroke} def +/CF {currentpoint eofill} def +/L {lineto} def /l {rlineto} def /M {moveto} def /m {rmoveto} def +/P {gsave 0 1 rlineto stroke grestore} def +/T {currentlinecap exch 1 setlinecap show setlinecap} def +errordict /nocurrentpoint {pop 0 0 M currentpoint} put +/SET_COLOUR statusdict begin /processcolors where + {pop processcolors 1 gt} {false} ifelse + {(setrgbcolor)} {(pop pop pop)} ifelse cvx end def + 80 600 translate +gsave +CS [] 0 setdash M +CS M 1 100 mul 72 div dup setlinewidth +/P [ /gsave cvx 0 5 -1 roll .05 add dup -2 div 0 exch /rmoveto cvx /rlineto cvx /stroke cvx /grestore cvx ] cvx def + 0 0 0 C + 0 0 0 C +CS [] 0 setdash M +321 295 M CS [] 0 setdash M +321 295 M 321 295 F (p=2 d=8) T +CS [] 0 setdash M +CS [] 0 setdash M + 0 0 0 C +1957 148 M 10 27 m 0 -27 l +1 27 m 0 -27 l +0 15 m 2 6 l +4 4 l +4 2 l +6 0 l +2 -2 l +0 -2 l +-2 -2 l +-2 2 l +2 2 l +-23 2 m 7 0 l +-7 -27 m 13 0 l +41 34 m 0 -34 l +-18 17 m 35 0 l +19 15 m 4 2 l +6 6 l +0 -40 l +-2 38 m 0 -38 l +-8 0 m 17 0 l + 0 0 0 C +CS [] 0 setdash M +CS [] 0 setdash M +219 219 M 2042 0 l +0 1531 l +219 1750 L +219 219 L +2042 0 l +219 219 M 2042 0 l +219 219 M 0 36 l +-16 -120 m 203 135 F (1) T +635 219 M 0 18 l +243 -18 m 0 18 l +173 -18 m 0 18 l +134 -18 m 0 18 l +110 -18 m 0 18 l +92 -18 m 0 18 l +80 -18 m 0 18 l +71 -18 m 0 18 l +63 -18 m 0 36 l +-31 -120 m 1570 135 F (10) T +2018 219 M 0 18 l +243 -18 m 0 18 l +219 1750 M 2042 0 l +219 1750 M 0 -36 l +416 36 m 0 -18 l +243 18 m 0 -18 l +173 18 m 0 -18 l +134 18 m 0 -18 l +110 18 m 0 -18 l +92 18 m 0 -18 l +80 18 m 0 -18 l +71 18 m 0 -18 l +63 18 m 0 -36 l +417 36 m 0 -18 l +243 18 m 0 -18 l +219 219 M 0 1531 l +219 219 M 34 0 l +-125 -28 m 128 191 F (-1) T +219 295 M 17 0 l +-17 77 m 17 0 l +-17 77 m 17 0 l +-17 76 m 17 0 l +-17 77 m 34 0 l +66 574 M 66 574 F (-0.5) T +219 678 M 17 0 l +-17 77 m 17 0 l +-17 76 m 17 0 l +-17 77 m 17 0 l +-17 77 m 34 0 l +-94 -28 m 159 957 F (0) T +219 1061 M 17 0 l +-17 77 m 17 0 l +-17 76 m 17 0 l +-17 77 m 17 0 l +-17 77 m 34 0 l +97 1340 M 97 1340 F (0.5) T +219 1444 M 17 0 l +-17 77 m 17 0 l +-17 76 m 17 0 l +-17 77 m 17 0 l +-17 76 m 34 0 l +-94 -27 m 159 1723 F (1) T +2261 219 M 0 1531 l +2261 219 M -34 0 l +34 76 m -17 0 l +17 77 m -17 0 l +17 77 m -17 0 l +17 76 m -17 0 l +17 77 m -34 0 l +34 76 m -17 0 l +17 77 m -17 0 l +17 76 m -17 0 l +17 77 m -17 0 l +17 77 m -34 0 l +34 76 m -17 0 l +17 77 m -17 0 l +17 76 m -17 0 l +17 77 m -17 0 l +17 77 m -34 0 l +34 76 m -17 0 l +17 77 m -17 0 l +17 76 m -17 0 l +17 77 m -17 0 l +17 76 m -34 0 l +CS [] 0 setdash M +219 1750 M 30 -2 l +29 -6 l +28 -12 l +28 -17 l +25 -21 l +24 -25 l +22 -30 l +20 -32 l +18 -34 l +16 -36 l +15 -36 l +13 -37 l +12 -37 l +11 -36 l +10 -36 l +11 -35 l +10 -34 l +12 -33 l +14 -33 l +15 -32 l +18 -33 l +20 -33 l +23 -33 l +24 -33 l +25 -34 l +27 -35 l +28 -34 l +28 -35 l +29 -35 l +29 -34 l +29 -34 l +30 -33 l +29 -33 l +30 -31 l +30 -30 l +30 -29 l +29 -28 l +30 -26 l +30 -25 l +30 -24 l +30 -23 l +30 -21 l +30 -20 l +30 -19 l +30 -18 l +30 -16 l +30 -16 l +30 -14 l +30 -14 l +29 -12 l +30 -12 l +30 -11 l +30 -10 l +30 -9 l +30 -9 l +30 -8 l +30 -8 l +30 -7 l +30 -6 l +30 -6 l +30 -6 l +30 -5 l +30 -5 l +30 -4 l +30 -4 l +30 -4 l +30 -4 l +29 -3 l +30 -3 l +30 -3 l +30 -3 l +30 -2 l +30 -2 l +30 -2 l +30 -2 l +30 -2 l +30 -1 l +23 -2 l +219 1750 M 30 -5 l +29 -16 l +28 -28 l +28 -37 l +25 -44 l +24 -49 l +22 -51 l +20 -51 l +18 -48 l +16 -45 l +15 -41 l +13 -34 l +12 -27 l +11 -18 l +10 -7 l +11 6 l +10 19 l +12 33 l +14 47 l +15 55 l +18 59 l +20 58 l +23 51 l +24 43 l +25 34 l +27 26 l +28 20 l +28 14 l +29 10 l +29 8 l +29 5 l +30 4 l +29 3 l +30 2 l +30 1 l +30 1 l +29 1 l +30 0 l +30 0 l +30 1 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +29 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +29 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +30 0 l +23 0 l +442 1368 M CS [] 0 setdash M +411 1313 M 411 1313 F (N) T +CS [] 0 setdash M +1122 602 M CS [] 0 setdash M +1122 602 M 1122 602 F (W) T +CS [] 0 setdash M +stroke +grestore +showpage +end +%%Trailer +%%EOF +grestore |