diff options
Diffstat (limited to 'Master/support/tests/dvi-latex2-pdfprim')
-rw-r--r-- | Master/support/tests/dvi-latex2-pdfprim/Makefile | 14 | ||||
-rw-r--r-- | Master/support/tests/dvi-latex2-pdfprim/knowngood.dvitype | 156 | ||||
-rw-r--r-- | Master/support/tests/dvi-latex2-pdfprim/pdfprim.dvitype | 138 | ||||
-rw-r--r-- | Master/support/tests/dvi-latex2-pdfprim/pdfprim.tex | 14 |
4 files changed, 322 insertions, 0 deletions
diff --git a/Master/support/tests/dvi-latex2-pdfprim/Makefile b/Master/support/tests/dvi-latex2-pdfprim/Makefile new file mode 100644 index 00000000000..3df06d5e5f8 --- /dev/null +++ b/Master/support/tests/dvi-latex2-pdfprim/Makefile @@ -0,0 +1,14 @@ +# $Id: //depot/Master/support/tests/dvi-latex2-pdfprim/Makefile#1 $ $Date: 2004/08/03 $ $Author: karl $ +# Originally written 2004 by Karl Berry. Public domain. + +include ../common.mak + +test = pdfprim + +check test: knowngood.dvitype + $(run) latex '\nonstopmode\input $(test)' + $(dvicheck) knowngood.dvitype $(test).dvi \ + || diff -u1 knowngood.dvitype $(test).dvitype + +clean distclean: + $(rm) $(test).aux $(test).log $(test).dvi $(test).dvitype diff --git a/Master/support/tests/dvi-latex2-pdfprim/knowngood.dvitype b/Master/support/tests/dvi-latex2-pdfprim/knowngood.dvitype new file mode 100644 index 00000000000..871d8af1dff --- /dev/null +++ b/Master/support/tests/dvi-latex2-pdfprim/knowngood.dvitype @@ -0,0 +1,156 @@ +This is DVItype, Version 3.6 (Web2C 7.5.3) +Options selected: + Starting page = * + Maximum number of pages = 1000000 + Output level = 4 (the works) + Resolution = 300.00000000 pixels per inch +numerator/denominator=25400000/473628672 +magnification=1000; 0.00006334 pixels per DVI unit +' TeX output 2004.08.03:2350' +Postamble starts at byte 296. +maxv=41484288, maxh=26673152, maxstackdepth=3, totalpages=1 +Font 7: cmr10---loaded at size 655360 DVI units + +42: beginning of page 1 +87: down4 41484288 v:=0+41484288=41484288, vv:=2628 +92: push +level 0:(h=0,v=41484288,w=0,x=0,y=0,z=0,hh=0,vv=2628) +93: down4 -39649280 v:=41484288-39649280=1835008, vv:=116 +98: down4 37683200 v:=1835008+37683200=39518208, vv:=2503 +103: push +level 1:(h=0,v=39518208,w=0,x=0,y=0,z=0,hh=0,vv=2503) +104: down4 -35389440 v:=39518208-35389440=4128768, vv:=262 +109: push +level 2:(h=0,v=4128768,w=0,x=0,y=0,z=0,hh=0,vv=262) +110: right3 5046272 h:=0+5046272=5046272, hh:=320 +[ ] +114: fntdef1 7: cmr10 +135: fntnum7 current font is cmr10 +136: setchar84 h:=5046272+473316=5519588, hh:=350 +137: setchar104 h:=5519588+364090=5883678, hh:=373 +138: setchar101 h:=5883678+291271=6174949, hh:=391 +139: w3 231497 h:=6174949+231497=6406446, hh:=406 +143: setchar112 h:=6406446+364090=6770536, hh:=429 +144: right2 18205 h:=6770536+18205=6788741, hh:=430 +147: setchar100 h:=6788741+364090=7152831, hh:=453 +148: setchar102 h:=7152831+200250=7353081, hh:=466 +149: setchar111 h:=7353081+327681=7680762, hh:=487 +150: setchar117 h:=7680762+364090=8044852, hh:=510 +151: setchar116 h:=8044852+254863=8299715, hh:=526 +152: setchar112 h:=8299715+364090=8663805, hh:=549 +153: setchar117 h:=8663805+364090=9027895, hh:=572 +154: setchar116 h:=9027895+254863=9282758, hh:=588 +155: x3 231496 h:=9282758+231496=9514254, hh:=603 +159: setchar112 h:=9514254+364090=9878344, hh:=626 +160: setchar114 h:=9878344+256683=10135027, hh:=642 +161: setchar105 h:=10135027+182045=10317072, hh:=654 +162: setchar109 h:=10317072+546135=10863207, hh:=689 +163: setchar105 h:=10863207+182045=11045252, hh:=701 +164: setchar116 h:=11045252+254863=11300115, hh:=717 +165: setchar105 h:=11300115+182045=11482160, hh:=729 +166: setchar118 h:=11482160+345886=11828046, hh:=751 +167: right2 -18205 h:=11828046-18205=11809841, hh:=750 +170: setchar101 h:=11809841+291271=12101112, hh:=768 +171: w0 231497 h:=12101112+231497=12332609, hh:=781 +172: setchar105 h:=12332609+182045=12514654, hh:=793 +173: setchar115 h:=12514654+258503=12773157, hh:=809 +174: x0 231496 h:=12773157+231496=13004653, hh:=824 +175: setchar117 h:=13004653+364090=13368743, hh:=847 +176: setchar110 h:=13368743+364090=13732833, hh:=870 +177: setchar100 h:=13732833+364090=14096923, hh:=893 +178: setchar101 h:=14096923+291271=14388194, hh:=911 +[The pdfoutput primitive is unde] +179: setchar12 h:=14388194+364090=14752284, hh:=934 +180: setchar110 h:=14752284+364090=15116374, hh:=957 +181: setchar101 h:=15116374+291271=15407645, hh:=975 +182: setchar100 h:=15407645+364090=15771735, hh:=998 +183: setchar46 h:=15771735+182045=15953780, hh:=1010 +184: right3 330402 h:=15953780+330402=16284182, hh:=1031 +188: setchar71 h:=16284182+514276=16798458, hh:=1064 +189: setchar111 h:=16798458+327681=17126139, hh:=1085 +190: w2 18205 h:=17126139+18205=17144344, hh:=1086 +193: setchar111 h:=17144344+327681=17472025, hh:=1107 +194: w0 18205 h:=17472025+18205=17490230, hh:=1108 +195: setchar100 h:=17490230+364090=17854320, hh:=1131 +196: setchar46 h:=17854320+182045=18036365, hh:=1143 +197: right3 330401 h:=18036365+330401=18366766, hh:=1163 +201: setchar66 h:=18366766+464215=18830981, hh:=1192 +202: setchar117 h:=18830981+364090=19195071, hh:=1215 +203: setchar116 h:=19195071+254863=19449934, hh:=1231 +204: w3 231497 h:=19449934+231497=19681431, hh:=1247 +208: setchar116 h:=19681431+254863=19936294, hh:=1263 +209: setchar104 h:=19936294+364090=20300384, hh:=1286 +210: setchar105 h:=20300384+182045=20482429, hh:=1298 +211: setchar115 h:=20482429+258503=20740932, hh:=1314 +212: x0 231496 h:=20740932+231496=20972428, hh:=1328 +213: setchar119 h:=20972428+473316=21445744, hh:=1358 +214: setchar105 h:=21445744+182045=21627789, hh:=1370 +215: setchar108 h:=21627789+182045=21809834, hh:=1382 +216: setchar108 h:=21809834+182045=21991879, hh:=1394 +217: w0 231497 h:=21991879+231497=22223376, hh:=1408 +218: setchar99 h:=22223376+291271=22514647, hh:=1426 +219: right2 -18205 h:=22514647-18205=22496442, hh:=1425 +222: setchar104 h:=22496442+364090=22860532, hh:=1448 +223: setchar97 h:=22860532+327681=23188213, hh:=1469 +224: setchar110 h:=23188213+364090=23552303, hh:=1492 +225: setchar103 h:=23552303+327681=23879984, hh:=1513 +226: setchar101 h:=23879984+291271=24171255, hh:=1531 +227: x0 231496 h:=24171255+231496=24402751, hh:=1546 +228: setchar105 h:=24402751+182045=24584796, hh:=1558 +229: setchar110 h:=24584796+364090=24948886, hh:=1581 +230: w0 231497 h:=24948886+231497=25180383, hh:=1595 +231: setchar50 h:=25180383+327681=25508064, hh:=1616 +232: setchar48 h:=25508064+327681=25835745, hh:=1637 +233: setchar48 h:=25835745+327681=26163426, hh:=1658 +234: setchar53 h:=26163426+327681=26491107, hh:=1679 +235: setchar44 h:=26491107+182045=26673152, hh:=1691 +[ned. Good. But this will change in 2005,] +236: pop +level 2:(h=0,v=4128768,w=0,x=0,y=0,z=0,hh=0,vv=262) +237: down3 786432 v:=4128768+786432=4915200, vv:=311 +241: push +level 2:(h=0,v=4915200,w=0,x=0,y=0,z=0,hh=0,vv=311) +242: right3 4063232 h:=0+4063232=4063232, hh:=257 +246: setchar115 h:=4063232+258503=4321735, hh:=273 +247: setchar111 h:=4321735+327681=4649416, hh:=294 +248: w3 218453 h:=4649416+218453=4867869, hh:=308 +252: setchar117 h:=4867869+364090=5231959, hh:=331 +253: setchar115 h:=5231959+258503=5490462, hh:=347 +254: setchar101 h:=5490462+291271=5781733, hh:=365 +255: w0 218453 h:=5781733+218453=6000186, hh:=380 +256: setchar105 h:=6000186+182045=6182231, hh:=392 +257: setchar102 h:=6182231+200250=6382481, hh:=405 +258: setchar112 h:=6382481+364090=6746571, hh:=428 +259: right2 18205 h:=6746571+18205=6764776, hh:=429 +262: setchar100 h:=6764776+364090=7128866, hh:=452 +263: setchar102 h:=7128866+200250=7329116, hh:=465 +264: setchar46 h:=7329116+182045=7511161, hh:=477 +265: setchar115 h:=7511161+258503=7769664, hh:=493 +266: setchar116 h:=7769664+254863=8024527, hh:=509 +267: right2 -18205 h:=8024527-18205=8006322, hh:=508 +270: setchar121 h:=8006322+345886=8352208, hh:=530 +271: w0 218453 h:=8352208+218453=8570661, hh:=543 +272: setchar105 h:=8570661+182045=8752706, hh:=555 +273: setchar110 h:=8752706+364090=9116796, hh:=578 +274: setchar115 h:=9116796+258503=9375299, hh:=594 +275: setchar116 h:=9375299+254863=9630162, hh:=610 +276: setchar101 h:=9630162+291271=9921433, hh:=628 +277: setchar97 h:=9921433+327681=10249114, hh:=649 +278: setchar100 h:=10249114+364090=10613204, hh:=672 +279: setchar46 h:=10613204+182045=10795249, hh:=684 +[ so use ifpdf.sty instead.] +280: pop +level 2:(h=0,v=4915200,w=0,x=0,y=0,z=0,hh=0,vv=311) +281: pop +level 1:(h=0,v=39518208,w=0,x=0,y=0,z=0,hh=0,vv=2503) +282: down3 1966080 v:=39518208+1966080=41484288, vv:=2628 +286: push +level 1:(h=0,v=41484288,w=0,x=0,y=0,z=0,hh=0,vv=2628) +287: right4 15204352 h:=0+15204352=15204352, hh:=963 +292: setchar49 h:=15204352+327681=15532033, hh:=984 +[ 1] +293: pop +level 1:(h=0,v=41484288,w=0,x=0,y=0,z=0,hh=0,vv=2628) +294: pop +level 0:(h=0,v=41484288,w=0,x=0,y=0,z=0,hh=0,vv=2628) +295: eop diff --git a/Master/support/tests/dvi-latex2-pdfprim/pdfprim.dvitype b/Master/support/tests/dvi-latex2-pdfprim/pdfprim.dvitype new file mode 100644 index 00000000000..428f3d4a1b8 --- /dev/null +++ b/Master/support/tests/dvi-latex2-pdfprim/pdfprim.dvitype @@ -0,0 +1,138 @@ +Options selected: + Starting page = * + Maximum number of pages = 1000000 + Output level = 4 (the works) + Resolution = 300.00000000 pixels per inch +numerator/denominator=25400000/473628672 +magnification=1000; 0.00006334 pixels per DVI unit + +Postamble starts at byte 279. +maxv=41484288, maxh=26673152, maxstackdepth=3, totalpages=1 +Font 7: cmr10---loaded at size 655360 DVI units + +42: beginning of page 1 +87: down4 41484288 v:=0+41484288=41484288, vv:=2628 +92: push +level 0:(h=0,v=41484288,w=0,x=0,y=0,z=0,hh=0,vv=2628) +93: down4 -39649280 v:=41484288-39649280=1835008, vv:=116 +98: down4 37683200 v:=1835008+37683200=39518208, vv:=2503 +103: push +level 1:(h=0,v=39518208,w=0,x=0,y=0,z=0,hh=0,vv=2503) +104: down4 -35389440 v:=39518208-35389440=4128768, vv:=262 +109: push +level 2:(h=0,v=4128768,w=0,x=0,y=0,z=0,hh=0,vv=262) +110: right3 5046272 h:=0+5046272=5046272, hh:=320 +[ ] +114: fntdef1 7: cmr10 +135: fntnum7 current font is cmr10 +136: setchar84 h:=5046272+473316=5519588, hh:=350 +137: setchar104 h:=5519588+364090=5883678, hh:=373 +138: setchar101 h:=5883678+291271=6174949, hh:=391 +139: w3 157432 h:=6174949+157432=6332381, hh:=401 +143: setchar112 h:=6332381+364090=6696471, hh:=424 +144: right2 18205 h:=6696471+18205=6714676, hh:=425 +147: setchar100 h:=6714676+364090=7078766, hh:=448 +148: setchar102 h:=7078766+200250=7279016, hh:=461 +149: setchar111 h:=7279016+327681=7606697, hh:=482 +150: setchar117 h:=7606697+364090=7970787, hh:=505 +151: setchar116 h:=7970787+254863=8225650, hh:=521 +152: setchar112 h:=8225650+364090=8589740, hh:=544 +153: setchar117 h:=8589740+364090=8953830, hh:=567 +154: setchar116 h:=8953830+254863=9208693, hh:=583 +155: w0 157432 h:=9208693+157432=9366125, hh:=593 +156: setchar112 h:=9366125+364090=9730215, hh:=616 +157: setchar114 h:=9730215+256683=9986898, hh:=632 +158: setchar105 h:=9986898+182045=10168943, hh:=644 +159: setchar109 h:=10168943+546135=10715078, hh:=679 +160: setchar105 h:=10715078+182045=10897123, hh:=691 +161: setchar116 h:=10897123+254863=11151986, hh:=707 +162: setchar105 h:=11151986+182045=11334031, hh:=719 +163: setchar118 h:=11334031+345886=11679917, hh:=741 +164: right2 -18205 h:=11679917-18205=11661712, hh:=740 +167: setchar101 h:=11661712+291271=11952983, hh:=758 +168: setchar100 h:=11952983+364090=12317073, hh:=781 +169: w0 157432 h:=12317073+157432=12474505, hh:=790 +170: setchar105 h:=12474505+182045=12656550, hh:=802 +171: setchar115 h:=12656550+258503=12915053, hh:=818 +172: x3 157431 h:=12915053+157431=13072484, hh:=828 +176: setchar100 h:=13072484+364090=13436574, hh:=851 +177: setchar101 h:=13436574+291271=13727845, hh:=869 +[The pdfoutput primitived is de] +178: setchar12 h:=13727845+364090=14091935, hh:=892 +179: setchar110 h:=14091935+364090=14456025, hh:=915 +180: setchar101 h:=14456025+291271=14747296, hh:=933 +181: setchar100 h:=14747296+364090=15111386, hh:=956 +182: setchar46 h:=15111386+182045=15293431, hh:=968 +183: right3 270932 h:=15293431+270932=15564363, hh:=986 +187: setchar66 h:=15564363+464215=16028578, hh:=1015 +188: setchar97 h:=16028578+327681=16356259, hh:=1036 +189: setchar100 h:=16356259+364090=16720349, hh:=1059 +190: setchar46 h:=16720349+182045=16902394, hh:=1071 +191: right3 270931 h:=16902394+270931=17173325, hh:=1088 +195: setchar87 h:=17173325+673566=17846891, hh:=1131 +196: right3 -54614 h:=17846891-54614=17792277, hh:=1128 +200: setchar101 h:=17792277+291271=18083548, hh:=1146 +201: w0 157432 h:=18083548+157432=18240980, hh:=1155 +202: setchar115 h:=18240980+258503=18499483, hh:=1171 +203: setchar104 h:=18499483+364090=18863573, hh:=1194 +204: setchar111 h:=18863573+327681=19191254, hh:=1215 +205: setchar117 h:=19191254+364090=19555344, hh:=1238 +206: setchar108 h:=19555344+182045=19737389, hh:=1250 +207: setchar100 h:=19737389+364090=20101479, hh:=1273 +208: setchar110 h:=20101479+364090=20465569, hh:=1296 +209: setchar39 h:=20465569+182045=20647614, hh:=1308 +210: setchar116 h:=20647614+254863=20902477, hh:=1324 +211: x0 157431 h:=20902477+157431=21059908, hh:=1334 +212: setchar104 h:=21059908+364090=21423998, hh:=1357 +213: setchar97 h:=21423998+327681=21751679, hh:=1378 +214: w2 -18205 h:=21751679-18205=21733474, hh:=1377 +217: setchar118 h:=21733474+345886=22079360, hh:=1399 +218: w0 -18205 h:=22079360-18205=22061155, hh:=1398 +219: setchar101 h:=22061155+291271=22352426, hh:=1416 +220: w3 157432 h:=22352426+157432=22509858, hh:=1426 +224: setchar116 h:=22509858+254863=22764721, hh:=1442 +225: setchar111 h:=22764721+327681=23092402, hh:=1463 +226: w0 157432 h:=23092402+157432=23249834, hh:=1473 +227: setchar117 h:=23249834+364090=23613924, hh:=1496 +228: setchar115 h:=23613924+258503=23872427, hh:=1512 +229: setchar101 h:=23872427+291271=24163698, hh:=1530 +230: w0 157432 h:=24163698+157432=24321130, hh:=1541 +231: setchar105 h:=24321130+182045=24503175, hh:=1553 +232: setchar102 h:=24503175+200250=24703425, hh:=1566 +233: setchar112 h:=24703425+364090=25067515, hh:=1589 +234: right2 18205 h:=25067515+18205=25085720, hh:=1590 +237: setchar100 h:=25085720+364090=25449810, hh:=1613 +238: setchar102 h:=25449810+200250=25650060, hh:=1626 +239: setchar46 h:=25650060+182045=25832105, hh:=1638 +240: setchar115 h:=25832105+258503=26090608, hh:=1654 +241: setchar116 h:=26090608+254863=26345471, hh:=1670 +242: right2 -18205 h:=26345471-18205=26327266, hh:=1669 +245: setchar121 h:=26327266+345886=26673152, hh:=1691 +[ned. Bad. We shouldn't have to use ifpdf.sty] +246: pop +level 2:(h=0,v=4128768,w=0,x=0,y=0,z=0,hh=0,vv=262) +247: down3 786432 v:=4128768+786432=4915200, vv:=311 +251: push +level 2:(h=0,v=4915200,w=0,x=0,y=0,z=0,hh=0,vv=311) +252: right3 4063232 h:=0+4063232=4063232, hh:=257 +256: setchar121 h:=4063232+345886=4409118, hh:=279 +257: right2 -18205 h:=4409118-18205=4390913, hh:=278 +260: setchar101 h:=4390913+291271=4682184, hh:=296 +261: setchar116 h:=4682184+254863=4937047, hh:=312 +262: setchar46 h:=4937047+182045=5119092, hh:=324 +[ yet.] +263: pop +level 2:(h=0,v=4915200,w=0,x=0,y=0,z=0,hh=0,vv=311) +264: pop +level 1:(h=0,v=39518208,w=0,x=0,y=0,z=0,hh=0,vv=2503) +265: down3 1966080 v:=39518208+1966080=41484288, vv:=2628 +269: push +level 1:(h=0,v=41484288,w=0,x=0,y=0,z=0,hh=0,vv=2628) +270: right4 15204352 h:=0+15204352=15204352, hh:=963 +275: setchar49 h:=15204352+327681=15532033, hh:=984 +[ 1] +276: pop +level 1:(h=0,v=41484288,w=0,x=0,y=0,z=0,hh=0,vv=2628) +277: pop +level 0:(h=0,v=41484288,w=0,x=0,y=0,z=0,hh=0,vv=2628) +278: eop diff --git a/Master/support/tests/dvi-latex2-pdfprim/pdfprim.tex b/Master/support/tests/dvi-latex2-pdfprim/pdfprim.tex new file mode 100644 index 00000000000..d5be4ca58f5 --- /dev/null +++ b/Master/support/tests/dvi-latex2-pdfprim/pdfprim.tex @@ -0,0 +1,14 @@ +% $Id: //depot/Master/support/tests/dvi-latex2-pdfprim/pdfprim.tex#1 $ $Date: 2004/08/03 $ $Author: karl $ +% Originally written 2004 by Karl Berry. Public domain. +% Check that PDF primitives are undefined when running "latex" (which +% uses the pdfetex engine, as of 2004). +\documentclass{article} +\begin{document} +\ifx\pdfoutput\undefined + The pdfoutput primitive is undefined. Good. + But this will change in 2005, so use ifpdf.sty instead. +\else + The pdfoutput primitived is defined. Bad. + We shouldn't have to use ifpdf.sty yet. +\fi +\end{document} |