home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: LaTeX Document
(document/latex).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| LaTeX Document (document/latex)
| magic
| Supported |
100%
| dexvert
| Texinfo Document (document/texInfo)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| LaTeX document text
| default
| |
99%
| file
| TeX document, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 0a 25 20 50 73 66 69 67 | 2f 54 65 58 20 0a 5c 64 |.% Psfig|/TeX .\d|
|00000010| 65 66 5c 50 73 66 69 67 | 56 65 72 73 69 6f 6e 7b |ef\Psfig|Version{|
|00000020| 31 2e 31 30 7d 0a 5c 64 | 65 66 5c 73 65 74 44 72 |1.10}.\d|ef\setDr|
|00000030| 69 76 65 72 7b 5c 44 76 | 69 70 73 44 72 69 76 65 |iver{\Dv|ipsDrive|
|00000040| 72 7d 20 25 20 5c 44 76 | 69 70 73 44 72 69 76 65 |r} % \Dv|ipsDrive|
|00000050| 72 20 6f 72 20 5c 4f 7a | 54 65 58 44 72 69 76 65 |r or \Oz|TeXDrive|
|00000060| 72 0a 25 0a 25 20 41 6c | 6c 20 73 6f 66 74 77 61 |r.%.% Al|l softwa|
|00000070| 72 65 2c 20 64 6f 63 75 | 6d 65 6e 74 61 74 69 6f |re, docu|mentatio|
|00000080| 6e 2c 20 61 6e 64 20 72 | 65 6c 61 74 65 64 20 66 |n, and r|elated f|
|00000090| 69 6c 65 73 20 69 6e 20 | 74 68 69 73 20 64 69 73 |iles in |this dis|
|000000a0| 74 72 69 62 75 74 69 6f | 6e 20 6f 66 0a 25 20 70 |tributio|n of.% p|
|000000b0| 73 66 69 67 2f 74 65 78 | 20 61 72 65 20 43 6f 70 |sfig/tex| are Cop|
|000000c0| 79 72 69 67 68 74 20 31 | 39 39 33 20 54 72 65 76 |yright 1|993 Trev|
|000000d0| 6f 72 20 4a 2e 20 44 61 | 72 72 65 6c 6c 0a 25 0a |or J. Da|rrell.%.|
|000000e0| 25 20 50 65 72 6d 69 73 | 73 69 6f 6e 20 69 73 20 |% Permis|sion is |
|000000f0| 67 72 61 6e 74 65 64 20 | 66 6f 72 20 75 73 65 20 |granted |for use |
|00000100| 61 6e 64 20 6e 6f 6e 2d | 70 72 6f 66 69 74 20 64 |and non-|profit d|
|00000110| 69 73 74 72 69 62 75 74 | 69 6f 6e 20 6f 66 20 70 |istribut|ion of p|
|00000120| 73 66 69 67 2f 74 65 78 | 20 0a 25 20 70 72 6f 76 |sfig/tex| .% prov|
|00000130| 69 64 69 6e 67 20 74 68 | 61 74 20 74 68 69 73 20 |iding th|at this |
|00000140| 6e 6f 74 69 63 65 20 69 | 73 20 63 6c 65 61 72 6c |notice i|s clearl|
|00000150| 79 20 6d 61 69 6e 74 61 | 69 6e 65 64 2e 20 54 68 |y mainta|ined. Th|
|00000160| 65 20 72 69 67 68 74 20 | 74 6f 0a 25 20 64 69 73 |e right |to.% dis|
|00000170| 74 72 69 62 75 74 65 20 | 61 6e 79 20 70 6f 72 74 |tribute |any port|
|00000180| 69 6f 6e 20 6f 66 20 70 | 73 66 69 67 2f 74 65 78 |ion of p|sfig/tex|
|00000190| 20 66 6f 72 20 70 72 6f | 66 69 74 20 6f 72 20 61 | for pro|fit or a|
|000001a0| 73 20 70 61 72 74 20 6f | 66 20 61 6e 79 20 63 6f |s part o|f any co|
|000001b0| 6d 6d 65 72 63 69 61 6c | 0a 25 20 70 72 6f 64 75 |mmercial|.% produ|
|000001c0| 63 74 20 69 73 20 73 70 | 65 63 69 66 69 63 61 6c |ct is sp|ecifical|
|000001d0| 6c 79 20 72 65 73 65 72 | 76 65 64 20 66 6f 72 20 |ly reser|ved for |
|000001e0| 74 68 65 20 61 75 74 68 | 6f 72 28 73 29 20 6f 66 |the auth|or(s) of|
|000001f0| 20 74 68 61 74 20 70 6f | 72 74 69 6f 6e 2e 0a 25 | that po|rtion..%|
|00000200| 0a 25 20 54 6f 20 75 73 | 65 20 77 69 74 68 20 4c |.% To us|e with L|
|00000210| 61 54 65 58 2c 20 75 73 | 65 20 5c 64 6f 63 75 6d |aTeX, us|e \docum|
|00000220| 65 6e 74 73 74 79 6c 65 | 5b 70 73 66 69 67 2c 2e |entstyle|[psfig,.|
|00000230| 2e 2e 5d 7b 2e 2e 2e 7d | 0a 25 20 54 6f 20 75 73 |..]{...}|.% To us|
|00000240| 65 20 77 69 74 68 20 54 | 65 58 2c 20 75 73 65 20 |e with T|eX, use |
|00000250| 5c 69 6e 70 75 74 20 70 | 73 66 69 67 2e 73 74 79 |\input p|sfig.sty|
|00000260| 0a 25 0a 25 20 42 75 67 | 73 20 61 6e 64 20 69 6d |.%.% Bug|s and im|
|00000270| 70 72 6f 76 65 6d 65 6e | 74 73 20 74 6f 20 74 72 |provemen|ts to tr|
|00000280| 65 76 6f 72 40 6d 65 64 | 69 61 2e 6d 69 74 2e 65 |evor@med|ia.mit.e|
|00000290| 64 75 2e 0a 25 0a 25 20 | 54 68 61 6e 6b 73 20 74 |du..%.% |Thanks t|
|000002a0| 6f 20 4e 65 64 20 42 61 | 74 63 68 65 6c 64 65 72 |o Ned Ba|tchelder|
|000002b0| 2c 20 47 72 65 67 20 48 | 61 67 65 72 20 28 47 44 |, Greg H|ager (GD|
|000002c0| 48 29 2c 20 4a 2e 20 44 | 61 6e 69 65 6c 20 53 6d |H), J. D|aniel Sm|
|000002d0| 69 74 68 20 28 4a 44 53 | 29 2c 0a 25 20 54 6f 6d |ith (JDS|),.% Tom|
|000002e0| 20 52 6f 6b 69 63 6b 69 | 20 28 54 52 29 2c 20 52 | Rokicki| (TR), R|
|000002f0| 6f 62 65 72 74 20 52 75 | 73 73 65 6c 6c 20 28 52 |obert Ru|ssell (R|
|00000300| 52 29 2c 20 47 65 6f 72 | 67 65 20 56 2e 20 52 65 |R), Geor|ge V. Re|
|00000310| 69 6c 6c 79 20 28 47 56 | 52 29 2c 0a 25 20 4b 65 |illy (GV|R),.% Ke|
|00000320| 6e 20 4d 63 47 6c 6f 74 | 68 6c 65 6e 20 28 4b 48 |n McGlot|hlen (KH|
|00000330| 43 29 2c 20 42 61 72 6f | 6e 20 47 72 65 79 20 28 |C), Baro|n Grey (|
|00000340| 42 47 29 2c 20 47 65 72 | 68 61 72 64 20 54 6f 62 |BG), Ger|hard Tob|
|00000350| 65 72 6d 61 6e 6e 20 28 | 47 54 29 2e 0a 25 20 61 |ermann (|GT)..% a|
|00000360| 6e 64 20 61 6c 6c 20 6f | 74 68 65 72 73 20 77 68 |nd all o|thers wh|
|00000370| 6f 20 68 61 76 65 20 63 | 6f 6e 74 72 69 62 75 74 |o have c|ontribut|
|00000380| 65 64 20 63 6f 64 65 20 | 61 6e 64 20 63 6f 6d 6d |ed code |and comm|
|00000390| 65 6e 74 73 20 74 6f 20 | 74 68 69 73 20 70 72 6f |ents to |this pro|
|000003a0| 6a 65 63 74 21 0a 25 0a | 25 20 3d 3d 3d 3d 3d 3d |ject!.%.|% ======|
|000003b0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000003c0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000003d0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000003e0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000003f0| 0a 25 20 4d 6f 64 69 66 | 69 63 61 74 69 6f 6e 20 |.% Modif|ication |
|00000400| 48 69 73 74 6f 72 79 3a | 0a 25 0a 25 20 20 39 20 |History:|.%.% 9 |
|00000410| 4f 63 74 20 31 39 39 30 | 20 20 20 4a 44 53 09 75 |Oct 1990| JDS.u|
|00000420| 73 65 64 20 6d 6f 72 65 | 20 72 6f 62 75 73 74 20 |sed more| robust |
|00000430| 62 62 6f 78 20 72 65 61 | 64 69 6e 67 20 63 6f 64 |bbox rea|ding cod|
|00000440| 65 20 66 72 6f 6d 20 54 | 6f 6d 20 52 6f 6b 69 63 |e from T|om Rokic|
|00000450| 6b 69 0a 25 20 32 39 20 | 4d 61 72 20 31 39 39 31 |ki.% 29 |Mar 1991|
|00000460| 20 20 20 4a 44 53 09 69 | 6d 70 6c 65 6d 65 6e 74 | JDS.i|mplement|
|00000470| 65 64 20 72 6f 74 61 74 | 69 6f 6e 3d 20 6f 70 74 |ed rotat|ion= opt|
|00000480| 69 6f 6e 0a 25 20 32 35 | 20 4a 75 6e 20 31 39 39 |ion.% 25| Jun 199|
|00000490| 31 20 20 20 52 52 09 69 | 66 20 62 62 20 73 70 65 |1 RR.i|f bb spe|
|000004a0| 63 69 66 69 65 64 20 6f | 6e 20 63 6d 64 20 6c 69 |cified o|n cmd li|
|000004b0| 6e 65 20 64 6f 6e 27 74 | 20 63 68 65 63 6b 0a 25 |ne don't| check.%|
|000004c0| 09 09 09 66 6f 72 20 2e | 70 73 20 66 69 6c 65 2e |...for .|ps file.|
|000004d0| 0a 25 20 20 33 20 4a 75 | 6c 20 31 39 39 31 09 4a |.% 3 Ju|l 1991.J|
|000004e0| 44 53 09 63 68 65 63 6b | 20 69 66 20 66 69 6c 65 |DS.check| if file|
|000004f0| 20 61 6c 72 65 61 64 79 | 20 72 65 61 64 20 69 6e | already| read in|
|00000500| 20 6f 6e 63 65 0a 25 20 | 20 34 20 53 65 70 20 31 | once.% | 4 Sep 1|
|00000510| 39 39 31 09 4a 44 53 09 | 66 69 78 65 64 20 69 6e |991.JDS.|fixed in|
|00000520| 63 6f 72 72 65 63 74 20 | 63 6f 6d 70 75 74 61 74 |correct |computat|
|00000530| 69 6f 6e 20 6f 66 20 72 | 6f 74 61 74 65 64 0a 25 |ion of r|otated.%|
|00000540| 09 09 09 62 6f 75 6e 64 | 69 6e 67 20 62 6f 78 0a |...bound|ing box.|
|00000550| 25 20 32 35 20 53 65 70 | 20 31 39 39 31 09 47 56 |% 25 Sep| 1991.GV|
|00000560| 52 09 65 78 70 61 6e 64 | 65 64 20 73 79 6e 6f 70 |R.expand|ed synop|
|00000570| 73 69 73 20 6f 66 20 5c | 70 73 66 69 67 0a 25 20 |sis of \|psfig.% |
|00000580| 31 34 20 4f 63 74 20 31 | 39 39 31 09 4a 44 53 09 |14 Oct 1|991.JDS.|
|00000590| 5c 66 62 6f 78 20 63 6f | 64 65 20 66 72 6f 6d 20 |\fbox co|de from |
|000005a0| 4c 61 54 65 58 20 73 6f | 20 5c 70 73 64 72 61 66 |LaTeX so| \psdraf|
|000005b0| 74 20 77 6f 72 6b 73 20 | 77 69 74 68 20 54 65 58 |t works |with TeX|
|000005c0| 0a 25 09 09 09 63 68 61 | 6e 67 65 64 20 5c 74 79 |.%...cha|nged \ty|
|000005d0| 70 65 6f 75 74 20 74 6f | 20 5c 70 73 40 74 79 70 |peout to| \ps@typ|
|000005e0| 65 6f 75 74 0a 25 20 31 | 37 20 4f 63 74 20 31 39 |eout.% 1|7 Oct 19|
|000005f0| 39 31 09 4a 44 53 09 61 | 64 64 65 64 20 5c 70 73 |91.JDS.a|dded \ps|
|00000600| 73 63 61 6c 65 66 69 72 | 73 74 20 61 6e 64 20 5c |scalefir|st and \|
|00000610| 70 73 72 6f 74 61 74 65 | 66 69 72 73 74 0a 25 20 |psrotate|first.% |
|00000620| 32 33 20 4a 75 6e 20 31 | 39 39 33 20 20 20 4b 48 |23 Jun 1|993 KH|
|00000630| 43 20 20 20 20 20 60 60 | 64 6f 63 6c 69 70 27 27 |C ``|doclip''|
|00000640| 20 6d 75 73 74 20 61 70 | 70 65 61 72 20 62 65 66 | must ap|pear bef|
|00000650| 6f 72 65 20 60 60 72 6f | 74 61 74 65 27 27 0a 25 |ore ``ro|tate''.%|
|00000660| 20 32 37 20 4f 63 74 20 | 31 39 39 33 20 20 20 54 | 27 Oct |1993 T|
|00000670| 4a 44 09 72 65 6d 6f 76 | 65 64 20 70 72 69 6e 74 |JD.remov|ed print|
|00000680| 69 6e 67 20 6f 66 20 66 | 69 6c 65 6e 61 6d 65 20 |ing of f|ilename |
|00000690| 74 6f 20 61 76 6f 69 64 | 20 0a 25 09 09 09 75 6e |to avoid| .%...un|
|000006a0| 64 65 72 73 63 6f 72 65 | 20 70 72 6f 62 6c 65 6d |derscore| problem|
|000006b0| 73 2e 20 63 68 61 6e 67 | 65 64 20 5c 66 72 61 6d |s. chang|ed \fram|
|000006c0| 65 20 74 6f 20 5c 66 62 | 6f 78 2e 0a 25 09 09 09 |e to \fb|ox..%...|
|000006d0| 41 64 64 65 64 20 4f 7a | 54 65 58 20 73 75 70 70 |Added Oz|TeX supp|
|000006e0| 6f 72 74 20 66 72 6f 6d | 20 42 47 2e 20 41 64 64 |ort from| BG. Add|
|000006f0| 65 64 20 6e 65 77 0a 25 | 09 09 09 66 69 67 75 72 |ed new.%|...figur|
|00000700| 65 20 73 65 61 72 63 68 | 20 70 61 74 68 20 63 6f |e search| path co|
|00000710| 64 65 20 66 72 6f 6d 20 | 47 54 2e 0a 25 0a 25 20 |de from |GT..%.% |
|00000720| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000730| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000740| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000750| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000760| 3d 3d 3d 3d 3d 3d 0a 25 | 0a 25 20 43 6f 6d 6d 61 |======.%|.% Comma|
|00000770| 6e 64 20 73 79 6e 6f 70 | 73 69 73 3a 0a 25 0a 25 |nd synop|sis:.%.%|
|00000780| 20 5c 70 73 64 72 61 66 | 74 09 64 72 61 77 73 20 | \psdraf|t.draws |
|00000790| 61 6e 20 6f 75 74 6c 69 | 6e 65 20 62 6f 78 2c 20 |an outli|ne box, |
|000007a0| 62 75 74 20 64 6f 65 73 | 6e 27 74 20 69 6e 63 6c |but does|n't incl|
|000007b0| 75 64 65 20 74 68 65 20 | 66 69 67 75 72 65 0a 25 |ude the |figure.%|
|000007c0| 09 09 69 6e 20 74 68 65 | 20 44 56 49 20 66 69 6c |..in the| DVI fil|
|000007d0| 65 2e 20 20 55 73 65 66 | 75 6c 20 66 6f 72 20 70 |e. Usef|ul for p|
|000007e0| 72 65 76 69 65 77 69 6e | 67 2e 0a 25 0a 25 20 5c |reviewin|g..%.% \|
|000007f0| 70 73 66 75 6c 6c 09 69 | 6e 63 6c 75 64 65 73 20 |psfull.i|ncludes |
|00000800| 74 68 65 20 66 69 67 75 | 72 65 20 69 6e 20 74 68 |the figu|re in th|
|00000810| 65 20 44 56 49 20 66 69 | 6c 65 20 28 64 65 66 61 |e DVI fi|le (defa|
|00000820| 75 6c 74 29 2e 0a 25 0a | 25 20 5c 70 73 73 63 61 |ult)..%.|% \pssca|
|00000830| 6c 65 66 69 72 73 74 20 | 77 69 64 74 68 3d 20 6f |lefirst |width= o|
|00000840| 72 20 68 65 69 67 68 74 | 3d 20 73 70 65 63 69 66 |r height|= specif|
|00000850| 69 65 73 20 74 68 65 20 | 73 69 7a 65 20 6f 66 20 |ies the |size of |
|00000860| 74 68 65 20 66 69 67 75 | 72 65 0a 25 20 09 09 62 |the figu|re.% ..b|
|00000870| 65 66 6f 72 65 20 72 6f | 74 61 74 69 6f 6e 2e 0a |efore ro|tation..|
|00000880| 25 20 5c 70 73 72 6f 74 | 61 74 65 66 69 72 73 74 |% \psrot|atefirst|
|00000890| 20 28 64 65 66 61 75 6c | 74 29 20 77 69 64 74 68 | (defaul|t) width|
|000008a0| 3d 20 6f 72 20 68 65 69 | 67 68 74 3d 20 73 70 65 |= or hei|ght= spe|
|000008b0| 63 69 66 69 65 73 20 74 | 68 65 20 73 69 7a 65 20 |cifies t|he size |
|000008c0| 6f 66 20 74 68 65 0a 25 | 20 09 09 20 66 69 67 75 |of the.%| .. figu|
|000008d0| 72 65 20 61 66 74 65 72 | 20 72 6f 74 61 74 69 6f |re after| rotatio|
|000008e0| 6e 2e 20 20 41 73 79 6d | 65 74 72 69 63 20 66 69 |n. Asym|etric fi|
|000008f0| 67 75 72 65 73 20 77 69 | 6c 6c 0a 25 20 09 09 20 |gures wi|ll.% .. |
|00000900| 61 70 70 65 61 72 20 74 | 6f 20 73 68 72 69 6e 6b |appear t|o shrink|
|00000910| 2e 0a 25 0a 25 20 5c 70 | 73 66 69 67 75 72 65 70 |..%.% \p|sfigurep|
|00000920| 61 74 68 7b 64 69 72 3a | 64 69 72 3a 2e 2e 2e 7d |ath{dir:|dir:...}|
|00000930| 20 20 73 65 74 73 20 74 | 68 65 20 70 61 74 68 20 | sets t|he path |
|00000940| 74 6f 20 73 65 61 72 63 | 68 20 66 6f 72 20 74 68 |to searc|h for th|
|00000950| 65 20 66 69 67 75 72 65 | 0a 25 0a 25 20 5c 70 73 |e figure|.%.% \ps|
|00000960| 66 69 67 0a 25 20 75 73 | 61 67 65 3a 20 5c 70 73 |fig.% us|age: \ps|
|00000970| 66 69 67 7b 66 69 6c 65 | 3d 2c 20 66 69 67 75 72 |fig{file|=, figur|
|00000980| 65 3d 2c 20 68 65 69 67 | 68 74 3d 2c 20 77 69 64 |e=, heig|ht=, wid|
|00000990| 74 68 3d 2c 0a 25 09 09 | 09 62 62 6c 6c 78 3d 2c |th=,.%..|.bbllx=,|
|000009a0| 20 62 62 6c 6c 79 3d 2c | 20 62 62 75 72 78 3d 2c | bblly=,| bburx=,|
|000009b0| 20 62 62 75 72 79 3d 2c | 0a 25 09 09 09 72 68 65 | bbury=,|.%...rhe|
|000009c0| 69 67 68 74 3d 2c 20 72 | 77 69 64 74 68 3d 2c 20 |ight=, r|width=, |
|000009d0| 63 6c 69 70 3d 2c 20 61 | 6e 67 6c 65 3d 2c 20 73 |clip=, a|ngle=, s|
|000009e0| 69 6c 65 6e 74 3d 7d 0a | 25 0a 25 09 22 66 69 6c |ilent=}.|%.%."fil|
|000009f0| 65 22 20 69 73 20 74 68 | 65 20 66 69 6c 65 6e 61 |e" is th|e filena|
|00000a00| 6d 65 2e 20 20 49 66 20 | 6e 6f 20 70 61 74 68 20 |me. If |no path |
|00000a10| 6e 61 6d 65 20 69 73 20 | 73 70 65 63 69 66 69 65 |name is |specifie|
|00000a20| 64 20 61 6e 64 20 74 68 | 65 0a 25 09 09 66 69 6c |d and th|e.%..fil|
|00000a30| 65 20 69 73 20 6e 6f 74 | 20 66 6f 75 6e 64 20 69 |e is not| found i|
|00000a40| 6e 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 64 69 |n the cu|rrent di|
|00000a50| 72 65 63 74 6f 72 79 2c | 0a 25 09 09 69 74 20 77 |rectory,|.%..it w|
|00000a60| 69 6c 6c 20 62 65 20 6c | 6f 6f 6b 65 64 20 66 6f |ill be l|ooked fo|
|00000a70| 72 20 69 6e 20 64 69 72 | 65 63 74 6f 72 79 20 5c |r in dir|ectory \|
|00000a80| 70 73 66 69 67 75 72 65 | 70 61 74 68 2e 0a 25 09 |psfigure|path..%.|
|00000a90| 22 66 69 67 75 72 65 22 | 20 69 73 20 61 20 73 79 |"figure"| is a sy|
|00000aa0| 6e 6f 6e 79 6d 20 66 6f | 72 20 22 66 69 6c 65 22 |nonym fo|r "file"|
|00000ab0| 2e 0a 25 09 42 79 20 64 | 65 66 61 75 6c 74 2c 20 |..%.By d|efault, |
|00000ac0| 74 68 65 20 77 69 64 74 | 68 20 61 6e 64 20 68 65 |the widt|h and he|
|00000ad0| 69 67 68 74 20 6f 66 20 | 74 68 65 20 66 69 67 75 |ight of |the figu|
|00000ae0| 72 65 20 61 72 65 20 74 | 61 6b 65 6e 20 66 72 6f |re are t|aken fro|
|00000af0| 6d 0a 25 09 09 74 68 65 | 20 42 6f 75 6e 64 69 6e |m.%..the| Boundin|
|00000b00| 67 42 6f 78 20 6f 66 20 | 74 68 65 20 66 69 67 75 |gBox of |the figu|
|00000b10| 72 65 2e 0a 25 09 49 66 | 20 22 77 69 64 74 68 22 |re..%.If| "width"|
|00000b20| 20 69 73 20 73 70 65 63 | 69 66 69 65 64 2c 20 74 | is spec|ified, t|
|00000b30| 68 65 20 66 69 67 75 72 | 65 20 69 73 20 73 63 61 |he figur|e is sca|
|00000b40| 6c 65 64 20 73 6f 20 74 | 68 61 74 20 69 74 20 68 |led so t|hat it h|
|00000b50| 61 73 0a 25 09 09 74 68 | 65 20 73 70 65 63 69 66 |as.%..th|e specif|
|00000b60| 69 65 64 20 77 69 64 74 | 68 2e 20 20 49 74 73 20 |ied widt|h. Its |
|00000b70| 68 65 69 67 68 74 20 63 | 68 61 6e 67 65 73 20 70 |height c|hanges p|
|00000b80| 72 6f 70 6f 72 74 69 6f | 6e 61 74 65 6c 79 2e 0a |roportio|nately..|
|00000b90| 25 09 49 66 20 22 68 65 | 69 67 68 74 22 20 69 73 |%.If "he|ight" is|
|00000ba0| 20 73 70 65 63 69 66 69 | 65 64 2c 20 74 68 65 20 | specifi|ed, the |
|00000bb0| 66 69 67 75 72 65 20 69 | 73 20 73 63 61 6c 65 64 |figure i|s scaled|
|00000bc0| 20 73 6f 20 74 68 61 74 | 20 69 74 20 68 61 73 0a | so that| it has.|
|00000bd0| 25 09 09 74 68 65 20 73 | 70 65 63 69 66 69 65 64 |%..the s|pecified|
|00000be0| 20 68 65 69 67 68 74 2e | 20 20 49 74 73 20 77 69 | height.| Its wi|
|00000bf0| 64 74 68 20 63 68 61 6e | 67 65 73 20 70 72 6f 70 |dth chan|ges prop|
|00000c00| 6f 72 74 69 6f 6e 61 74 | 65 6c 79 2e 0a 25 09 49 |ortionat|ely..%.I|
|00000c10| 66 20 62 6f 74 68 20 22 | 77 69 64 74 68 22 20 61 |f both "|width" a|
|00000c20| 6e 64 20 22 68 65 69 67 | 68 74 22 20 61 72 65 20 |nd "heig|ht" are |
|00000c30| 73 70 65 63 69 66 69 65 | 64 2c 20 74 68 65 20 66 |specifie|d, the f|
|00000c40| 69 67 75 72 65 20 69 73 | 20 73 63 61 6c 65 64 0a |igure is| scaled.|
|00000c50| 25 09 09 61 6e 61 6d 6f | 72 70 68 69 63 61 6c 6c |%..anamo|rphicall|
|00000c60| 79 2e 0a 25 09 22 62 62 | 6c 6c 78 22 2c 20 22 62 |y..%."bb|llx", "b|
|00000c70| 62 6c 6c 79 22 2c 20 22 | 62 62 75 72 78 22 2c 20 |blly", "|bburx", |
|00000c80| 61 6e 64 20 22 62 62 75 | 72 79 22 20 63 6f 6e 74 |and "bbu|ry" cont|
|00000c90| 72 6f 6c 20 74 68 65 20 | 50 6f 73 74 53 63 72 69 |rol the |PostScri|
|00000ca0| 70 74 0a 25 09 09 42 6f | 75 6e 64 69 6e 67 42 6f |pt.%..Bo|undingBo|
|00000cb0| 78 2e 20 20 49 66 20 74 | 68 65 73 65 20 66 6f 75 |x. If t|hese fou|
|00000cc0| 72 20 76 61 6c 75 65 73 | 20 61 72 65 20 73 70 65 |r values| are spe|
|00000cd0| 63 69 66 69 65 64 0a 25 | 20 20 20 20 20 20 20 20 |cified.%| |
|00000ce0| 20 20 20 20 20 20 20 2a | 62 65 66 6f 72 65 2a 20 | *|before* |
|00000cf0| 74 68 65 20 22 66 69 6c | 65 22 20 6f 70 74 69 6f |the "fil|e" optio|
|00000d00| 6e 2c 20 74 68 65 20 50 | 53 46 49 47 20 77 69 6c |n, the P|SFIG wil|
|00000d10| 6c 20 6e 6f 74 20 74 72 | 79 20 74 6f 0a 25 20 20 |l not tr|y to.% |
|00000d20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 6f 70 65 | | ope|
|00000d30| 6e 20 74 68 65 20 50 6f | 73 74 53 63 72 69 70 74 |n the Po|stScript|
|00000d40| 20 66 69 6c 65 2e 0a 25 | 09 22 72 68 65 69 67 68 | file..%|."rheigh|
|00000d50| 74 22 20 61 6e 64 20 22 | 72 77 69 64 74 68 22 20 |t" and "|rwidth" |
|00000d60| 61 72 65 20 74 68 65 20 | 72 65 73 65 72 76 65 64 |are the |reserved|
|00000d70| 20 68 65 69 67 68 74 20 | 61 6e 64 20 77 69 64 74 | height |and widt|
|00000d80| 68 0a 25 09 09 6f 66 20 | 74 68 65 20 66 69 67 75 |h.%..of |the figu|
|00000d90| 72 65 2c 20 69 2e 65 2e | 2c 20 68 6f 77 20 62 69 |re, i.e.|, how bi|
|00000da0| 67 20 54 65 58 20 61 63 | 74 75 61 6c 6c 79 20 74 |g TeX ac|tually t|
|00000db0| 68 69 6e 6b 73 0a 25 09 | 09 74 68 65 20 66 69 67 |hinks.%.|.the fig|
|00000dc0| 75 72 65 20 69 73 2e 20 | 20 54 68 65 79 20 64 65 |ure is. | They de|
|00000dd0| 66 61 75 6c 74 20 74 6f | 20 22 77 69 64 74 68 22 |fault to| "width"|
|00000de0| 20 61 6e 64 20 22 68 65 | 69 67 68 74 22 2e 0a 25 | and "he|ight"..%|
|00000df0| 09 54 68 65 20 22 63 6c | 69 70 22 20 6f 70 74 69 |.The "cl|ip" opti|
|00000e00| 6f 6e 20 65 6e 73 75 72 | 65 73 20 74 68 61 74 20 |on ensur|es that |
|00000e10| 6e 6f 20 70 6f 72 74 69 | 6f 6e 20 6f 66 20 74 68 |no porti|on of th|
|00000e20| 65 20 66 69 67 75 72 65 | 20 77 69 6c 6c 0a 25 09 |e figure| will.%.|
|00000e30| 09 61 70 70 65 61 72 20 | 6f 75 74 73 69 64 65 20 |.appear |outside |
|00000e40| 69 74 73 20 42 6f 75 6e | 64 69 6e 67 42 6f 78 2e |its Boun|dingBox.|
|00000e50| 20 20 22 63 6c 69 70 3d | 22 20 69 73 20 61 20 73 | "clip=|" is a s|
|00000e60| 77 69 74 63 68 20 61 6e | 64 0a 25 09 09 74 61 6b |witch an|d.%..tak|
|00000e70| 65 73 20 6e 6f 20 76 61 | 6c 75 65 2c 20 62 75 74 |es no va|lue, but|
|00000e80| 20 74 68 65 20 60 3d 27 | 20 6d 75 73 74 20 62 65 | the `='| must be|
|00000e90| 20 70 72 65 73 65 6e 74 | 2e 0a 25 09 54 68 65 20 | present|..%.The |
|00000ea0| 22 61 6e 67 6c 65 22 20 | 6f 70 74 69 6f 6e 20 73 |"angle" |option s|
|00000eb0| 70 65 63 69 66 69 65 73 | 20 74 68 65 20 61 6e 67 |pecifies| the ang|
|00000ec0| 6c 65 20 6f 66 20 72 6f | 74 61 74 69 6f 6e 20 28 |le of ro|tation (|
|00000ed0| 64 65 67 72 65 65 73 2c | 20 63 63 77 29 2e 0a 25 |degrees,| ccw)..%|
|00000ee0| 09 54 68 65 20 22 73 69 | 6c 65 6e 74 22 20 6f 70 |.The "si|lent" op|
|00000ef0| 74 69 6f 6e 20 6d 61 6b | 65 73 20 5c 70 73 66 69 |tion mak|es \psfi|
|00000f00| 67 20 77 6f 72 6b 20 73 | 69 6c 65 6e 74 6c 79 2e |g work s|ilently.|
|00000f10| 0a 25 0a 25 20 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |.%.% ===|========|
|00000f20| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000f30| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000f40| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000f50| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 0a 25 20 63 68 |========|===.% ch|
|00000f60| 65 63 6b 20 74 6f 20 73 | 65 65 20 69 66 20 6d 61 |eck to s|ee if ma|
|00000f70| 63 72 6f 73 20 61 6c 72 | 65 61 64 79 20 6c 6f 61 |cros alr|eady loa|
|00000f80| 64 65 64 20 69 6e 20 28 | 6d 61 79 62 65 20 73 6f |ded in (|maybe so|
|00000f90| 6d 65 20 6f 74 68 65 72 | 20 66 69 6c 65 20 73 61 |me other| file sa|
|00000fa0| 79 73 0a 25 20 22 5c 69 | 6e 70 75 74 20 70 73 66 |ys.% "\i|nput psf|
|00000fb0| 69 67 22 29 20 2e 2e 2e | 0a 5c 69 66 78 5c 75 6e |ig") ...|.\ifx\un|
|00000fc0| 64 65 66 69 6e 65 64 5c | 70 73 66 69 67 5c 65 6c |defined\|psfig\el|
|00000fd0| 73 65 5c 65 6e 64 69 6e | 70 75 74 5c 66 69 0a 25 |se\endin|put\fi.%|
|00000fe0| 0a 25 20 66 72 6f 6d 20 | 61 20 73 75 67 67 65 73 |.% from |a sugges|
|00000ff0| 74 69 6f 6e 20 62 79 20 | 65 69 6a 6b 68 6f 75 74 |tion by |eijkhout|
|00001000| 40 63 73 72 64 2e 75 69 | 75 63 2e 65 64 75 20 74 |@csrd.ui|uc.edu t|
|00001010| 6f 20 61 6c 6c 6f 77 0a | 25 20 6c 6f 61 64 69 6e |o allow.|% loadin|
|00001020| 67 20 61 73 20 61 20 73 | 74 79 6c 65 20 66 69 6c |g as a s|tyle fil|
|00001030| 65 2e 20 43 68 61 6e 67 | 65 64 20 74 6f 20 61 76 |e. Chang|ed to av|
|00001040| 6f 69 64 20 70 72 6f 62 | 6c 65 6d 73 0a 25 20 77 |oid prob|lems.% w|
|00001050| 69 74 68 20 61 6d 73 74 | 65 78 20 70 65 72 20 73 |ith amst|ex per s|
|00001060| 75 67 67 65 73 74 69 6f | 6e 20 62 79 20 6a 62 65 |uggestio|n by jbe|
|00001070| 6e 63 65 40 6d 61 74 68 | 2e 75 63 6c 61 2e 65 64 |nce@math|.ucla.ed|
|00001080| 75 0a 0a 5c 6c 65 74 5c | 4c 61 54 65 58 41 74 53 |u..\let\|LaTeXAtS|
|00001090| 69 67 6e 3d 5c 40 0a 5c | 6c 65 74 5c 40 3d 5c 72 |ign=\@.\|let\@=\r|
|000010a0| 65 6c 61 78 0a 5c 65 64 | 65 66 5c 70 73 66 69 67 |elax.\ed|ef\psfig|
|000010b0| 52 65 73 74 6f 72 65 41 | 74 7b 5c 63 61 74 63 6f |RestoreA|t{\catco|
|000010c0| 64 65 60 5c 40 3d 5c 6e | 75 6d 62 65 72 5c 63 61 |de`\@=\n|umber\ca|
|000010d0| 74 63 6f 64 65 60 40 5c | 72 65 6c 61 78 7d 0a 25 |tcode`@\|relax}.%|
|000010e0| 5c 65 64 65 66 5c 70 73 | 66 69 67 52 65 73 74 6f |\edef\ps|figResto|
|000010f0| 72 65 41 74 7b 5c 63 61 | 74 63 6f 64 65 60 40 3d |reAt{\ca|tcode`@=|
|00001100| 5c 6e 75 6d 62 65 72 5c | 63 61 74 63 6f 64 65 60 |\number\|catcode`|
|00001110| 40 5c 72 65 6c 61 78 7d | 0a 5c 63 61 74 63 6f 64 |@\relax}|.\catcod|
|00001120| 65 60 5c 40 3d 31 31 5c | 72 65 6c 61 78 0a 5c 6e |e`\@=11\|relax.\n|
|00001130| 65 77 77 72 69 74 65 5c | 40 75 6e 75 73 65 64 0a |ewwrite\|@unused.|
|00001140| 5c 64 65 66 5c 70 73 40 | 74 79 70 65 6f 75 74 23 |\def\ps@|typeout#|
|00001150| 31 7b 7b 5c 6c 65 74 5c | 70 72 6f 74 65 63 74 5c |1{{\let\|protect\|
|00001160| 73 74 72 69 6e 67 5c 69 | 6d 6d 65 64 69 61 74 65 |string\i|mmediate|
|00001170| 5c 77 72 69 74 65 5c 40 | 75 6e 75 73 65 64 7b 23 |\write\@|unused{#|
|00001180| 31 7d 7d 7d 0a 0a 5c 64 | 65 66 5c 44 76 69 70 73 |1}}}..\d|ef\Dvips|
|00001190| 44 72 69 76 65 72 7b 0a | 09 5c 70 73 40 74 79 70 |Driver{.|.\ps@typ|
|000011a0| 65 6f 75 74 7b 70 73 66 | 69 67 2f 74 65 78 20 5c |eout{psf|ig/tex \|
|000011b0| 50 73 66 69 67 56 65 72 | 73 69 6f 6e 20 2d 64 76 |PsfigVer|sion -dv|
|000011c0| 69 70 73 7d 0a 5c 64 65 | 66 5c 50 73 66 69 67 53 |ips}.\de|f\PsfigS|
|000011d0| 70 65 63 69 61 6c 73 7b | 5c 44 76 69 70 73 53 70 |pecials{|\DvipsSp|
|000011e0| 65 63 69 61 6c 73 7d 20 | 09 5c 64 65 66 5c 70 73 |ecials} |.\def\ps|
|000011f0| 40 64 69 72 7b 2f 7d 0a | 5c 64 65 66 5c 70 73 40 |@dir{/}.|\def\ps@|
|00001200| 70 72 65 64 69 72 7b 7d | 20 7d 0a 5c 64 65 66 5c |predir{}| }.\def\|
|00001210| 4f 7a 54 65 58 44 72 69 | 76 65 72 7b 0a 09 5c 70 |OzTeXDri|ver{..\p|
|00001220| 73 40 74 79 70 65 6f 75 | 74 7b 70 73 66 69 67 2f |s@typeou|t{psfig/|
|00001230| 74 65 78 20 5c 50 73 66 | 69 67 56 65 72 73 69 6f |tex \Psf|igVersio|
|00001240| 6e 20 2d 6f 7a 74 65 78 | 7d 0a 09 5c 64 65 66 5c |n -oztex|}..\def\|
|00001250| 50 73 66 69 67 53 70 65 | 63 69 61 6c 73 7b 5c 4f |PsfigSpe|cials{\O|
|00001260| 7a 54 65 58 53 70 65 63 | 69 61 6c 73 7d 0a 09 5c |zTeXSpec|ials}..\|
|00001270| 64 65 66 5c 70 73 40 64 | 69 72 7b 3a 7d 0a 09 5c |def\ps@d|ir{:}..\|
|00001280| 64 65 66 5c 70 73 40 70 | 72 65 64 69 72 7b 3a 7d |def\ps@p|redir{:}|
|00001290| 0a 09 5c 63 61 74 63 6f | 64 65 60 5c 5e 5e 4a 3d |..\catco|de`\^^J=|
|000012a0| 35 0a 7d 0a 0a 25 25 20 | 48 65 72 65 27 73 20 68 |5.}..%% |Here's h|
|000012b0| 6f 77 20 79 6f 75 20 64 | 65 66 69 6e 65 20 79 6f |ow you d|efine yo|
|000012c0| 75 72 20 66 69 67 75 72 | 65 20 70 61 74 68 2e 20 |ur figur|e path. |
|000012d0| 20 53 68 6f 75 6c 64 20 | 62 65 20 73 65 74 20 75 | Should |be set u|
|000012e0| 70 20 77 69 74 68 20 6e | 75 6c 6c 0a 25 25 20 64 |p with n|ull.%% d|
|000012f0| 65 66 61 75 6c 74 20 61 | 6e 64 20 61 20 75 73 65 |efault a|nd a use|
|00001300| 72 20 75 73 65 61 62 6c | 65 20 64 65 66 69 6e 69 |r useabl|e defini|
|00001310| 74 69 6f 6e 2e 0a 0a 5c | 64 65 66 5c 66 69 67 75 |tion...\|def\figu|
|00001320| 72 65 70 61 74 68 7b 2e | 2f 3a 7d 0a 5c 64 65 66 |repath{.|/:}.\def|
|00001330| 5c 70 73 66 69 67 75 72 | 65 70 61 74 68 23 31 7b |\psfigur|epath#1{|
|00001340| 5c 65 64 65 66 5c 66 69 | 67 75 72 65 70 61 74 68 |\edef\fi|gurepath|
|00001350| 7b 23 31 3a 7d 7d 0a 0a | 25 25 25 20 69 6e 73 65 |{#1:}}..|%%% inse|
|00001360| 72 74 65 64 20 66 6f 72 | 20 53 65 61 72 63 68 69 |rted for| Searchi|
|00001370| 6e 67 20 55 6e 69 78 70 | 61 74 68 73 0a 25 25 25 |ng Unixp|aths.%%%|
|00001380| 20 28 74 68 65 20 70 61 | 74 68 20 6d 75 73 74 20 | (the pa|th must |
|00001390| 65 6e 64 20 77 69 74 68 | 20 3a 29 0a 25 25 25 20 |end with| :).%%% |
|000013a0| 28 63 61 6c 6c 3a 20 5c | 44 6f 50 61 74 68 73 5c |(call: \|DoPaths\|
|000013b0| 66 69 67 75 72 65 70 61 | 74 68 20 29 0a 25 25 25 |figurepa|th ).%%%|
|000013c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000013d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000013e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000013f0| 2d 2d 2d 2d 2d 2d 0a 5c | 64 65 66 5c 44 6f 50 61 |------.\|def\DoPa|
|00001400| 74 68 73 23 31 7b 5c 65 | 78 70 61 6e 64 61 66 74 |ths#1{\e|xpandaft|
|00001410| 65 72 5c 45 61 63 68 50 | 61 74 68 23 31 5c 73 74 |er\EachP|ath#1\st|
|00001420| 6f 70 6c 69 73 74 7d 0a | 25 0a 5c 64 65 66 5c 6c |oplist}.|%.\def\l|
|00001430| 65 65 72 7b 7d 0a 5c 64 | 65 66 5c 45 61 63 68 50 |eer{}.\d|ef\EachP|
|00001440| 61 74 68 23 31 3a 23 32 | 5c 73 74 6f 70 6c 69 73 |ath#1:#2|\stoplis|
|00001450| 74 7b 25 20 23 31 20 70 | 61 72 74 20 6f 66 20 74 |t{% #1 p|art of t|
|00001460| 68 65 20 6c 69 73 74 20 | 28 64 65 6c 69 6d 69 74 |he list |(delimit|
|00001470| 65 72 20 3a 29 0a 20 20 | 5c 45 78 69 73 74 73 46 |er :). |\ExistsF|
|00001480| 69 6c 65 7b 23 31 7d 7b | 5c 53 65 61 72 63 68 65 |ile{#1}{|\Searche|
|00001490| 64 46 69 6c 65 7d 0a 20 | 20 5c 69 66 78 23 32 5c |dFile}. | \ifx#2\|
|000014a0| 6c 65 65 72 0a 20 20 5c | 65 6c 73 65 0a 20 20 20 |leer. \|else. |
|000014b0| 20 5c 65 78 70 61 6e 64 | 61 66 74 65 72 5c 45 61 | \expand|after\Ea|
|000014c0| 63 68 50 61 74 68 23 32 | 5c 73 74 6f 70 6c 69 73 |chPath#2|\stoplis|
|000014d0| 74 0a 20 20 5c 66 69 7d | 0a 25 0a 25 20 65 78 69 |t. \fi}|.%.% exi|
|000014e0| 73 74 73 20 74 68 65 20 | 66 69 6c 65 20 28 64 6f |sts the |file (do|
|000014f0| 65 73 20 6e 6f 74 20 77 | 6f 72 6b 20 66 6f 72 20 |es not w|ork for |
|00001500| 64 69 72 65 63 74 6f 72 | 69 65 73 21 29 0a 25 0a |director|ies!).%.|
|00001510| 5c 64 65 66 5c 70 73 40 | 64 69 72 7b 2f 7d 0a 5c |\def\ps@|dir{/}.\|
|00001520| 64 65 66 5c 45 78 69 73 | 74 73 46 69 6c 65 23 31 |def\Exis|tsFile#1|
|00001530| 23 32 7b 25 0a 20 20 20 | 5c 6f 70 65 6e 69 6e 31 |#2{%. |\openin1|
|00001540| 3d 5c 70 73 40 70 72 65 | 64 69 72 23 31 5c 70 73 |=\ps@pre|dir#1\ps|
|00001550| 40 64 69 72 23 32 0a 20 | 20 20 5c 69 66 65 6f 66 |@dir#2. | \ifeof|
|00001560| 31 0a 20 20 20 20 20 20 | 20 5c 63 6c 6f 73 65 69 |1. | \closei|
|00001570| 6e 31 0a 20 20 20 20 20 | 20 20 25 5c 70 73 40 74 |n1. | %\ps@t|
|00001580| 79 70 65 6f 75 74 7b 2e | 2e 2e 6e 6f 74 3a 20 5c |ypeout{.|..not: \|
|00001590| 70 73 40 70 72 65 64 69 | 72 23 31 5c 70 73 40 64 |ps@predi|r#1\ps@d|
|000015a0| 69 72 23 32 7d 0a 20 20 | 20 5c 65 6c 73 65 0a 20 |ir#2}. | \else. |
|000015b0| 20 20 20 20 20 20 5c 63 | 6c 6f 73 65 69 6e 31 0a | \c|losein1.|
|000015c0| 20 20 20 20 20 20 20 25 | 5c 70 73 40 74 79 70 65 | %|\ps@type|
|000015d0| 6f 75 74 7b 2e 2e 2e 69 | 6e 3a 20 20 5c 70 73 40 |out{...i|n: \ps@|
|000015e0| 70 72 65 64 69 72 23 31 | 5c 70 73 40 64 69 72 23 |predir#1|\ps@dir#|
|000015f0| 32 7d 0a 20 20 20 20 20 | 20 20 20 5c 69 66 78 5c |2}. | \ifx\|
|00001600| 70 73 40 66 6f 75 6e 64 | 64 69 72 5c 6c 65 65 72 |ps@found|dir\leer|
|00001610| 0a 20 20 20 20 20 20 20 | 20 20 20 25 5c 70 73 40 |. | %\ps@|
|00001620| 74 79 70 65 6f 75 74 7b | 73 65 74 20 66 6f 75 6e |typeout{|set foun|
|00001630| 64 64 69 72 20 23 31 7d | 0a 20 20 20 20 20 20 20 |ddir #1}|. |
|00001640| 20 20 20 20 5c 65 64 65 | 66 5c 70 73 40 66 6f 75 | \ede|f\ps@fou|
|00001650| 6e 64 64 69 72 7b 23 31 | 7d 0a 20 20 20 20 20 20 |nddir{#1|}. |
|00001660| 20 20 5c 66 69 0a 20 20 | 20 5c 66 69 7d 0a 25 2d | \fi. | \fi}.%-|
|00001670| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001680| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001690| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000016a0| 2d 2d 2d 2d 2d 0a 25 0a | 25 20 47 65 74 20 64 69 |-----.%.|% Get di|
|000016b0| 72 20 69 6e 20 70 61 74 | 68 20 6f 72 20 65 72 72 |r in pat|h or err|
|000016c0| 6f 72 0a 25 0a 5c 64 65 | 66 5c 67 65 74 40 64 69 |or.%.\de|f\get@di|
|000016d0| 72 23 31 7b 25 0a 20 20 | 5c 64 65 66 5c 70 73 40 |r#1{%. |\def\ps@|
|000016e0| 66 6f 75 6e 64 64 69 72 | 7b 7d 0a 20 20 5c 64 65 |founddir|{}. \de|
|000016f0| 66 5c 53 65 61 72 63 68 | 65 64 46 69 6c 65 7b 23 |f\Search|edFile{#|
|00001700| 31 7d 0a 20 20 5c 44 6f | 50 61 74 68 73 5c 66 69 |1}. \Do|Paths\fi|
|00001710| 67 75 72 65 70 61 74 68 | 0a 25 20 20 5c 66 69 0a |gurepath|.% \fi.|
|00001720| 7d 0a 25 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |}.%-----|--------|
|00001730| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001740| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001750| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 0a 25 25 25 20 45 4e |--------|-.%%% EN|
|00001760| 44 20 6f 66 20 53 65 61 | 72 63 68 69 6e 67 20 55 |D of Sea|rching U|
|00001770| 6e 69 78 70 61 74 68 73 | 0a 0a 0a 25 0a 25 20 40 |nixpaths|...%.% @|
|00001780| 70 73 64 6f 20 63 6f 6e | 74 72 6f 6c 20 73 74 72 |psdo con|trol str|
|00001790| 75 63 74 75 72 65 20 2d | 2d 20 73 69 6d 69 6c 61 |ucture -|- simila|
|000017a0| 72 20 74 6f 20 4c 61 74 | 65 78 20 40 66 6f 72 2e |r to Lat|ex @for.|
|000017b0| 0a 25 20 49 20 72 65 64 | 65 66 69 6e 65 64 20 74 |.% I red|efined t|
|000017c0| 68 65 73 65 20 77 69 74 | 68 20 64 69 66 66 65 72 |hese wit|h differ|
|000017d0| 65 6e 74 20 6e 61 6d 65 | 73 20 73 6f 20 74 68 61 |ent name|s so tha|
|000017e0| 74 20 70 73 66 69 67 20 | 63 61 6e 0a 25 20 62 65 |t psfig |can.% be|
|000017f0| 20 75 73 65 64 20 77 69 | 74 68 20 54 65 58 20 61 | used wi|th TeX a|
|00001800| 73 20 77 65 6c 6c 20 61 | 73 20 4c 61 54 65 58 2c |s well a|s LaTeX,|
|00001810| 20 61 6e 64 20 73 6f 20 | 74 68 61 74 20 69 74 20 | and so |that it |
|00001820| 77 69 6c 6c 20 6e 6f 74 | 20 0a 25 20 62 65 20 76 |will not| .% be v|
|00001830| 75 6e 65 72 61 62 6c 65 | 20 74 6f 20 66 75 74 75 |unerable| to futu|
|00001840| 72 65 20 63 68 61 6e 67 | 65 73 20 69 6e 20 4c 61 |re chang|es in La|
|00001850| 54 65 58 27 73 20 69 6e | 74 65 72 6e 61 6c 0a 25 |TeX's in|ternal.%|
|00001860| 20 63 6f 6e 74 72 6f 6c | 20 73 74 72 75 63 74 75 | control| structu|
|00001870| 72 65 2c 0a 25 0a 5c 64 | 65 66 5c 40 6e 6e 69 6c |re,.%.\d|ef\@nnil|
|00001880| 7b 5c 40 6e 69 6c 7d 0a | 5c 64 65 66 5c 40 65 6d |{\@nil}.|\def\@em|
|00001890| 70 74 79 7b 7d 0a 5c 64 | 65 66 5c 40 70 73 64 6f |pty{}.\d|ef\@psdo|
|000018a0| 6e 6f 6f 70 23 31 5c 40 | 40 23 32 23 33 7b 7d 0a |noop#1\@|@#2#3{}.|
|000018b0| 5c 64 65 66 5c 40 70 73 | 64 6f 23 31 3a 3d 23 32 |\def\@ps|do#1:=#2|
|000018c0| 5c 64 6f 23 33 7b 5c 65 | 64 65 66 5c 40 70 73 64 |\do#3{\e|def\@psd|
|000018d0| 6f 74 6d 70 7b 23 32 7d | 5c 69 66 78 5c 40 70 73 |otmp{#2}|\ifx\@ps|
|000018e0| 64 6f 74 6d 70 5c 40 65 | 6d 70 74 79 20 5c 65 6c |dotmp\@e|mpty \el|
|000018f0| 73 65 0a 20 20 20 20 5c | 65 78 70 61 6e 64 61 66 |se. \|expandaf|
|00001900| 74 65 72 5c 40 70 73 64 | 6f 6c 6f 6f 70 23 32 2c |ter\@psd|oloop#2,|
|00001910| 5c 40 6e 69 6c 2c 5c 40 | 6e 69 6c 5c 40 40 23 31 |\@nil,\@|nil\@@#1|
|00001920| 7b 23 33 7d 5c 66 69 7d | 0a 5c 64 65 66 5c 40 70 |{#3}\fi}|.\def\@p|
|00001930| 73 64 6f 6c 6f 6f 70 23 | 31 2c 23 32 2c 23 33 5c |sdoloop#|1,#2,#3\|
|00001940| 40 40 23 34 23 35 7b 5c | 64 65 66 23 34 7b 23 31 |@@#4#5{\|def#4{#1|
|00001950| 7d 5c 69 66 78 20 23 34 | 5c 40 6e 6e 69 6c 20 5c |}\ifx #4|\@nnil \|
|00001960| 65 6c 73 65 0a 20 20 20 | 20 20 20 20 23 35 5c 64 |else. | #5\d|
|00001970| 65 66 23 34 7b 23 32 7d | 5c 69 66 78 20 23 34 5c |ef#4{#2}|\ifx #4\|
|00001980| 40 6e 6e 69 6c 20 5c 65 | 6c 73 65 23 35 5c 40 69 |@nnil \e|lse#5\@i|
|00001990| 70 73 64 6f 6c 6f 6f 70 | 20 23 33 5c 40 40 23 34 |psdoloop| #3\@@#4|
|000019a0| 7b 23 35 7d 5c 66 69 5c | 66 69 7d 0a 5c 64 65 66 |{#5}\fi\|fi}.\def|
|000019b0| 5c 40 69 70 73 64 6f 6c | 6f 6f 70 23 31 2c 23 32 |\@ipsdol|oop#1,#2|
|000019c0| 5c 40 40 23 33 23 34 7b | 5c 64 65 66 23 33 7b 23 |\@@#3#4{|\def#3{#|
|000019d0| 31 7d 5c 69 66 78 20 23 | 33 5c 40 6e 6e 69 6c 20 |1}\ifx #|3\@nnil |
|000019e0| 0a 20 20 20 20 20 20 20 | 5c 6c 65 74 5c 40 6e 65 |. |\let\@ne|
|000019f0| 78 74 77 68 69 6c 65 3d | 5c 40 70 73 64 6f 6e 6f |xtwhile=|\@psdono|
|00001a00| 6f 70 20 5c 65 6c 73 65 | 0a 20 20 20 20 20 20 23 |op \else|. #|
|00001a10| 34 5c 72 65 6c 61 78 5c | 6c 65 74 5c 40 6e 65 78 |4\relax\|let\@nex|
|00001a20| 74 77 68 69 6c 65 3d 5c | 40 69 70 73 64 6f 6c 6f |twhile=\|@ipsdolo|
|00001a30| 6f 70 5c 66 69 5c 40 6e | 65 78 74 77 68 69 6c 65 |op\fi\@n|extwhile|
|00001a40| 23 32 5c 40 40 23 33 7b | 23 34 7d 7d 0a 5c 64 65 |#2\@@#3{|#4}}.\de|
|00001a50| 66 5c 40 74 70 73 64 6f | 23 31 3a 3d 23 32 5c 64 |f\@tpsdo|#1:=#2\d|
|00001a60| 6f 23 33 7b 5c 78 64 65 | 66 5c 40 70 73 64 6f 74 |o#3{\xde|f\@psdot|
|00001a70| 6d 70 7b 23 32 7d 5c 69 | 66 78 5c 40 70 73 64 6f |mp{#2}\i|fx\@psdo|
|00001a80| 74 6d 70 5c 40 65 6d 70 | 74 79 20 5c 65 6c 73 65 |tmp\@emp|ty \else|
|00001a90| 0a 20 20 20 20 5c 40 74 | 70 73 64 6f 6c 6f 6f 70 |. \@t|psdoloop|
|00001aa0| 23 32 5c 40 6e 69 6c 5c | 40 6e 69 6c 5c 40 40 23 |#2\@nil\|@nil\@@#|
|00001ab0| 31 7b 23 33 7d 5c 66 69 | 7d 0a 5c 64 65 66 5c 40 |1{#3}\fi|}.\def\@|
|00001ac0| 74 70 73 64 6f 6c 6f 6f | 70 23 31 23 32 5c 40 40 |tpsdoloo|p#1#2\@@|
|00001ad0| 23 33 23 34 7b 5c 64 65 | 66 23 33 7b 23 31 7d 5c |#3#4{\de|f#3{#1}\|
|00001ae0| 69 66 78 20 23 33 5c 40 | 6e 6e 69 6c 20 0a 20 20 |ifx #3\@|nnil . |
|00001af0| 20 20 20 20 20 5c 6c 65 | 74 5c 40 6e 65 78 74 77 | \le|t\@nextw|
|00001b00| 68 69 6c 65 3d 5c 40 70 | 73 64 6f 6e 6f 6f 70 20 |hile=\@p|sdonoop |
|00001b10| 5c 65 6c 73 65 0a 20 20 | 20 20 20 20 23 34 5c 72 |\else. | #4\r|
|00001b20| 65 6c 61 78 5c 6c 65 74 | 5c 40 6e 65 78 74 77 68 |elax\let|\@nextwh|
|00001b30| 69 6c 65 3d 5c 40 74 70 | 73 64 6f 6c 6f 6f 70 5c |ile=\@tp|sdoloop\|
|00001b40| 66 69 5c 40 6e 65 78 74 | 77 68 69 6c 65 23 32 5c |fi\@next|while#2\|
|00001b50| 40 40 23 33 7b 23 34 7d | 7d 0a 25 20 0a 25 20 5c |@@#3{#4}|}.% .% \|
|00001b60| 66 62 6f 78 20 69 73 20 | 64 65 66 69 6e 65 64 20 |fbox is |defined |
|00001b70| 69 6e 20 6c 61 74 65 78 | 2e 74 65 78 3b 20 73 6f |in latex|.tex; so|
|00001b80| 20 69 66 20 5c 66 62 6f | 78 20 69 73 20 75 6e 64 | if \fbo|x is und|
|00001b90| 65 66 69 6e 65 64 2c 20 | 61 73 73 75 6d 65 20 74 |efined, |assume t|
|00001ba0| 68 61 74 0a 25 20 77 65 | 20 61 72 65 20 6e 6f 74 |hat.% we| are not|
|00001bb0| 20 69 6e 20 4c 61 54 65 | 58 2e 0a 25 20 50 65 72 | in LaTe|X..% Per|
|00001bc0| 68 61 70 73 20 74 68 69 | 73 20 63 6f 75 6c 64 20 |haps thi|s could |
|00001bd0| 62 65 20 64 6f 6e 65 20 | 62 65 74 74 65 72 3f 3f |be done |better??|
|00001be0| 3f 0a 5c 69 66 78 5c 75 | 6e 64 65 66 69 6e 65 64 |?.\ifx\u|ndefined|
|00001bf0| 5c 66 62 6f 78 0a 25 20 | 5c 66 62 6f 78 20 63 6f |\fbox.% |\fbox co|
|00001c00| 64 65 20 66 72 6f 6d 20 | 6d 6f 64 69 66 69 65 64 |de from |modified|
|00001c10| 20 73 6c 69 67 68 74 6c | 79 20 66 72 6f 6d 20 4c | slightl|y from L|
|00001c20| 61 54 65 58 0a 5c 6e 65 | 77 64 69 6d 65 6e 5c 66 |aTeX.\ne|wdimen\f|
|00001c30| 62 6f 78 72 75 6c 65 0a | 5c 6e 65 77 64 69 6d 65 |boxrule.|\newdime|
|00001c40| 6e 5c 66 62 6f 78 73 65 | 70 0a 5c 6e 65 77 64 69 |n\fboxse|p.\newdi|
|00001c50| 6d 65 6e 5c 70 73 40 74 | 65 6d 70 64 69 6d 61 0a |men\ps@t|empdima.|
|00001c60| 5c 6e 65 77 62 6f 78 5c | 70 73 40 74 65 6d 70 62 |\newbox\|ps@tempb|
|00001c70| 6f 78 61 0a 5c 66 62 6f | 78 73 65 70 20 3d 20 33 |oxa.\fbo|xsep = 3|
|00001c80| 70 74 0a 5c 66 62 6f 78 | 72 75 6c 65 20 3d 20 2e |pt.\fbox|rule = .|
|00001c90| 34 70 74 0a 5c 6c 6f 6e | 67 5c 64 65 66 5c 66 62 |4pt.\lon|g\def\fb|
|00001ca0| 6f 78 23 31 7b 5c 6c 65 | 61 76 65 76 6d 6f 64 65 |ox#1{\le|avevmode|
|00001cb0| 5c 73 65 74 62 6f 78 5c | 70 73 40 74 65 6d 70 62 |\setbox\|ps@tempb|
|00001cc0| 6f 78 61 5c 68 62 6f 78 | 7b 23 31 7d 5c 70 73 40 |oxa\hbox|{#1}\ps@|
|00001cd0| 74 65 6d 70 64 69 6d 61 | 5c 66 62 6f 78 72 75 6c |tempdima|\fboxrul|
|00001ce0| 65 0a 20 20 20 20 5c 61 | 64 76 61 6e 63 65 5c 70 |e. \a|dvance\p|
|00001cf0| 73 40 74 65 6d 70 64 69 | 6d 61 20 5c 66 62 6f 78 |s@tempdi|ma \fbox|
|00001d00| 73 65 70 20 5c 61 64 76 | 61 6e 63 65 5c 70 73 40 |sep \adv|ance\ps@|
|00001d10| 74 65 6d 70 64 69 6d 61 | 20 5c 64 70 5c 70 73 40 |tempdima| \dp\ps@|
|00001d20| 74 65 6d 70 62 6f 78 61 | 0a 20 20 20 5c 68 62 6f |tempboxa|. \hbo|
|00001d30| 78 7b 5c 6c 6f 77 65 72 | 20 5c 70 73 40 74 65 6d |x{\lower| \ps@tem|
|00001d40| 70 64 69 6d 61 5c 68 62 | 6f 78 0a 20 20 7b 5c 76 |pdima\hb|ox. {\v|
|00001d50| 62 6f 78 7b 5c 68 72 75 | 6c 65 20 68 65 69 67 68 |box{\hru|le heigh|
|00001d60| 74 20 5c 66 62 6f 78 72 | 75 6c 65 0a 20 20 20 20 |t \fboxr|ule. |
|00001d70| 20 20 20 20 20 20 5c 68 | 62 6f 78 7b 5c 76 72 75 | \h|box{\vru|
|00001d80| 6c 65 20 77 69 64 74 68 | 20 5c 66 62 6f 78 72 75 |le width| \fboxru|
|00001d90| 6c 65 20 5c 68 73 6b 69 | 70 5c 66 62 6f 78 73 65 |le \hski|p\fboxse|
|00001da0| 70 0a 20 20 20 20 20 20 | 20 20 20 20 5c 76 62 6f |p. | \vbo|
|00001db0| 78 7b 5c 76 73 6b 69 70 | 5c 66 62 6f 78 73 65 70 |x{\vskip|\fboxsep|
|00001dc0| 20 5c 62 6f 78 5c 70 73 | 40 74 65 6d 70 62 6f 78 | \box\ps|@tempbox|
|00001dd0| 61 5c 76 73 6b 69 70 5c | 66 62 6f 78 73 65 70 7d |a\vskip\|fboxsep}|
|00001de0| 5c 68 73 6b 69 70 20 0a | 20 20 20 20 20 20 20 20 |\hskip .| |
|00001df0| 20 20 20 20 20 20 20 20 | 20 5c 66 62 6f 78 73 65 | | \fboxse|
|00001e00| 70 5c 76 72 75 6c 65 20 | 77 69 64 74 68 20 5c 66 |p\vrule |width \f|
|00001e10| 62 6f 78 72 75 6c 65 7d | 0a 20 20 20 20 20 20 20 |boxrule}|. |
|00001e20| 20 20 20 20 20 20 20 20 | 20 20 5c 68 72 75 6c 65 | | \hrule|
|00001e30| 20 68 65 69 67 68 74 20 | 5c 66 62 6f 78 72 75 6c | height |\fboxrul|
|00001e40| 65 7d 7d 7d 7d 0a 5c 66 | 69 0a 25 0a 25 25 25 25 |e}}}}.\f|i.%.%%%%|
|00001e50| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00001e60| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00001e70| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00001e80| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 0a |%%%%%%%%|%%%%%%%.|
|00001e90| 25 20 66 69 6c 65 20 72 | 65 61 64 69 6e 67 20 73 |% file r|eading s|
|00001ea0| 74 75 66 66 20 66 72 6f | 6d 20 65 70 73 66 2e 74 |tuff fro|m epsf.t|
|00001eb0| 65 78 0a 25 20 20 20 45 | 50 53 46 2e 54 45 58 20 |ex.% E|PSF.TEX |
|00001ec0| 6d 61 63 72 6f 20 66 69 | 6c 65 3a 0a 25 20 20 20 |macro fi|le:.% |
|00001ed0| 57 72 69 74 74 65 6e 20 | 62 79 20 54 6f 6d 61 73 |Written |by Tomas|
|00001ee0| 20 52 6f 6b 69 63 6b 69 | 20 6f 66 20 52 61 64 69 | Rokicki| of Radi|
|00001ef0| 63 61 6c 20 45 79 65 20 | 53 6f 66 74 77 61 72 65 |cal Eye |Software|
|00001f00| 2c 20 32 39 20 4d 61 72 | 20 31 39 38 39 2e 0a 25 |, 29 Mar| 1989..%|
|00001f10| 20 20 20 52 65 76 69 73 | 65 64 20 62 79 20 44 6f | Revis|ed by Do|
|00001f20| 6e 20 4b 6e 75 74 68 2c | 20 33 20 4a 61 6e 20 31 |n Knuth,| 3 Jan 1|
|00001f30| 39 39 30 2e 0a 25 20 20 | 20 52 65 76 69 73 65 64 |990..% | Revised|
|00001f40| 20 62 79 20 54 6f 6d 61 | 73 20 52 6f 6b 69 63 6b | by Toma|s Rokick|
|00001f50| 69 20 74 6f 20 61 63 63 | 65 70 74 20 62 6f 75 6e |i to acc|ept boun|
|00001f60| 64 69 6e 67 20 62 6f 78 | 65 73 20 77 69 74 68 20 |ding box|es with |
|00001f70| 6e 6f 0a 25 20 20 20 20 | 20 20 73 70 61 63 65 20 |no.% | space |
|00001f80| 61 66 74 65 72 20 74 68 | 65 20 63 6f 6c 6f 6e 2c |after th|e colon,|
|00001f90| 20 31 38 20 4a 75 6c 20 | 31 39 39 30 2e 0a 25 20 | 18 Jul |1990..% |
|00001fa0| 20 20 50 6f 72 74 69 6f | 6e 73 20 6d 6f 64 69 66 | Portio|ns modif|
|00001fb0| 69 65 64 2f 72 65 6d 6f | 76 65 64 20 66 6f 72 20 |ied/remo|ved for |
|00001fc0| 75 73 65 20 69 6e 20 50 | 53 46 49 47 20 70 61 63 |use in P|SFIG pac|
|00001fd0| 6b 61 67 65 20 62 79 0a | 25 20 20 20 20 20 20 4a |kage by.|% J|
|00001fe0| 2e 20 44 61 6e 69 65 6c | 20 53 6d 69 74 68 2c 20 |. Daniel| Smith, |
|00001ff0| 39 20 4f 63 74 6f 62 65 | 72 20 31 39 39 30 2e 0a |9 Octobe|r 1990..|
|00002000| 25 0a 5c 6e 65 77 72 65 | 61 64 5c 70 73 40 73 74 |%.\newre|ad\ps@st|
|00002010| 72 65 61 6d 0a 5c 6e 65 | 77 69 66 5c 69 66 6e 6f |ream.\ne|wif\ifno|
|00002020| 74 40 65 6f 66 20 20 20 | 20 20 20 20 25 20 63 6f |t@eof | % co|
|00002030| 6e 74 69 6e 75 65 20 6c | 6f 6f 6b 69 6e 67 20 66 |ntinue l|ooking f|
|00002040| 6f 72 20 74 68 65 20 62 | 6f 75 6e 64 69 6e 67 20 |or the b|ounding |
|00002050| 62 6f 78 3f 0a 5c 6e 65 | 77 69 66 5c 69 66 40 6e |box?.\ne|wif\if@n|
|00002060| 6f 69 73 79 20 20 20 20 | 20 20 20 20 25 20 72 65 |oisy | % re|
|00002070| 70 6f 72 74 20 77 68 61 | 74 20 79 6f 75 27 72 65 |port wha|t you're|
|00002080| 20 6d 61 6b 69 6e 67 3f | 0a 5c 6e 65 77 69 66 5c | making?|.\newif\|
|00002090| 69 66 40 61 74 65 6e 64 | 20 20 20 20 20 20 20 20 |if@atend| |
|000020a0| 25 20 25 25 42 6f 75 6e | 64 69 6e 67 42 6f 78 3a |% %%Boun|dingBox:|
|000020b0| 20 68 61 73 20 28 61 74 | 20 65 6e 64 29 20 73 70 | has (at| end) sp|
|000020c0| 65 63 69 66 69 63 61 74 | 69 6f 6e 0a 5c 6e 65 77 |ecificat|ion.\new|
|000020d0| 69 66 5c 69 66 40 70 73 | 66 69 6c 65 20 20 20 20 |if\if@ps|file |
|000020e0| 20 20 20 25 20 64 6f 65 | 73 20 74 68 69 73 20 6c | % doe|s this l|
|000020f0| 6f 6f 6b 20 6c 69 6b 65 | 20 61 20 50 6f 73 74 53 |ook like| a PostS|
|00002100| 63 72 69 70 74 20 66 69 | 6c 65 3f 0a 25 0a 25 20 |cript fi|le?.%.% |
|00002110| 50 6f 73 74 53 63 72 69 | 70 74 20 66 69 6c 65 73 |PostScri|pt files|
|00002120| 20 73 68 6f 75 6c 64 20 | 73 74 61 72 74 20 77 69 | should |start wi|
|00002130| 74 68 20 60 25 21 27 0a | 25 0a 7b 5c 63 61 74 63 |th `%!'.|%.{\catc|
|00002140| 6f 64 65 60 5c 25 3d 31 | 32 5c 67 6c 6f 62 61 6c |ode`\%=1|2\global|
|00002150| 5c 67 64 65 66 5c 65 70 | 73 66 40 73 74 61 72 74 |\gdef\ep|sf@start|
|00002160| 7b 25 21 7d 7d 0a 5c 64 | 65 66 5c 65 70 73 66 40 |{%!}}.\d|ef\epsf@|
|00002170| 50 53 7b 50 53 7d 0a 25 | 0a 5c 64 65 66 5c 65 70 |PS{PS}.%|.\def\ep|
|00002180| 73 66 40 67 65 74 62 62 | 23 31 7b 25 0a 25 0a 25 |sf@getbb|#1{%.%.%|
|00002190| 20 20 20 54 68 65 20 66 | 69 72 73 74 20 74 68 69 | The f|irst thi|
|000021a0| 6e 67 20 77 65 20 6e 65 | 65 64 20 74 6f 20 64 6f |ng we ne|ed to do|
|000021b0| 20 69 73 20 74 6f 20 6f | 70 65 6e 20 74 68 65 0a | is to o|pen the.|
|000021c0| 25 20 20 20 50 6f 73 74 | 53 63 72 69 70 74 20 66 |% Post|Script f|
|000021d0| 69 6c 65 2c 20 69 66 20 | 70 6f 73 73 69 62 6c 65 |ile, if |possible|
|000021e0| 2e 0a 25 0a 5c 6f 70 65 | 6e 69 6e 5c 70 73 40 73 |..%.\ope|nin\ps@s|
|000021f0| 74 72 65 61 6d 3d 5c 70 | 73 40 70 72 65 64 69 72 |tream=\p|s@predir|
|00002200| 23 31 0a 5c 69 66 65 6f | 66 5c 70 73 40 73 74 72 |#1.\ifeo|f\ps@str|
|00002210| 65 61 6d 5c 70 73 40 74 | 79 70 65 6f 75 74 7b 45 |eam\ps@t|ypeout{E|
|00002220| 72 72 6f 72 2c 20 46 69 | 6c 65 20 23 31 20 6e 6f |rror, Fi|le #1 no|
|00002230| 74 20 66 6f 75 6e 64 7d | 5c 65 6c 73 65 0a 25 0a |t found}|\else.%.|
|00002240| 25 20 20 20 4f 6b 61 79 | 2c 20 77 65 20 67 6f 74 |% Okay|, we got|
|00002250| 20 69 74 2e 20 4e 6f 77 | 20 77 65 27 6c 6c 20 73 | it. Now| we'll s|
|00002260| 63 61 6e 20 6c 69 6e 65 | 73 20 75 6e 74 69 6c 20 |can line|s until |
|00002270| 77 65 20 66 69 6e 64 20 | 6f 6e 65 20 74 68 61 74 |we find |one that|
|00002280| 20 64 6f 65 73 6e 27 74 | 0a 25 20 20 20 73 74 61 | doesn't|.% sta|
|00002290| 72 74 20 77 69 74 68 20 | 25 2e 20 57 65 27 72 65 |rt with |%. We're|
|000022a0| 20 6c 6f 6f 6b 69 6e 67 | 20 66 6f 72 20 74 68 65 | looking| for the|
|000022b0| 20 62 6f 75 6e 64 69 6e | 67 20 62 6f 78 20 63 6f | boundin|g box co|
|000022c0| 6d 6d 65 6e 74 2e 0a 25 | 0a 20 20 20 7b 5c 6e 6f |mment..%|. {\no|
|000022d0| 74 40 65 6f 66 74 72 75 | 65 20 5c 63 68 61 72 64 |t@eoftru|e \chard|
|000022e0| 65 66 5c 6f 74 68 65 72 | 3d 31 32 0a 20 20 20 20 |ef\other|=12. |
|000022f0| 5c 64 65 66 5c 64 6f 23 | 23 31 7b 5c 63 61 74 63 |\def\do#|#1{\catc|
|00002300| 6f 64 65 60 23 23 31 3d | 5c 6f 74 68 65 72 7d 5c |ode`##1=|\other}\|
|00002310| 64 6f 73 70 65 63 69 61 | 6c 73 20 5c 63 61 74 63 |dospecia|ls \catc|
|00002320| 6f 64 65 60 5c 20 3d 31 | 30 0a 20 20 20 20 5c 6c |ode`\ =1|0. \l|
|00002330| 6f 6f 70 0a 20 20 20 20 | 20 20 20 5c 69 66 40 70 |oop. | \if@p|
|00002340| 73 66 69 6c 65 0a 09 20 | 20 5c 72 65 61 64 5c 70 |sfile.. | \read\p|
|00002350| 73 40 73 74 72 65 61 6d | 20 74 6f 20 5c 65 70 73 |s@stream| to \eps|
|00002360| 66 40 66 69 6c 65 6c 69 | 6e 65 0a 20 20 20 20 20 |f@fileli|ne. |
|00002370| 20 20 5c 65 6c 73 65 7b | 0a 09 20 20 5c 6f 62 65 | \else{|.. \obe|
|00002380| 79 73 70 61 63 65 73 0a | 20 20 20 20 20 20 20 20 |yspaces.| |
|00002390| 20 20 5c 72 65 61 64 5c | 70 73 40 73 74 72 65 61 | \read\|ps@strea|
|000023a0| 6d 20 74 6f 20 5c 65 70 | 73 66 40 74 6d 70 5c 67 |m to \ep|sf@tmp\g|
|000023b0| 6c 6f 62 61 6c 5c 6c 65 | 74 5c 65 70 73 66 40 66 |lobal\le|t\epsf@f|
|000023c0| 69 6c 65 6c 69 6e 65 5c | 65 70 73 66 40 74 6d 70 |ileline\|epsf@tmp|
|000023d0| 7d 0a 20 20 20 20 20 20 | 20 5c 66 69 0a 20 20 20 |}. | \fi. |
|000023e0| 20 20 20 20 5c 69 66 65 | 6f 66 5c 70 73 40 73 74 | \ife|of\ps@st|
|000023f0| 72 65 61 6d 5c 6e 6f 74 | 40 65 6f 66 66 61 6c 73 |ream\not|@eoffals|
|00002400| 65 5c 65 6c 73 65 0a 25 | 0a 25 20 20 20 43 68 65 |e\else.%|.% Che|
|00002410| 63 6b 20 74 68 65 20 66 | 69 72 73 74 20 6c 69 6e |ck the f|irst lin|
|00002420| 65 20 66 6f 72 20 60 25 | 21 27 2e 20 20 49 73 73 |e for `%|!'. Iss|
|00002430| 75 65 20 61 20 77 61 72 | 6e 69 6e 67 20 6d 65 73 |ue a war|ning mes|
|00002440| 73 61 67 65 20 69 66 20 | 69 74 73 20 6e 6f 74 0a |sage if |its not.|
|00002450| 25 20 20 20 74 68 65 72 | 65 2c 20 73 69 6e 63 65 |% ther|e, since|
|00002460| 20 74 68 65 20 66 69 6c | 65 20 6d 69 67 68 74 20 | the fil|e might |
|00002470| 6e 6f 74 20 62 65 20 61 | 20 50 6f 73 74 53 63 72 |not be a| PostScr|
|00002480| 69 70 74 20 66 69 6c 65 | 2e 0a 25 0a 20 20 20 20 |ipt file|..%. |
|00002490| 20 20 20 5c 69 66 40 70 | 73 66 69 6c 65 5c 65 6c | \if@p|sfile\el|
|000024a0| 73 65 0a 20 20 20 20 20 | 20 20 5c 65 78 70 61 6e |se. | \expan|
|000024b0| 64 61 66 74 65 72 5c 65 | 70 73 66 40 74 65 73 74 |dafter\e|psf@test|
|000024c0| 5c 65 70 73 66 40 66 69 | 6c 65 6c 69 6e 65 3a 2e |\epsf@fi|leline:.|
|000024d0| 20 5c 5c 25 0a 20 20 20 | 20 20 20 20 5c 66 69 0a | \\%. | \fi.|
|000024e0| 25 0a 25 20 20 20 57 65 | 20 63 68 65 63 6b 20 74 |%.% We| check t|
|000024f0| 6f 20 73 65 65 20 69 66 | 20 74 68 65 20 66 69 72 |o see if| the fir|
|00002500| 73 74 20 63 68 61 72 61 | 63 74 65 72 20 69 73 20 |st chara|cter is |
|00002510| 61 20 25 20 73 69 67 6e | 3b 0a 25 20 20 20 69 66 |a % sign|;.% if|
|00002520| 20 73 6f 2c 20 77 65 20 | 6c 6f 6f 6b 20 66 75 72 | so, we |look fur|
|00002530| 74 68 65 72 20 61 6e 64 | 20 73 74 6f 70 20 6f 6e |ther and| stop on|
|00002540| 6c 79 20 69 66 20 74 68 | 65 20 6c 69 6e 65 20 62 |ly if th|e line b|
|00002550| 65 67 69 6e 73 20 77 69 | 74 68 0a 25 20 20 20 60 |egins wi|th.% `|
|00002560| 25 25 42 6f 75 6e 64 69 | 6e 67 42 6f 78 3a 27 20 |%%Boundi|ngBox:' |
|00002570| 61 6e 64 20 74 68 65 20 | 60 28 61 74 65 6e 64 29 |and the |`(atend)|
|00002580| 27 20 73 70 65 63 69 66 | 69 63 61 74 69 6f 6e 20 |' specif|ication |
|00002590| 77 61 73 20 6e 6f 74 20 | 66 6f 75 6e 64 2e 0a 25 |was not |found..%|
|000025a0| 20 20 20 54 68 61 74 20 | 69 73 2c 20 74 68 65 20 | That |is, the |
|000025b0| 6f 6e 6c 79 20 77 61 79 | 20 74 6f 20 73 74 6f 70 |only way| to stop|
|000025c0| 20 69 73 20 77 68 65 6e | 20 74 68 65 20 65 6e 64 | is when| the end|
|000025d0| 20 6f 66 20 66 69 6c 65 | 20 69 73 20 72 65 61 63 | of file| is reac|
|000025e0| 68 65 64 2c 0a 25 20 20 | 20 6f 72 20 61 20 60 25 |hed,.% | or a `%|
|000025f0| 25 42 6f 75 6e 64 69 6e | 67 42 6f 78 3a 20 6c 6c |%Boundin|gBox: ll|
|00002600| 78 20 6c 6c 79 20 75 72 | 78 20 75 72 79 27 20 6c |x lly ur|x ury' l|
|00002610| 69 6e 65 20 69 73 20 66 | 6f 75 6e 64 2e 0a 25 0a |ine is f|ound..%.|
|00002620| 20 20 20 20 20 20 20 20 | 20 20 5c 65 78 70 61 6e | | \expan|
|00002630| 64 61 66 74 65 72 5c 65 | 70 73 66 40 61 75 78 5c |dafter\e|psf@aux\|
|00002640| 65 70 73 66 40 66 69 6c | 65 6c 69 6e 65 3a 2e 20 |epsf@fil|eline:. |
|00002650| 5c 5c 25 0a 20 20 20 20 | 20 20 20 5c 66 69 0a 20 |\\%. | \fi. |
|00002660| 20 20 5c 69 66 6e 6f 74 | 40 65 6f 66 5c 72 65 70 | \ifnot|@eof\rep|
|00002670| 65 61 74 0a 20 20 20 7d | 5c 63 6c 6f 73 65 69 6e |eat. }|\closein|
|00002680| 5c 70 73 40 73 74 72 65 | 61 6d 5c 66 69 7d 25 0a |\ps@stre|am\fi}%.|
|00002690| 25 0a 25 20 54 68 69 73 | 20 74 65 73 74 73 20 69 |%.% This| tests i|
|000026a0| 66 20 74 68 65 20 66 69 | 6c 65 20 77 65 20 61 72 |f the fi|le we ar|
|000026b0| 65 20 72 65 61 64 69 6e | 67 20 6c 6f 6f 6b 73 20 |e readin|g looks |
|000026c0| 6c 69 6b 65 20 61 20 50 | 6f 73 74 53 63 72 69 70 |like a P|ostScrip|
|000026d0| 74 20 66 69 6c 65 2e 0a | 25 0a 5c 6c 6f 6e 67 5c |t file..|%.\long\|
|000026e0| 64 65 66 5c 65 70 73 66 | 40 74 65 73 74 23 31 23 |def\epsf|@test#1#|
|000026f0| 32 23 33 3a 23 34 5c 5c | 7b 5c 64 65 66 5c 65 70 |2#3:#4\\|{\def\ep|
|00002700| 73 66 40 74 65 73 74 69 | 74 7b 23 31 23 32 7d 0a |sf@testi|t{#1#2}.|
|00002710| 09 09 09 5c 69 66 78 5c | 65 70 73 66 40 74 65 73 |...\ifx\|epsf@tes|
|00002720| 74 69 74 5c 65 70 73 66 | 40 73 74 61 72 74 5c 65 |tit\epsf|@start\e|
|00002730| 6c 73 65 0a 5c 70 73 40 | 74 79 70 65 6f 75 74 7b |lse.\ps@|typeout{|
|00002740| 57 61 72 6e 69 6e 67 21 | 20 46 69 6c 65 20 64 6f |Warning!| File do|
|00002750| 65 73 20 6e 6f 74 20 73 | 74 61 72 74 20 77 69 74 |es not s|tart wit|
|00002760| 68 20 60 5c 65 70 73 66 | 40 73 74 61 72 74 27 2e |h `\epsf|@start'.|
|00002770| 20 20 49 74 20 6d 61 79 | 20 6e 6f 74 20 62 65 20 | It may| not be |
|00002780| 61 20 0a 50 6f 73 74 53 | 63 72 69 70 74 20 66 69 |a .PostS|cript fi|
|00002790| 6c 65 2e 7d 0a 09 09 09 | 5c 66 69 0a 09 09 09 5c |le.}....|\fi....\|
|000027a0| 40 70 73 66 69 6c 65 74 | 72 75 65 7d 20 25 20 64 |@psfilet|rue} % d|
|000027b0| 6f 6e 27 74 20 74 65 73 | 74 20 61 66 74 65 72 20 |on't tes|t after |
|000027c0| 31 73 74 20 6c 69 6e 65 | 0a 25 0a 25 20 20 20 57 |1st line|.%.% W|
|000027d0| 65 20 73 74 69 6c 6c 20 | 6e 65 65 64 20 74 6f 20 |e still |need to |
|000027e0| 64 65 66 69 6e 65 20 74 | 68 65 20 74 72 69 63 6b |define t|he trick|
|000027f0| 79 20 5c 65 70 73 66 40 | 61 75 78 20 6d 61 63 72 |y \epsf@|aux macr|
|00002800| 6f 2e 20 54 68 69 73 20 | 72 65 71 75 69 72 65 73 |o. This |requires|
|00002810| 0a 25 20 20 20 61 20 63 | 6f 75 70 6c 65 20 6f 66 |.% a c|ouple of|
|00002820| 20 6d 61 67 69 63 20 63 | 6f 6e 73 74 61 6e 74 73 | magic c|onstants|
|00002830| 20 66 6f 72 20 63 6f 6d | 70 61 72 69 73 6f 6e 20 | for com|parison |
|00002840| 70 75 72 70 6f 73 65 73 | 2e 0a 25 0a 7b 5c 63 61 |purposes|..%.{\ca|
|00002850| 74 63 6f 64 65 60 5c 25 | 3d 31 32 5c 67 6c 6f 62 |tcode`\%|=12\glob|
|00002860| 61 6c 5c 6c 65 74 5c 65 | 70 73 66 40 70 65 72 63 |al\let\e|psf@perc|
|00002870| 65 6e 74 3d 25 5c 67 6c | 6f 62 61 6c 5c 64 65 66 |ent=%\gl|obal\def|
|00002880| 5c 65 70 73 66 40 62 62 | 6c 69 74 7b 25 42 6f 75 |\epsf@bb|lit{%Bou|
|00002890| 6e 64 69 6e 67 42 6f 78 | 7d 7d 0a 25 0a 25 0a 25 |ndingBox|}}.%.%.%|
|000028a0| 20 20 20 53 6f 20 77 65 | 27 72 65 20 72 65 61 64 | So we|'re read|
|000028b0| 79 20 74 6f 20 63 68 65 | 63 6b 20 66 6f 72 20 60 |y to che|ck for `|
|000028c0| 25 42 6f 75 6e 64 69 6e | 67 42 6f 78 3a 27 20 61 |%Boundin|gBox:' a|
|000028d0| 6e 64 20 74 6f 20 67 72 | 61 62 20 74 68 65 0a 25 |nd to gr|ab the.%|
|000028e0| 20 20 20 76 61 6c 75 65 | 73 20 69 66 20 74 68 65 | value|s if the|
|000028f0| 79 20 61 72 65 20 66 6f | 75 6e 64 2e 20 20 57 65 |y are fo|und. We|
|00002900| 20 63 6f 6e 74 69 6e 75 | 65 20 73 65 61 72 63 68 | continu|e search|
|00002910| 69 6e 67 20 69 66 20 60 | 28 61 74 20 65 6e 64 29 |ing if `|(at end)|
|00002920| 27 0a 25 20 20 20 77 61 | 73 20 66 6f 75 6e 64 20 |'.% wa|s found |
|00002930| 61 66 74 65 72 20 74 68 | 65 20 60 25 42 6f 75 6e |after th|e `%Boun|
|00002940| 64 69 6e 67 42 6f 78 3a | 27 2e 0a 25 0a 5c 6c 6f |dingBox:|'..%.\lo|
|00002950| 6e 67 5c 64 65 66 5c 65 | 70 73 66 40 61 75 78 23 |ng\def\e|psf@aux#|
|00002960| 31 23 32 3a 23 33 5c 5c | 7b 5c 69 66 78 23 31 5c |1#2:#3\\|{\ifx#1\|
|00002970| 65 70 73 66 40 70 65 72 | 63 65 6e 74 0a 20 20 20 |epsf@per|cent. |
|00002980| 5c 64 65 66 5c 65 70 73 | 66 40 74 65 73 74 69 74 |\def\eps|f@testit|
|00002990| 7b 23 32 7d 5c 69 66 78 | 5c 65 70 73 66 40 74 65 |{#2}\ifx|\epsf@te|
|000029a0| 73 74 69 74 5c 65 70 73 | 66 40 62 62 6c 69 74 0a |stit\eps|f@bblit.|
|000029b0| 09 5c 40 61 74 65 6e 64 | 66 61 6c 73 65 0a 20 20 |.\@atend|false. |
|000029c0| 20 20 20 20 20 20 5c 65 | 70 73 66 40 61 74 65 6e | \e|psf@aten|
|000029d0| 64 20 23 33 20 2e 20 5c | 5c 25 0a 09 5c 69 66 40 |d #3 . \|\%..\if@|
|000029e0| 61 74 65 6e 64 09 0a 09 | 20 20 20 5c 69 66 40 76 |atend...| \if@v|
|000029f0| 65 72 62 6f 73 65 7b 0a | 09 09 5c 70 73 40 74 79 |erbose{.|..\ps@ty|
|00002a00| 70 65 6f 75 74 7b 70 73 | 66 69 67 3a 20 66 6f 75 |peout{ps|fig: fou|
|00002a10| 6e 64 20 60 28 61 74 65 | 6e 64 29 27 3b 20 63 6f |nd `(ate|nd)'; co|
|00002a20| 6e 74 69 6e 75 69 6e 67 | 20 73 65 61 72 63 68 7d |ntinuing| search}|
|00002a30| 0a 09 20 20 20 7d 5c 66 | 69 0a 20 20 20 20 20 20 |.. }\f|i. |
|00002a40| 20 20 5c 65 6c 73 65 0a | 20 20 20 20 20 20 20 20 | \else.| |
|00002a50| 5c 65 70 73 66 40 67 72 | 61 62 20 23 33 20 2e 20 |\epsf@gr|ab #3 . |
|00002a60| 2e 20 2e 20 5c 5c 25 0a | 20 20 20 20 20 20 20 20 |. . \\%.| |
|00002a70| 5c 6e 6f 74 40 65 6f 66 | 66 61 6c 73 65 0a 20 20 |\not@eof|false. |
|00002a80| 20 20 20 20 20 20 5c 67 | 6c 6f 62 61 6c 5c 6e 6f | \g|lobal\no|
|00002a90| 40 62 62 66 61 6c 73 65 | 0a 20 20 20 20 20 20 20 |@bbfalse|. |
|00002aa0| 20 5c 66 69 0a 20 20 20 | 5c 66 69 5c 66 69 7d 25 | \fi. |\fi\fi}%|
|00002ab0| 0a 25 0a 25 20 20 20 48 | 65 72 65 20 77 65 20 67 |.%.% H|ere we g|
|00002ac0| 72 61 62 20 74 68 65 20 | 76 61 6c 75 65 73 20 61 |rab the |values a|
|00002ad0| 6e 64 20 73 74 75 66 66 | 20 74 68 65 6d 20 69 6e |nd stuff| them in|
|00002ae0| 20 74 68 65 20 61 70 70 | 72 6f 70 72 69 61 74 65 | the app|ropriate|
|00002af0| 20 64 65 66 69 6e 69 74 | 69 6f 6e 73 2e 0a 25 0a | definit|ions..%.|
|00002b00| 5c 64 65 66 5c 65 70 73 | 66 40 67 72 61 62 20 23 |\def\eps|f@grab #|
|00002b10| 31 20 23 32 20 23 33 20 | 23 34 20 23 35 5c 5c 7b |1 #2 #3 |#4 #5\\{|
|00002b20| 25 0a 20 20 20 5c 67 6c | 6f 62 61 6c 5c 64 65 66 |%. \gl|obal\def|
|00002b30| 5c 65 70 73 66 40 6c 6c | 78 7b 23 31 7d 5c 69 66 |\epsf@ll|x{#1}\if|
|00002b40| 78 5c 65 70 73 66 40 6c | 6c 78 5c 65 6d 70 74 79 |x\epsf@l|lx\empty|
|00002b50| 0a 20 20 20 20 20 20 5c | 65 70 73 66 40 67 72 61 |. \|epsf@gra|
|00002b60| 62 20 23 32 20 23 33 20 | 23 34 20 23 35 20 2e 5c |b #2 #3 |#4 #5 .\|
|00002b70| 5c 5c 65 6c 73 65 0a 20 | 20 20 5c 67 6c 6f 62 61 |\\else. | \globa|
|00002b80| 6c 5c 64 65 66 5c 65 70 | 73 66 40 6c 6c 79 7b 23 |l\def\ep|sf@lly{#|
|00002b90| 32 7d 25 0a 20 20 20 5c | 67 6c 6f 62 61 6c 5c 64 |2}%. \|global\d|
|00002ba0| 65 66 5c 65 70 73 66 40 | 75 72 78 7b 23 33 7d 5c |ef\epsf@|urx{#3}\|
|00002bb0| 67 6c 6f 62 61 6c 5c 64 | 65 66 5c 65 70 73 66 40 |global\d|ef\epsf@|
|00002bc0| 75 72 79 7b 23 34 7d 5c | 66 69 7d 25 0a 25 0a 25 |ury{#4}\|fi}%.%.%|
|00002bd0| 20 44 65 74 65 72 6d 69 | 6e 65 20 69 66 20 74 68 | Determi|ne if th|
|00002be0| 65 20 73 74 75 66 66 20 | 66 6f 6c 6c 6f 77 69 6e |e stuff |followin|
|00002bf0| 67 20 74 68 65 20 25 25 | 42 6f 75 6e 64 69 6e 67 |g the %%|Bounding|
|00002c00| 42 6f 78 20 69 73 20 60 | 28 61 74 65 6e 64 29 27 |Box is `|(atend)'|
|00002c10| 0a 25 20 4a 2e 20 44 61 | 6e 69 65 6c 20 53 6d 69 |.% J. Da|niel Smi|
|00002c20| 74 68 2e 20 20 43 6f 70 | 69 65 64 20 66 72 6f 6d |th. Cop|ied from|
|00002c30| 20 5c 65 70 73 66 40 67 | 72 61 62 20 61 62 6f 76 | \epsf@g|rab abov|
|00002c40| 65 2e 0a 25 0a 5c 64 65 | 66 5c 65 70 73 66 40 61 |e..%.\de|f\epsf@a|
|00002c50| 74 65 6e 64 6c 69 74 7b | 28 61 74 65 6e 64 29 7d |tendlit{|(atend)}|
|00002c60| 20 0a 5c 64 65 66 5c 65 | 70 73 66 40 61 74 65 6e | .\def\e|psf@aten|
|00002c70| 64 20 23 31 20 23 32 20 | 23 33 5c 5c 7b 25 0a 20 |d #1 #2 |#3\\{%. |
|00002c80| 20 20 5c 64 65 66 5c 65 | 70 73 66 40 74 6d 70 7b | \def\e|psf@tmp{|
|00002c90| 23 31 7d 5c 69 66 78 5c | 65 70 73 66 40 74 6d 70 |#1}\ifx\|epsf@tmp|
|00002ca0| 5c 65 6d 70 74 79 0a 20 | 20 20 20 20 20 5c 65 70 |\empty. | \ep|
|00002cb0| 73 66 40 61 74 65 6e 64 | 20 23 32 20 23 33 20 2e |sf@atend| #2 #3 .|
|00002cc0| 5c 5c 5c 65 6c 73 65 0a | 20 20 20 5c 69 66 78 5c |\\\else.| \ifx\|
|00002cd0| 65 70 73 66 40 74 6d 70 | 5c 65 70 73 66 40 61 74 |epsf@tmp|\epsf@at|
|00002ce0| 65 6e 64 6c 69 74 5c 40 | 61 74 65 6e 64 74 72 75 |endlit\@|atendtru|
|00002cf0| 65 5c 66 69 5c 66 69 7d | 0a 0a 0a 25 20 45 6e 64 |e\fi\fi}|...% End|
|00002d00| 20 6f 66 20 66 69 6c 65 | 20 72 65 61 64 69 6e 67 | of file| reading|
|00002d10| 20 73 74 75 66 66 20 66 | 72 6f 6d 20 65 70 73 66 | stuff f|rom epsf|
|00002d20| 2e 74 65 78 0a 25 25 25 | 25 25 25 25 25 25 25 25 |.tex.%%%|%%%%%%%%|
|00002d30| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00002d40| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00002d50| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00002d60| 25 25 25 25 25 25 25 25 | 0a 0a 25 25 25 25 25 25 |%%%%%%%%|..%%%%%%|
|00002d70| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00002d80| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00002d90| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00002da0| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 0a 25 20 |%%%%%%%%|%%%%%.% |
|00002db0| 74 72 69 67 6f 6e 6f 6d | 65 74 72 79 20 73 74 75 |trigonom|etry stu|
|00002dc0| 66 66 20 66 72 6f 6d 20 | 22 74 72 69 67 2e 74 65 |ff from |"trig.te|
|00002dd0| 78 22 0a 5c 63 68 61 72 | 64 65 66 5c 70 73 6c 65 |x".\char|def\psle|
|00002de0| 74 74 65 72 20 3d 20 31 | 31 20 25 20 77 6f 6e 27 |tter = 1|1 % won'|
|00002df0| 74 20 63 6f 6e 66 6c 69 | 63 74 20 77 69 74 68 20 |t confli|ct with |
|00002e00| 5c 62 65 67 69 6e 7b 6c | 65 74 74 65 72 7d 20 6e |\begin{l|etter} n|
|00002e10| 6f 77 2e 2e 2e 0a 5c 63 | 68 61 72 64 65 66 5c 6f |ow....\c|hardef\o|
|00002e20| 74 68 65 72 20 3d 20 31 | 32 0a 0a 5c 6e 65 77 69 |ther = 1|2..\newi|
|00002e30| 66 20 5c 69 66 64 65 62 | 75 67 20 25 25 25 20 74 |f \ifdeb|ug %%% t|
|00002e40| 75 72 6e 20 6d 65 20 6f | 6e 20 74 6f 20 73 65 65 |urn me o|n to see|
|00002e50| 20 54 65 58 20 68 61 72 | 64 20 61 74 20 77 6f 72 | TeX har|d at wor|
|00002e60| 6b 20 2e 2e 2e 0a 5c 6e | 65 77 69 66 5c 69 66 63 |k ....\n|ewif\ifc|
|00002e70| 40 6d 70 75 74 65 20 25 | 25 25 20 64 6f 6e 27 74 |@mpute %|%% don't|
|00002e80| 20 6e 65 65 64 20 74 6f | 20 63 6f 6d 70 75 74 65 | need to| compute|
|00002e90| 20 73 6f 6d 65 20 76 61 | 6c 75 65 73 0a 5c 63 40 | some va|lues.\c@|
|00002ea0| 6d 70 75 74 65 74 72 75 | 65 20 25 20 62 75 74 20 |mputetru|e % but |
|00002eb0| 61 73 73 75 6d 65 20 74 | 68 61 74 20 77 65 20 64 |assume t|hat we d|
|00002ec0| 6f 0a 0a 5c 6c 65 74 5c | 74 68 65 6e 20 3d 20 5c |o..\let\|then = \|
|00002ed0| 72 65 6c 61 78 0a 5c 64 | 65 66 5c 72 40 64 69 61 |relax.\d|ef\r@dia|
|00002ee0| 6e 7b 70 74 20 7d 0a 5c | 6c 65 74 5c 72 40 64 69 |n{pt }.\|let\r@di|
|00002ef0| 61 6e 73 20 3d 20 5c 72 | 40 64 69 61 6e 0a 5c 6c |ans = \r|@dian.\l|
|00002f00| 65 74 5c 64 69 6d 65 6e | 73 69 6f 6e 6c 65 73 73 |et\dimen|sionless|
|00002f10| 40 6e 69 74 20 3d 20 5c | 72 40 64 69 61 6e 0a 5c |@nit = \|r@dian.\|
|00002f20| 6c 65 74 5c 64 69 6d 65 | 6e 73 69 6f 6e 6c 65 73 |let\dime|nsionles|
|00002f30| 73 40 6e 69 74 73 20 3d | 20 5c 64 69 6d 65 6e 73 |s@nits =| \dimens|
|00002f40| 69 6f 6e 6c 65 73 73 40 | 6e 69 74 0a 5c 64 65 66 |ionless@|nit.\def|
|00002f50| 5c 69 6e 74 65 72 6e 61 | 6c 40 6e 69 74 7b 73 70 |\interna|l@nit{sp|
|00002f60| 20 7d 0a 5c 6c 65 74 5c | 69 6e 74 65 72 6e 61 6c | }.\let\|internal|
|00002f70| 40 6e 69 74 73 20 3d 20 | 5c 69 6e 74 65 72 6e 61 |@nits = |\interna|
|00002f80| 6c 40 6e 69 74 0a 5c 6e | 65 77 69 66 5c 69 66 73 |l@nit.\n|ewif\ifs|
|00002f90| 74 69 6c 6c 63 40 6e 76 | 65 72 67 69 6e 67 0a 5c |tillc@nv|erging.\|
|00002fa0| 64 65 66 20 5c 4d 65 73 | 73 40 67 65 20 23 31 7b |def \Mes|s@ge #1{|
|00002fb0| 5c 69 66 64 65 62 75 67 | 20 5c 74 68 65 6e 20 5c |\ifdebug| \then \|
|00002fc0| 6d 65 73 73 61 67 65 20 | 7b 23 31 7d 20 5c 66 69 |message |{#1} \fi|
|00002fd0| 7d 0a 0a 7b 20 25 25 25 | 20 54 68 69 6e 67 73 20 |}..{ %%%| Things |
|00002fe0| 74 68 61 74 20 6e 65 65 | 64 20 61 62 6e 6f 72 6d |that nee|d abnorm|
|00002ff0| 61 6c 20 63 61 74 63 6f | 64 65 73 20 25 25 25 0a |al catco|des %%%.|
|00003000| 09 5c 63 61 74 63 6f 64 | 65 20 60 5c 40 20 3d 20 |.\catcod|e `\@ = |
|00003010| 5c 70 73 6c 65 74 74 65 | 72 0a 09 5c 67 64 65 66 |\pslette|r..\gdef|
|00003020| 20 5c 6e 6f 64 69 6d 65 | 6e 20 7b 5c 65 78 70 61 | \nodime|n {\expa|
|00003030| 6e 64 61 66 74 65 72 20 | 5c 6e 40 64 69 6d 65 6e |ndafter |\n@dimen|
|00003040| 20 5c 74 68 65 20 5c 64 | 69 6d 65 6e 7d 0a 09 5c | \the \d|imen}..\|
|00003050| 67 64 65 66 20 5c 74 65 | 72 6d 20 23 31 20 23 32 |gdef \te|rm #1 #2|
|00003060| 20 23 33 25 0a 09 20 20 | 20 20 20 20 20 7b 5c 65 | #3%.. | {\e|
|00003070| 64 65 66 20 5c 74 40 20 | 7b 5c 74 68 65 20 23 31 |def \t@ |{\the #1|
|00003080| 7d 25 25 25 20 66 72 65 | 65 7a 65 20 70 61 72 61 |}%%% fre|eze para|
|00003090| 6d 65 74 65 72 20 31 20 | 28 63 6f 75 6e 74 2c 20 |meter 1 |(count, |
|000030a0| 62 79 20 76 61 6c 75 65 | 29 0a 09 09 5c 65 64 65 |by value|)...\ede|
|000030b0| 66 20 5c 74 40 40 20 7b | 5c 65 78 70 61 6e 64 61 |f \t@@ {|\expanda|
|000030c0| 66 74 65 72 20 5c 6e 40 | 64 69 6d 65 6e 20 5c 74 |fter \n@|dimen \t|
|000030d0| 68 65 20 23 32 5c 72 40 | 64 69 61 6e 7d 25 0a 09 |he #2\r@|dian}%..|
|000030e0| 09 09 09 20 20 20 25 25 | 25 20 66 72 65 65 7a 65 |... %%|% freeze|
|000030f0| 20 70 61 72 61 6d 65 74 | 65 72 20 32 20 28 64 69 | paramet|er 2 (di|
|00003100| 6d 65 6e 2c 20 62 79 20 | 76 61 6c 75 65 29 0a 09 |men, by |value)..|
|00003110| 09 5c 74 40 72 6d 20 7b | 5c 74 40 7d 20 7b 5c 74 |.\t@rm {|\t@} {\t|
|00003120| 40 40 7d 20 7b 23 33 7d | 25 0a 09 20 20 20 20 20 |@@} {#3}|%.. |
|00003130| 20 20 7d 0a 09 5c 67 64 | 65 66 20 5c 74 40 72 6d | }..\gd|ef \t@rm|
|00003140| 20 23 31 20 23 32 20 23 | 33 25 0a 09 20 20 20 20 | #1 #2 #|3%.. |
|00003150| 20 20 20 7b 7b 25 0a 09 | 09 5c 63 6f 75 6e 74 20 | {{%..|.\count |
|00003160| 30 20 3d 20 30 0a 09 09 | 5c 64 69 6d 65 6e 20 30 |0 = 0...|\dimen 0|
|00003170| 20 3d 20 31 20 5c 64 69 | 6d 65 6e 73 69 6f 6e 6c | = 1 \di|mensionl|
|00003180| 65 73 73 40 6e 69 74 0a | 09 09 5c 64 69 6d 65 6e |ess@nit.|..\dimen|
|00003190| 20 32 20 3d 20 23 32 5c | 72 65 6c 61 78 0a 09 09 | 2 = #2\|relax...|
|000031a0| 5c 4d 65 73 73 40 67 65 | 20 7b 43 61 6c 63 75 6c |\Mess@ge| {Calcul|
|000031b0| 61 74 69 6e 67 20 74 65 | 72 6d 20 23 31 20 6f 66 |ating te|rm #1 of|
|000031c0| 20 5c 6e 6f 64 69 6d 65 | 6e 20 32 7d 25 0a 09 09 | \nodime|n 2}%...|
|000031d0| 5c 6c 6f 6f 70 0a 09 09 | 5c 69 66 6e 75 6d 09 5c |\loop...|\ifnum.\|
|000031e0| 63 6f 75 6e 74 20 30 20 | 3c 20 23 31 0a 09 09 5c |count 0 |< #1...\|
|000031f0| 74 68 65 6e 09 5c 61 64 | 76 61 6e 63 65 20 5c 63 |then.\ad|vance \c|
|00003200| 6f 75 6e 74 20 30 20 62 | 79 20 31 0a 09 09 09 5c |ount 0 b|y 1....\|
|00003210| 4d 65 73 73 40 67 65 20 | 7b 49 74 65 72 61 74 69 |Mess@ge |{Iterati|
|00003220| 6f 6e 20 5c 74 68 65 20 | 5c 63 6f 75 6e 74 20 30 |on \the |\count 0|
|00003230| 20 5c 73 70 61 63 65 7d | 25 0a 09 09 09 5c 4d 75 | \space}|%....\Mu|
|00003240| 6c 74 69 70 6c 79 20 5c | 64 69 6d 65 6e 20 30 20 |ltiply \|dimen 0 |
|00003250| 62 79 20 7b 5c 64 69 6d | 65 6e 20 32 7d 25 0a 09 |by {\dim|en 2}%..|
|00003260| 09 09 5c 4d 65 73 73 40 | 67 65 20 7b 41 66 74 65 |..\Mess@|ge {Afte|
|00003270| 72 20 6d 75 6c 74 69 70 | 6c 69 63 61 74 69 6f 6e |r multip|lication|
|00003280| 2c 20 74 65 72 6d 20 3d | 20 5c 6e 6f 64 69 6d 65 |, term =| \nodime|
|00003290| 6e 20 30 7d 25 0a 09 09 | 09 5c 44 69 76 69 64 65 |n 0}%...|.\Divide|
|000032a0| 20 5c 64 69 6d 65 6e 20 | 30 20 62 79 20 7b 5c 63 | \dimen |0 by {\c|
|000032b0| 6f 75 6e 74 20 30 7d 25 | 0a 09 09 09 5c 4d 65 73 |ount 0}%|....\Mes|
|000032c0| 73 40 67 65 20 7b 41 66 | 74 65 72 20 64 69 76 69 |s@ge {Af|ter divi|
|000032d0| 73 69 6f 6e 2c 20 74 65 | 72 6d 20 3d 20 5c 6e 6f |sion, te|rm = \no|
|000032e0| 64 69 6d 65 6e 20 30 7d | 25 0a 09 09 5c 72 65 70 |dimen 0}|%...\rep|
|000032f0| 65 61 74 0a 09 09 5c 4d | 65 73 73 40 67 65 20 7b |eat...\M|ess@ge {|
|00003300| 46 69 6e 61 6c 20 76 61 | 6c 75 65 20 66 6f 72 20 |Final va|lue for |
|00003310| 74 65 72 6d 20 23 31 20 | 6f 66 20 0a 09 09 09 09 |term #1 |of .....|
|00003320| 5c 6e 6f 64 69 6d 65 6e | 20 32 20 5c 73 70 61 63 |\nodimen| 2 \spac|
|00003330| 65 20 69 73 20 5c 6e 6f | 64 69 6d 65 6e 20 30 7d |e is \no|dimen 0}|
|00003340| 25 0a 09 09 5c 78 64 65 | 66 20 5c 54 65 72 6d 20 |%...\xde|f \Term |
|00003350| 7b 23 33 20 3d 20 5c 6e | 6f 64 69 6d 65 6e 20 30 |{#3 = \n|odimen 0|
|00003360| 20 5c 72 40 64 69 61 6e | 73 7d 25 0a 09 09 5c 61 | \r@dian|s}%...\a|
|00003370| 66 74 65 72 67 72 6f 75 | 70 20 5c 54 65 72 6d 0a |ftergrou|p \Term.|
|00003380| 09 20 20 20 20 20 20 20 | 7d 7d 0a 09 5c 63 61 74 |. |}}..\cat|
|00003390| 63 6f 64 65 20 60 5c 70 | 20 3d 20 5c 6f 74 68 65 |code `\p| = \othe|
|000033a0| 72 0a 09 5c 63 61 74 63 | 6f 64 65 20 60 5c 74 20 |r..\catc|ode `\t |
|000033b0| 3d 20 5c 6f 74 68 65 72 | 0a 09 5c 67 64 65 66 20 |= \other|..\gdef |
|000033c0| 5c 6e 40 64 69 6d 65 6e | 20 23 31 70 74 7b 23 31 |\n@dimen| #1pt{#1|
|000033d0| 7d 20 25 25 25 20 74 68 | 72 6f 77 20 61 77 61 79 |} %%% th|row away|
|000033e0| 20 74 68 65 20 60 60 70 | 74 27 27 0a 7d 0a 0a 5c | the ``p|t''.}..\|
|000033f0| 64 65 66 20 5c 44 69 76 | 69 64 65 20 23 31 62 79 |def \Div|ide #1by|
|00003400| 20 23 32 7b 5c 64 69 76 | 69 64 65 20 23 31 20 62 | #2{\div|ide #1 b|
|00003410| 79 20 23 32 7d 20 25 25 | 25 20 6a 75 73 74 20 61 |y #2} %%|% just a|
|00003420| 20 73 79 6e 6f 6e 79 6d | 0a 0a 5c 64 65 66 20 5c | synonym|..\def \|
|00003430| 4d 75 6c 74 69 70 6c 79 | 20 23 31 62 79 20 23 32 |Multiply| #1by #2|
|00003440| 25 25 25 20 61 6c 6c 6f | 77 73 20 64 69 76 69 73 |%%% allo|ws divis|
|00003450| 69 6f 6e 20 6f 66 20 61 | 20 64 69 6d 65 6e 20 62 |ion of a| dimen b|
|00003460| 79 20 61 20 64 69 6d 65 | 6e 0a 20 20 20 20 20 20 |y a dime|n. |
|00003470| 20 7b 7b 25 25 25 20 73 | 68 6f 75 6c 64 20 72 65 | {{%%% s|hould re|
|00003480| 61 6c 6c 79 20 66 72 65 | 65 7a 65 20 70 61 72 61 |ally fre|eze para|
|00003490| 6d 65 74 65 72 20 32 20 | 28 64 69 6d 65 6e 2c 20 |meter 2 |(dimen, |
|000034a0| 70 61 73 73 65 64 20 62 | 79 20 76 61 6c 75 65 29 |passed b|y value)|
|000034b0| 0a 09 5c 63 6f 75 6e 74 | 20 30 20 3d 20 23 31 5c |..\count| 0 = #1\|
|000034c0| 72 65 6c 61 78 0a 09 5c | 63 6f 75 6e 74 20 32 20 |relax..\|count 2 |
|000034d0| 3d 20 23 32 5c 72 65 6c | 61 78 0a 09 5c 63 6f 75 |= #2\rel|ax..\cou|
|000034e0| 6e 74 20 34 20 3d 20 36 | 35 35 33 36 0a 09 5c 4d |nt 4 = 6|5536..\M|
|000034f0| 65 73 73 40 67 65 20 7b | 42 65 66 6f 72 65 20 73 |ess@ge {|Before s|
|00003500| 63 61 6c 69 6e 67 2c 20 | 63 6f 75 6e 74 20 30 20 |caling, |count 0 |
|00003510| 3d 20 5c 74 68 65 20 5c | 63 6f 75 6e 74 20 30 20 |= \the \|count 0 |
|00003520| 5c 73 70 61 63 65 20 61 | 6e 64 0a 09 09 09 63 6f |\space a|nd....co|
|00003530| 75 6e 74 20 32 20 3d 20 | 5c 74 68 65 20 5c 63 6f |unt 2 = |\the \co|
|00003540| 75 6e 74 20 32 7d 25 0a | 09 5c 69 66 6e 75 6d 09 |unt 2}%.|.\ifnum.|
|00003550| 5c 63 6f 75 6e 74 20 30 | 20 3e 20 33 32 37 36 37 |\count 0| > 32767|
|00003560| 20 25 25 25 20 64 6f 20 | 6f 75 72 20 62 65 73 74 | %%% do |our best|
|00003570| 20 74 6f 20 61 76 6f 69 | 64 20 6f 76 65 72 66 6c | to avoi|d overfl|
|00003580| 6f 77 0a 09 5c 74 68 65 | 6e 09 5c 64 69 76 69 64 |ow..\the|n.\divid|
|00003590| 65 20 5c 63 6f 75 6e 74 | 20 30 20 62 79 20 34 0a |e \count| 0 by 4.|
|000035a0| 09 09 5c 64 69 76 69 64 | 65 20 5c 63 6f 75 6e 74 |..\divid|e \count|
|000035b0| 20 34 20 62 79 20 34 0a | 09 5c 65 6c 73 65 09 5c | 4 by 4.|.\else.\|
|000035c0| 69 66 6e 75 6d 09 5c 63 | 6f 75 6e 74 20 30 20 3c |ifnum.\c|ount 0 <|
|000035d0| 20 2d 33 32 37 36 37 0a | 09 09 5c 74 68 65 6e 09 | -32767.|..\then.|
|000035e0| 5c 64 69 76 69 64 65 20 | 5c 63 6f 75 6e 74 20 30 |\divide |\count 0|
|000035f0| 20 62 79 20 34 0a 09 09 | 09 5c 64 69 76 69 64 65 | by 4...|.\divide|
|00003600| 20 5c 63 6f 75 6e 74 20 | 34 20 62 79 20 34 0a 09 | \count |4 by 4..|
|00003610| 09 5c 65 6c 73 65 0a 09 | 09 5c 66 69 0a 09 5c 66 |.\else..|.\fi..\f|
|00003620| 69 0a 09 5c 69 66 6e 75 | 6d 09 5c 63 6f 75 6e 74 |i..\ifnu|m.\count|
|00003630| 20 32 20 3e 20 33 32 37 | 36 37 20 25 25 25 20 77 | 2 > 327|67 %%% w|
|00003640| 68 69 6c 65 20 72 65 74 | 61 69 6e 69 6e 67 20 72 |hile ret|aining r|
|00003650| 65 61 73 6f 6e 61 62 6c | 65 20 61 63 63 75 72 61 |easonabl|e accura|
|00003660| 63 79 0a 09 5c 74 68 65 | 6e 09 5c 64 69 76 69 64 |cy..\the|n.\divid|
|00003670| 65 20 5c 63 6f 75 6e 74 | 20 32 20 62 79 20 34 0a |e \count| 2 by 4.|
|00003680| 09 09 5c 64 69 76 69 64 | 65 20 5c 63 6f 75 6e 74 |..\divid|e \count|
|00003690| 20 34 20 62 79 20 34 0a | 09 5c 65 6c 73 65 09 5c | 4 by 4.|.\else.\|
|000036a0| 69 66 6e 75 6d 09 5c 63 | 6f 75 6e 74 20 32 20 3c |ifnum.\c|ount 2 <|
|000036b0| 20 2d 33 32 37 36 37 0a | 09 09 5c 74 68 65 6e 09 | -32767.|..\then.|
|000036c0| 5c 64 69 76 69 64 65 20 | 5c 63 6f 75 6e 74 20 32 |\divide |\count 2|
|000036d0| 20 62 79 20 34 0a 09 09 | 09 5c 64 69 76 69 64 65 | by 4...|.\divide|
|000036e0| 20 5c 63 6f 75 6e 74 20 | 34 20 62 79 20 34 0a 09 | \count |4 by 4..|
|000036f0| 09 5c 65 6c 73 65 0a 09 | 09 5c 66 69 0a 09 5c 66 |.\else..|.\fi..\f|
|00003700| 69 0a 09 5c 6d 75 6c 74 | 69 70 6c 79 20 5c 63 6f |i..\mult|iply \co|
|00003710| 75 6e 74 20 30 20 62 79 | 20 5c 63 6f 75 6e 74 20 |unt 0 by| \count |
|00003720| 32 0a 09 5c 64 69 76 69 | 64 65 20 5c 63 6f 75 6e |2..\divi|de \coun|
|00003730| 74 20 30 20 62 79 20 5c | 63 6f 75 6e 74 20 34 0a |t 0 by \|count 4.|
|00003740| 09 5c 78 64 65 66 20 5c | 70 72 6f 64 75 63 74 20 |.\xdef \|product |
|00003750| 7b 23 31 20 3d 20 5c 74 | 68 65 20 5c 63 6f 75 6e |{#1 = \t|he \coun|
|00003760| 74 20 30 20 5c 69 6e 74 | 65 72 6e 61 6c 40 6e 69 |t 0 \int|ernal@ni|
|00003770| 74 73 7d 25 0a 09 5c 61 | 66 74 65 72 67 72 6f 75 |ts}%..\a|ftergrou|
|00003780| 70 20 5c 70 72 6f 64 75 | 63 74 0a 20 20 20 20 20 |p \produ|ct. |
|00003790| 20 20 7d 7d 0a 0a 5c 64 | 65 66 5c 72 40 64 75 63 | }}..\d|ef\r@duc|
|000037a0| 65 7b 5c 69 66 64 69 6d | 5c 64 69 6d 65 6e 30 20 |e{\ifdim|\dimen0 |
|000037b0| 3e 20 39 30 5c 72 40 64 | 69 61 6e 20 5c 74 68 65 |> 90\r@d|ian \the|
|000037c0| 6e 20 20 20 25 20 73 69 | 6e 28 78 2b 39 30 29 20 |n % si|n(x+90) |
|000037d0| 3d 20 73 69 6e 28 31 38 | 30 2d 78 29 0a 09 09 5c |= sin(18|0-x)...\|
|000037e0| 6d 75 6c 74 69 70 6c 79 | 5c 64 69 6d 65 6e 30 20 |multiply|\dimen0 |
|000037f0| 62 79 20 2d 31 0a 09 09 | 5c 61 64 76 61 6e 63 65 |by -1...|\advance|
|00003800| 5c 64 69 6d 65 6e 30 20 | 62 79 20 31 38 30 5c 72 |\dimen0 |by 180\r|
|00003810| 40 64 69 61 6e 0a 09 09 | 5c 72 40 64 75 63 65 0a |@dian...|\r@duce.|
|00003820| 09 20 20 20 20 5c 65 6c | 73 65 20 5c 69 66 64 69 |. \el|se \ifdi|
|00003830| 6d 5c 64 69 6d 65 6e 30 | 20 3c 20 2d 39 30 5c 72 |m\dimen0| < -90\r|
|00003840| 40 64 69 61 6e 20 5c 74 | 68 65 6e 20 20 25 20 73 |@dian \t|hen % s|
|00003850| 69 6e 28 2d 78 29 20 3d | 20 73 69 6e 28 33 36 30 |in(-x) =| sin(360|
|00003860| 2b 78 29 0a 09 09 5c 61 | 64 76 61 6e 63 65 5c 64 |+x)...\a|dvance\d|
|00003870| 69 6d 65 6e 30 20 62 79 | 20 33 36 30 5c 72 40 64 |imen0 by| 360\r@d|
|00003880| 69 61 6e 0a 09 09 5c 72 | 40 64 75 63 65 0a 09 09 |ian...\r|@duce...|
|00003890| 5c 66 69 0a 09 20 20 20 | 20 5c 66 69 7d 0a 0a 5c |\fi.. | \fi}..\|
|000038a0| 64 65 66 5c 53 69 6e 65 | 23 31 25 0a 20 20 20 20 |def\Sine|#1%. |
|000038b0| 20 20 20 7b 7b 25 0a 09 | 5c 64 69 6d 65 6e 20 30 | {{%..|\dimen 0|
|000038c0| 20 3d 20 23 31 20 5c 72 | 40 64 69 61 6e 0a 09 5c | = #1 \r|@dian..\|
|000038d0| 72 40 64 75 63 65 0a 09 | 5c 69 66 64 69 6d 5c 64 |r@duce..|\ifdim\d|
|000038e0| 69 6d 65 6e 30 20 3d 20 | 2d 39 30 5c 72 40 64 69 |imen0 = |-90\r@di|
|000038f0| 61 6e 20 5c 74 68 65 6e | 0a 09 20 20 20 5c 64 69 |an \then|.. \di|
|00003900| 6d 65 6e 34 20 3d 20 2d | 31 5c 72 40 64 69 61 6e |men4 = -|1\r@dian|
|00003910| 0a 09 20 20 20 5c 63 40 | 6d 70 75 74 65 66 61 6c |.. \c@|mputefal|
|00003920| 73 65 0a 09 5c 66 69 0a | 09 5c 69 66 64 69 6d 5c |se..\fi.|.\ifdim\|
|00003930| 64 69 6d 65 6e 30 20 3d | 20 39 30 5c 72 40 64 69 |dimen0 =| 90\r@di|
|00003940| 61 6e 20 5c 74 68 65 6e | 0a 09 20 20 20 5c 64 69 |an \then|.. \di|
|00003950| 6d 65 6e 34 20 3d 20 31 | 5c 72 40 64 69 61 6e 0a |men4 = 1|\r@dian.|
|00003960| 09 20 20 20 5c 63 40 6d | 70 75 74 65 66 61 6c 73 |. \c@m|putefals|
|00003970| 65 0a 09 5c 66 69 0a 09 | 5c 69 66 64 69 6d 5c 64 |e..\fi..|\ifdim\d|
|00003980| 69 6d 65 6e 30 20 3d 20 | 30 5c 72 40 64 69 61 6e |imen0 = |0\r@dian|
|00003990| 20 5c 74 68 65 6e 0a 09 | 20 20 20 5c 64 69 6d 65 | \then..| \dime|
|000039a0| 6e 34 20 3d 20 30 5c 72 | 40 64 69 61 6e 0a 09 20 |n4 = 0\r|@dian.. |
|000039b0| 20 20 5c 63 40 6d 70 75 | 74 65 66 61 6c 73 65 0a | \c@mpu|tefalse.|
|000039c0| 09 5c 66 69 0a 25 0a 09 | 5c 69 66 63 40 6d 70 75 |.\fi.%..|\ifc@mpu|
|000039d0| 74 65 20 5c 74 68 65 6e | 0a 20 20 20 20 20 20 20 |te \then|. |
|000039e0| 20 09 25 20 63 6f 6e 76 | 65 72 74 20 64 65 67 72 | .% conv|ert degr|
|000039f0| 65 65 73 20 74 6f 20 72 | 61 64 69 61 6e 73 0a 09 |ees to r|adians..|
|00003a00| 09 5c 64 69 76 69 64 65 | 5c 64 69 6d 65 6e 30 20 |.\divide|\dimen0 |
|00003a10| 62 79 20 31 38 30 0a 09 | 09 5c 64 69 6d 65 6e 30 |by 180..|.\dimen0|
|00003a20| 3d 33 2e 31 34 31 35 39 | 32 36 35 34 5c 64 69 6d |=3.14159|2654\dim|
|00003a30| 65 6e 30 0a 25 0a 09 09 | 5c 64 69 6d 65 6e 20 32 |en0.%...|\dimen 2|
|00003a40| 20 3d 20 33 2e 31 34 31 | 35 39 32 36 35 33 35 38 | = 3.141|59265358|
|00003a50| 39 37 39 36 33 5c 72 40 | 64 69 61 6e 20 25 25 25 |97963\r@|dian %%%|
|00003a60| 20 61 20 77 65 6c 6c 2d | 6b 6e 6f 77 6e 20 63 6f | a well-|known co|
|00003a70| 6e 73 74 61 6e 74 0a 09 | 09 5c 64 69 76 69 64 65 |nstant..|.\divide|
|00003a80| 5c 64 69 6d 65 6e 20 32 | 20 62 79 20 32 20 25 25 |\dimen 2| by 2 %%|
|00003a90| 25 20 77 65 20 6f 6e 6c | 79 20 64 65 61 6c 20 77 |% we onl|y deal w|
|00003aa0| 69 74 68 20 2d 70 69 2f | 32 20 3a 20 70 69 2f 32 |ith -pi/|2 : pi/2|
|00003ab0| 0a 09 09 5c 4d 65 73 73 | 40 67 65 20 7b 53 69 6e |...\Mess|@ge {Sin|
|00003ac0| 3a 20 63 61 6c 63 75 6c | 61 74 69 6e 67 20 53 69 |: calcul|ating Si|
|00003ad0| 6e 20 6f 66 20 5c 6e 6f | 64 69 6d 65 6e 20 30 7d |n of \no|dimen 0}|
|00003ae0| 25 0a 09 09 5c 63 6f 75 | 6e 74 20 30 20 3d 20 31 |%...\cou|nt 0 = 1|
|00003af0| 20 25 25 25 20 73 65 65 | 20 70 6f 77 65 72 2d 73 | %%% see| power-s|
|00003b00| 65 72 69 65 73 20 65 78 | 70 61 6e 73 69 6f 6e 20 |eries ex|pansion |
|00003b10| 66 6f 72 20 73 69 6e 65 | 0a 09 09 5c 64 69 6d 65 |for sine|...\dime|
|00003b20| 6e 20 32 20 3d 20 31 20 | 5c 72 40 64 69 61 6e 20 |n 2 = 1 |\r@dian |
|00003b30| 25 25 25 20 64 69 74 74 | 6f 0a 09 09 5c 64 69 6d |%%% ditt|o...\dim|
|00003b40| 65 6e 20 34 20 3d 20 30 | 20 5c 72 40 64 69 61 6e |en 4 = 0| \r@dian|
|00003b50| 20 25 25 25 20 64 69 74 | 74 6f 0a 09 09 5c 6c 6f | %%% dit|to...\lo|
|00003b60| 6f 70 0a 09 09 09 5c 69 | 66 6e 75 6d 09 5c 64 69 |op....\i|fnum.\di|
|00003b70| 6d 65 6e 20 32 20 3d 20 | 30 20 25 25 25 20 74 68 |men 2 = |0 %%% th|
|00003b80| 65 6e 20 77 65 27 76 65 | 20 64 6f 6e 65 0a 09 09 |en we've| done...|
|00003b90| 09 5c 74 68 65 6e 09 5c | 73 74 69 6c 6c 63 40 6e |.\then.\|stillc@n|
|00003ba0| 76 65 72 67 69 6e 67 66 | 61 6c 73 65 20 0a 09 09 |vergingf|alse ...|
|00003bb0| 09 5c 65 6c 73 65 09 5c | 73 74 69 6c 6c 63 40 6e |.\else.\|stillc@n|
|00003bc0| 76 65 72 67 69 6e 67 74 | 72 75 65 0a 09 09 09 5c |vergingt|rue....\|
|00003bd0| 66 69 0a 09 09 09 5c 69 | 66 73 74 69 6c 6c 63 40 |fi....\i|fstillc@|
|00003be0| 6e 76 65 72 67 69 6e 67 | 20 25 25 25 20 74 68 65 |nverging| %%% the|
|00003bf0| 6e 20 63 61 6c 63 75 6c | 61 74 65 20 6e 65 78 74 |n calcul|ate next|
|00003c00| 20 74 65 72 6d 0a 09 09 | 09 5c 74 68 65 6e 09 5c | term...|.\then.\|
|00003c10| 74 65 72 6d 20 7b 5c 63 | 6f 75 6e 74 20 30 7d 20 |term {\c|ount 0} |
|00003c20| 7b 5c 64 69 6d 65 6e 20 | 30 7d 20 7b 5c 64 69 6d |{\dimen |0} {\dim|
|00003c30| 65 6e 20 32 7d 25 0a 09 | 09 09 09 5c 61 64 76 61 |en 2}%..|...\adva|
|00003c40| 6e 63 65 20 5c 63 6f 75 | 6e 74 20 30 20 62 79 20 |nce \cou|nt 0 by |
|00003c50| 32 0a 09 09 09 09 5c 63 | 6f 75 6e 74 20 32 20 3d |2.....\c|ount 2 =|
|00003c60| 20 5c 63 6f 75 6e 74 20 | 30 0a 09 09 09 09 5c 64 | \count |0.....\d|
|00003c70| 69 76 69 64 65 20 5c 63 | 6f 75 6e 74 20 32 20 62 |ivide \c|ount 2 b|
|00003c80| 79 20 32 0a 09 09 09 09 | 5c 69 66 6f 64 64 09 5c |y 2.....|\ifodd.\|
|00003c90| 63 6f 75 6e 74 20 32 20 | 25 25 25 20 73 69 67 6e |count 2 |%%% sign|
|00003ca0| 73 20 61 6c 74 65 72 6e | 61 74 65 0a 09 09 09 09 |s altern|ate.....|
|00003cb0| 5c 74 68 65 6e 09 5c 61 | 64 76 61 6e 63 65 20 5c |\then.\a|dvance \|
|00003cc0| 64 69 6d 65 6e 20 34 20 | 62 79 20 5c 64 69 6d 65 |dimen 4 |by \dime|
|00003cd0| 6e 20 32 0a 09 09 09 09 | 5c 65 6c 73 65 09 5c 61 |n 2.....|\else.\a|
|00003ce0| 64 76 61 6e 63 65 20 5c | 64 69 6d 65 6e 20 34 20 |dvance \|dimen 4 |
|00003cf0| 62 79 20 2d 5c 64 69 6d | 65 6e 20 32 0a 09 09 09 |by -\dim|en 2....|
|00003d00| 09 5c 66 69 0a 09 09 5c | 72 65 70 65 61 74 0a 09 |.\fi...\|repeat..|
|00003d10| 5c 66 69 09 09 0a 09 09 | 09 5c 78 64 65 66 20 5c |\fi.....|.\xdef \|
|00003d20| 73 69 6e 65 20 7b 5c 6e | 6f 64 69 6d 65 6e 20 34 |sine {\n|odimen 4|
|00003d30| 7d 25 0a 20 20 20 20 20 | 20 20 7d 7d 0a 0a 25 20 |}%. | }}..% |
|00003d40| 4e 6f 77 20 74 68 65 20 | 43 6f 73 69 6e 65 20 63 |Now the |Cosine c|
|00003d50| 61 6e 20 62 65 20 63 61 | 6c 63 75 6c 61 74 65 64 |an be ca|lculated|
|00003d60| 20 65 61 73 69 6c 79 20 | 62 79 20 63 61 6c 6c 69 | easily |by calli|
|00003d70| 6e 67 20 5c 53 69 6e 65 | 0a 5c 64 65 66 5c 43 6f |ng \Sine|.\def\Co|
|00003d80| 73 69 6e 65 23 31 7b 5c | 69 66 78 5c 73 69 6e 65 |sine#1{\|ifx\sine|
|00003d90| 5c 55 6e 44 65 66 69 6e | 65 64 5c 65 64 65 66 5c |\UnDefin|ed\edef\|
|00003da0| 53 61 76 65 73 69 6e 65 | 7b 5c 72 65 6c 61 78 7d |Savesine|{\relax}|
|00003db0| 5c 65 6c 73 65 0a 09 09 | 20 20 20 20 20 20 20 20 |\else...| |
|00003dc0| 20 20 20 20 20 5c 65 64 | 65 66 5c 53 61 76 65 73 | \ed|ef\Saves|
|00003dd0| 69 6e 65 7b 5c 73 69 6e | 65 7d 5c 66 69 0a 09 7b |ine{\sin|e}\fi..{|
|00003de0| 5c 64 69 6d 65 6e 30 3d | 23 31 5c 72 40 64 69 61 |\dimen0=|#1\r@dia|
|00003df0| 6e 5c 61 64 76 61 6e 63 | 65 5c 64 69 6d 65 6e 30 |n\advanc|e\dimen0|
|00003e00| 20 62 79 20 39 30 5c 72 | 40 64 69 61 6e 0a 09 20 | by 90\r|@dian.. |
|00003e10| 5c 53 69 6e 65 7b 5c 6e | 6f 64 69 6d 65 6e 20 30 |\Sine{\n|odimen 0|
|00003e20| 7d 0a 09 20 5c 78 64 65 | 66 5c 63 6f 73 69 6e 65 |}.. \xde|f\cosine|
|00003e30| 7b 5c 73 69 6e 65 7d 0a | 09 20 5c 78 64 65 66 5c |{\sine}.|. \xdef\|
|00003e40| 73 69 6e 65 7b 5c 53 61 | 76 65 73 69 6e 65 7d 7d |sine{\Sa|vesine}}|
|00003e50| 7d 09 20 20 20 20 20 20 | 0a 25 20 65 6e 64 20 6f |}. |.% end o|
|00003e60| 66 20 74 72 69 67 20 73 | 74 75 66 66 0a 25 25 25 |f trig s|tuff.%%%|
|00003e70| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00003e80| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00003e90| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00003ea0| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00003eb0| 25 0a 0a 5c 64 65 66 5c | 70 73 64 72 61 66 74 7b |%..\def\|psdraft{|
|00003ec0| 0a 09 5c 64 65 66 5c 40 | 70 73 64 72 61 66 74 7b |..\def\@|psdraft{|
|00003ed0| 30 7d 0a 09 25 5c 70 73 | 40 74 79 70 65 6f 75 74 |0}..%\ps|@typeout|
|00003ee0| 7b 64 72 61 66 74 20 6c | 65 76 65 6c 20 6e 6f 77 |{draft l|evel now|
|00003ef0| 20 69 73 20 5c 40 70 73 | 64 72 61 66 74 20 5c 73 | is \@ps|draft \s|
|00003f00| 70 61 63 65 20 2e 20 7d | 0a 7d 0a 5c 64 65 66 5c |pace . }|.}.\def\|
|00003f10| 70 73 66 75 6c 6c 7b 0a | 09 5c 64 65 66 5c 40 70 |psfull{.|.\def\@p|
|00003f20| 73 64 72 61 66 74 7b 31 | 30 30 7d 0a 09 25 5c 70 |sdraft{1|00}..%\p|
|00003f30| 73 40 74 79 70 65 6f 75 | 74 7b 64 72 61 66 74 20 |s@typeou|t{draft |
|00003f40| 6c 65 76 65 6c 20 6e 6f | 77 20 69 73 20 5c 40 70 |level no|w is \@p|
|00003f50| 73 64 72 61 66 74 20 5c | 73 70 61 63 65 20 2e 20 |sdraft \|space . |
|00003f60| 7d 0a 7d 0a 0a 5c 70 73 | 66 75 6c 6c 0a 0a 5c 6e |}.}..\ps|full..\n|
|00003f70| 65 77 69 66 5c 69 66 40 | 73 63 61 6c 65 66 69 72 |ewif\if@|scalefir|
|00003f80| 73 74 0a 5c 64 65 66 5c | 70 73 73 63 61 6c 65 66 |st.\def\|psscalef|
|00003f90| 69 72 73 74 7b 5c 40 73 | 63 61 6c 65 66 69 72 73 |irst{\@s|calefirs|
|00003fa0| 74 74 72 75 65 7d 0a 5c | 64 65 66 5c 70 73 72 6f |ttrue}.\|def\psro|
|00003fb0| 74 61 74 65 66 69 72 73 | 74 7b 5c 40 73 63 61 6c |tatefirs|t{\@scal|
|00003fc0| 65 66 69 72 73 74 66 61 | 6c 73 65 7d 0a 5c 70 73 |efirstfa|lse}.\ps|
|00003fd0| 72 6f 74 61 74 65 66 69 | 72 73 74 0a 0a 5c 6e 65 |rotatefi|rst..\ne|
|00003fe0| 77 69 66 5c 69 66 40 64 | 72 61 66 74 62 6f 78 0a |wif\if@d|raftbox.|
|00003ff0| 5c 64 65 66 5c 70 73 6e | 6f 64 72 61 66 74 62 6f |\def\psn|odraftbo|
|00004000| 78 7b 0a 09 5c 40 64 72 | 61 66 74 62 6f 78 66 61 |x{..\@dr|aftboxfa|
|00004010| 6c 73 65 0a 7d 0a 5c 64 | 65 66 5c 70 73 64 72 61 |lse.}.\d|ef\psdra|
|00004020| 66 74 62 6f 78 7b 0a 09 | 5c 40 64 72 61 66 74 62 |ftbox{..|\@draftb|
|00004030| 6f 78 74 72 75 65 0a 7d | 0a 5c 40 64 72 61 66 74 |oxtrue.}|.\@draft|
|00004040| 62 6f 78 74 72 75 65 0a | 0a 5c 6e 65 77 69 66 5c |boxtrue.|.\newif\|
|00004050| 69 66 40 70 72 6f 6c 6f | 67 66 69 6c 65 0a 5c 6e |if@prolo|gfile.\n|
|00004060| 65 77 69 66 5c 69 66 40 | 70 6f 73 74 6c 6f 67 66 |ewif\if@|postlogf|
|00004070| 69 6c 65 0a 5c 64 65 66 | 5c 70 73 73 69 6c 65 6e |ile.\def|\pssilen|
|00004080| 74 7b 0a 09 5c 40 6e 6f | 69 73 79 66 61 6c 73 65 |t{..\@no|isyfalse|
|00004090| 0a 7d 0a 5c 64 65 66 5c | 70 73 6e 6f 69 73 79 7b |.}.\def\|psnoisy{|
|000040a0| 0a 09 5c 40 6e 6f 69 73 | 79 74 72 75 65 0a 7d 0a |..\@nois|ytrue.}.|
|000040b0| 5c 70 73 6e 6f 69 73 79 | 0a 25 25 25 20 54 68 65 |\psnoisy|.%%% The|
|000040c0| 73 65 20 61 72 65 20 66 | 6f 72 20 74 68 65 20 6f |se are f|or the o|
|000040d0| 70 74 69 6f 6e 20 6c 69 | 73 74 2e 0a 25 25 25 20 |ption li|st..%%% |
|000040e0| 41 20 73 70 65 63 69 66 | 69 63 61 74 69 6f 6e 20 |A specif|ication |
|000040f0| 6f 66 20 74 68 65 20 66 | 6f 72 6d 20 61 20 3d 20 |of the f|orm a = |
|00004100| 62 20 6d 61 70 73 20 74 | 6f 20 63 61 6c 6c 69 6e |b maps t|o callin|
|00004110| 67 20 5c 40 70 40 40 73 | 61 7b 62 7d 0a 5c 6e 65 |g \@p@@s|a{b}.\ne|
|00004120| 77 69 66 5c 69 66 40 62 | 62 6c 6c 78 0a 5c 6e 65 |wif\if@b|bllx.\ne|
|00004130| 77 69 66 5c 69 66 40 62 | 62 6c 6c 79 0a 5c 6e 65 |wif\if@b|blly.\ne|
|00004140| 77 69 66 5c 69 66 40 62 | 62 75 72 78 0a 5c 6e 65 |wif\if@b|burx.\ne|
|00004150| 77 69 66 5c 69 66 40 62 | 62 75 72 79 0a 5c 6e 65 |wif\if@b|bury.\ne|
|00004160| 77 69 66 5c 69 66 40 68 | 65 69 67 68 74 0a 5c 6e |wif\if@h|eight.\n|
|00004170| 65 77 69 66 5c 69 66 40 | 77 69 64 74 68 0a 5c 6e |ewif\if@|width.\n|
|00004180| 65 77 69 66 5c 69 66 40 | 72 68 65 69 67 68 74 0a |ewif\if@|rheight.|
|00004190| 5c 6e 65 77 69 66 5c 69 | 66 40 72 77 69 64 74 68 |\newif\i|f@rwidth|
|000041a0| 0a 5c 6e 65 77 69 66 5c | 69 66 40 61 6e 67 6c 65 |.\newif\|if@angle|
|000041b0| 0a 5c 6e 65 77 69 66 5c | 69 66 40 63 6c 69 70 0a |.\newif\|if@clip.|
|000041c0| 5c 6e 65 77 69 66 5c 69 | 66 40 76 65 72 62 6f 73 |\newif\i|f@verbos|
|000041d0| 65 0a 5c 64 65 66 5c 40 | 70 40 40 73 63 6c 69 70 |e.\def\@|p@@sclip|
|000041e0| 23 31 7b 5c 40 63 6c 69 | 70 74 72 75 65 7d 0a 25 |#1{\@cli|ptrue}.%|
|000041f0| 0a 25 0a 5c 6e 65 77 69 | 66 5c 69 66 40 64 65 63 |.%.\newi|f\if@dec|
|00004200| 6d 70 72 0a 25 0a 5c 64 | 65 66 5c 40 70 40 40 73 |mpr.%.\d|ef\@p@@s|
|00004210| 66 69 67 75 72 65 23 31 | 7b 5c 64 65 66 5c 40 70 |figure#1|{\def\@p|
|00004220| 40 73 66 69 6c 65 7b 6e | 75 6c 6c 7d 5c 64 65 66 |@sfile{n|ull}\def|
|00004230| 5c 40 70 40 73 62 62 66 | 69 6c 65 7b 6e 75 6c 6c |\@p@sbbf|ile{null|
|00004240| 7d 5c 40 64 65 63 6d 70 | 72 66 61 6c 73 65 0a 20 |}\@decmp|rfalse. |
|00004250| 20 20 25 20 6c 6f 6f 6b | 20 64 69 72 65 63 74 6c | % look| directl|
|00004260| 79 20 66 6f 72 20 66 69 | 6c 65 20 28 65 2e 67 2e |y for fi|le (e.g.|
|00004270| 20 61 62 73 6f 6c 75 74 | 65 20 70 61 74 68 29 0a | absolut|e path).|
|00004280| 20 20 20 5c 6f 70 65 6e | 69 6e 31 3d 5c 70 73 40 | \open|in1=\ps@|
|00004290| 70 72 65 64 69 72 23 31 | 0a 20 20 20 5c 69 66 65 |predir#1|. \ife|
|000042a0| 6f 66 31 0a 09 5c 63 6c | 6f 73 65 69 6e 31 0a 09 |of1..\cl|osein1..|
|000042b0| 25 20 66 61 69 6c 65 64 | 2c 20 73 65 61 72 63 68 |% failed|, search|
|000042c0| 20 64 69 72 65 63 74 6f | 72 69 65 73 20 66 6f 72 | directo|ries for|
|000042d0| 20 66 69 6c 65 0a 09 5c | 67 65 74 40 64 69 72 7b | file..\|get@dir{|
|000042e0| 23 31 7d 0a 09 5c 69 66 | 78 5c 70 73 40 66 6f 75 |#1}..\if|x\ps@fou|
|000042f0| 6e 64 64 69 72 5c 6c 65 | 65 72 0a 09 09 25 20 66 |nddir\le|er...% f|
|00004300| 61 69 6c 65 64 2c 20 73 | 65 61 72 63 68 20 64 69 |ailed, s|earch di|
|00004310| 72 65 63 74 6c 79 20 66 | 6f 72 20 66 69 6c 65 2e |rectly f|or file.|
|00004320| 62 62 0a 09 09 5c 6f 70 | 65 6e 69 6e 31 3d 5c 70 |bb...\op|enin1=\p|
|00004330| 73 40 70 72 65 64 69 72 | 23 31 2e 62 62 0a 09 09 |s@predir|#1.bb...|
|00004340| 5c 69 66 65 6f 66 31 0a | 09 09 09 5c 63 6c 6f 73 |\ifeof1.|...\clos|
|00004350| 65 69 6e 31 0a 09 09 09 | 25 20 66 61 69 6c 65 64 |ein1....|% failed|
|00004360| 2c 20 73 65 61 72 63 68 | 20 64 69 72 65 63 74 6f |, search| directo|
|00004370| 72 69 65 73 20 66 6f 72 | 20 66 69 6c 65 2e 62 62 |ries for| file.bb|
|00004380| 0a 09 09 09 5c 67 65 74 | 40 64 69 72 7b 23 31 2e |....\get|@dir{#1.|
|00004390| 62 62 7d 0a 09 09 09 5c | 69 66 78 5c 70 73 40 66 |bb}....\|ifx\ps@f|
|000043a0| 6f 75 6e 64 64 69 72 5c | 6c 65 65 72 0a 09 09 09 |ounddir\|leer....|
|000043b0| 09 25 20 66 61 69 6c 65 | 64 2c 20 6c 6f 73 65 2e |.% faile|d, lose.|
|000043c0| 0a 09 09 09 09 5c 70 73 | 40 74 79 70 65 6f 75 74 |.....\ps|@typeout|
|000043d0| 7b 43 61 6e 27 74 20 66 | 69 6e 64 20 23 31 20 69 |{Can't f|ind #1 i|
|000043e0| 6e 20 5c 66 69 67 75 72 | 65 70 61 74 68 7d 0a 09 |n \figur|epath}..|
|000043f0| 09 09 5c 65 6c 73 65 0a | 09 09 09 09 25 20 66 6f |..\else.|....% fo|
|00004400| 75 6e 64 20 66 69 6c 65 | 2e 62 62 20 69 6e 20 73 |und file|.bb in s|
|00004410| 65 61 72 63 68 20 64 69 | 72 0a 09 09 09 09 5c 40 |earch di|r.....\@|
|00004420| 64 65 63 6d 70 72 74 72 | 75 65 0a 09 09 09 09 5c |decmprtr|ue.....\|
|00004430| 64 65 66 5c 40 70 40 73 | 66 69 6c 65 7b 5c 70 73 |def\@p@s|file{\ps|
|00004440| 40 66 6f 75 6e 64 64 69 | 72 5c 70 73 40 64 69 72 |@founddi|r\ps@dir|
|00004450| 23 31 7d 0a 09 09 09 09 | 5c 64 65 66 5c 40 70 40 |#1}.....|\def\@p@|
|00004460| 73 62 62 66 69 6c 65 7b | 5c 70 73 40 66 6f 75 6e |sbbfile{|\ps@foun|
|00004470| 64 64 69 72 5c 70 73 40 | 64 69 72 23 31 2e 62 62 |ddir\ps@|dir#1.bb|
|00004480| 7d 0a 09 09 09 5c 66 69 | 0a 09 09 5c 65 6c 73 65 |}....\fi|...\else|
|00004490| 0a 09 09 09 5c 63 6c 6f | 73 65 69 6e 31 0a 09 09 |....\clo|sein1...|
|000044a0| 09 25 66 6f 75 6e 64 20 | 66 69 6c 65 2e 62 62 20 |.%found |file.bb |
|000044b0| 64 69 72 65 63 74 6c 79 | 0a 09 09 09 5c 40 64 65 |directly|....\@de|
|000044c0| 63 6d 70 72 74 72 75 65 | 0a 09 09 09 5c 64 65 66 |cmprtrue|....\def|
|000044d0| 5c 40 70 40 73 66 69 6c | 65 7b 23 31 7d 0a 09 09 |\@p@sfil|e{#1}...|
|000044e0| 09 5c 64 65 66 5c 40 70 | 40 73 62 62 66 69 6c 65 |.\def\@p|@sbbfile|
|000044f0| 7b 23 31 2e 62 62 7d 0a | 09 09 5c 66 69 0a 09 5c |{#1.bb}.|..\fi..\|
|00004500| 65 6c 73 65 0a 09 09 25 | 20 66 6f 75 6e 64 20 66 |else...%| found f|
|00004510| 69 6c 65 20 69 6e 20 73 | 65 61 72 63 68 20 64 69 |ile in s|earch di|
|00004520| 72 0a 09 09 5c 64 65 66 | 5c 40 70 40 73 66 69 6c |r...\def|\@p@sfil|
|00004530| 65 7b 5c 70 73 40 66 6f | 75 6e 64 64 69 72 5c 70 |e{\ps@fo|unddir\p|
|00004540| 73 40 64 69 72 23 31 7d | 0a 09 09 5c 64 65 66 5c |s@dir#1}|...\def\|
|00004550| 40 70 40 73 62 62 66 69 | 6c 65 7b 5c 70 73 40 66 |@p@sbbfi|le{\ps@f|
|00004560| 6f 75 6e 64 64 69 72 5c | 70 73 40 64 69 72 23 31 |ounddir\|ps@dir#1|
|00004570| 7d 0a 09 5c 66 69 0a 20 | 20 20 5c 65 6c 73 65 0a |}..\fi. | \else.|
|00004580| 09 25 20 66 6f 75 6e 64 | 20 66 69 6c 65 20 64 69 |.% found| file di|
|00004590| 72 65 63 74 6c 79 0a 09 | 5c 63 6c 6f 73 65 69 6e |rectly..|\closein|
|000045a0| 31 0a 09 5c 64 65 66 5c | 40 70 40 73 66 69 6c 65 |1..\def\|@p@sfile|
|000045b0| 7b 23 31 7d 0a 09 5c 64 | 65 66 5c 40 70 40 73 62 |{#1}..\d|ef\@p@sb|
|000045c0| 62 66 69 6c 65 7b 23 31 | 7d 0a 20 20 20 5c 66 69 |bfile{#1|}. \fi|
|000045d0| 0a 7d 0a 25 0a 25 0a 25 | 0a 5c 64 65 66 5c 40 70 |.}.%.%.%|.\def\@p|
|000045e0| 40 40 73 66 69 6c 65 23 | 31 7b 5c 40 70 40 40 73 |@@sfile#|1{\@p@@s|
|000045f0| 66 69 67 75 72 65 7b 23 | 31 7d 7d 0a 25 0a 5c 64 |figure{#|1}}.%.\d|
|00004600| 65 66 5c 40 70 40 40 73 | 62 62 6c 6c 78 23 31 7b |ef\@p@@s|bbllx#1{|
|00004610| 0a 09 09 25 5c 70 73 40 | 74 79 70 65 6f 75 74 7b |...%\ps@|typeout{|
|00004620| 62 62 6c 6c 78 20 69 73 | 20 23 31 7d 0a 09 09 5c |bbllx is| #1}...\|
|00004630| 40 62 62 6c 6c 78 74 72 | 75 65 0a 09 09 5c 64 69 |@bbllxtr|ue...\di|
|00004640| 6d 65 6e 31 30 30 3d 23 | 31 0a 09 09 5c 65 64 65 |men100=#|1...\ede|
|00004650| 66 5c 40 70 40 73 62 62 | 6c 6c 78 7b 5c 6e 75 6d |f\@p@sbb|llx{\num|
|00004660| 62 65 72 5c 64 69 6d 65 | 6e 31 30 30 7d 0a 7d 0a |ber\dime|n100}.}.|
|00004670| 5c 64 65 66 5c 40 70 40 | 40 73 62 62 6c 6c 79 23 |\def\@p@|@sbblly#|
|00004680| 31 7b 0a 09 09 25 5c 70 | 73 40 74 79 70 65 6f 75 |1{...%\p|s@typeou|
|00004690| 74 7b 62 62 6c 6c 79 20 | 69 73 20 23 31 7d 0a 09 |t{bblly |is #1}..|
|000046a0| 09 5c 40 62 62 6c 6c 79 | 74 72 75 65 0a 09 09 5c |.\@bblly|true...\|
|000046b0| 64 69 6d 65 6e 31 30 30 | 3d 23 31 0a 09 09 5c 65 |dimen100|=#1...\e|
|000046c0| 64 65 66 5c 40 70 40 73 | 62 62 6c 6c 79 7b 5c 6e |def\@p@s|bblly{\n|
|000046d0| 75 6d 62 65 72 5c 64 69 | 6d 65 6e 31 30 30 7d 0a |umber\di|men100}.|
|000046e0| 7d 0a 5c 64 65 66 5c 40 | 70 40 40 73 62 62 75 72 |}.\def\@|p@@sbbur|
|000046f0| 78 23 31 7b 0a 09 09 25 | 5c 70 73 40 74 79 70 65 |x#1{...%|\ps@type|
|00004700| 6f 75 74 7b 62 62 75 72 | 78 20 69 73 20 23 31 7d |out{bbur|x is #1}|
|00004710| 0a 09 09 5c 40 62 62 75 | 72 78 74 72 75 65 0a 09 |...\@bbu|rxtrue..|
|00004720| 09 5c 64 69 6d 65 6e 31 | 30 30 3d 23 31 0a 09 09 |.\dimen1|00=#1...|
|00004730| 5c 65 64 65 66 5c 40 70 | 40 73 62 62 75 72 78 7b |\edef\@p|@sbburx{|
|00004740| 5c 6e 75 6d 62 65 72 5c | 64 69 6d 65 6e 31 30 30 |\number\|dimen100|
|00004750| 7d 0a 7d 0a 5c 64 65 66 | 5c 40 70 40 40 73 62 62 |}.}.\def|\@p@@sbb|
|00004760| 75 72 79 23 31 7b 0a 09 | 09 25 5c 70 73 40 74 79 |ury#1{..|.%\ps@ty|
|00004770| 70 65 6f 75 74 7b 62 62 | 75 72 79 20 69 73 20 23 |peout{bb|ury is #|
|00004780| 31 7d 0a 09 09 5c 40 62 | 62 75 72 79 74 72 75 65 |1}...\@b|burytrue|
|00004790| 0a 09 09 5c 64 69 6d 65 | 6e 31 30 30 3d 23 31 0a |...\dime|n100=#1.|
|000047a0| 09 09 5c 65 64 65 66 5c | 40 70 40 73 62 62 75 72 |..\edef\|@p@sbbur|
|000047b0| 79 7b 5c 6e 75 6d 62 65 | 72 5c 64 69 6d 65 6e 31 |y{\numbe|r\dimen1|
|000047c0| 30 30 7d 0a 7d 0a 5c 64 | 65 66 5c 40 70 40 40 73 |00}.}.\d|ef\@p@@s|
|000047d0| 68 65 69 67 68 74 23 31 | 7b 0a 09 09 5c 40 68 65 |height#1|{...\@he|
|000047e0| 69 67 68 74 74 72 75 65 | 0a 09 09 5c 64 69 6d 65 |ighttrue|...\dime|
|000047f0| 6e 31 30 30 3d 23 31 0a | 20 20 20 09 09 5c 65 64 |n100=#1.| ..\ed|
|00004800| 65 66 5c 40 70 40 73 68 | 65 69 67 68 74 7b 5c 6e |ef\@p@sh|eight{\n|
|00004810| 75 6d 62 65 72 5c 64 69 | 6d 65 6e 31 30 30 7d 0a |umber\di|men100}.|
|00004820| 09 09 25 5c 70 73 40 74 | 79 70 65 6f 75 74 7b 48 |..%\ps@t|ypeout{H|
|00004830| 65 69 67 68 74 20 69 73 | 20 5c 40 70 40 73 68 65 |eight is| \@p@she|
|00004840| 69 67 68 74 7d 0a 7d 0a | 5c 64 65 66 5c 40 70 40 |ight}.}.|\def\@p@|
|00004850| 40 73 77 69 64 74 68 23 | 31 7b 0a 09 09 25 5c 70 |@swidth#|1{...%\p|
|00004860| 73 40 74 79 70 65 6f 75 | 74 7b 57 69 64 74 68 20 |s@typeou|t{Width |
|00004870| 69 73 20 23 31 7d 0a 09 | 09 5c 40 77 69 64 74 68 |is #1}..|.\@width|
|00004880| 74 72 75 65 0a 09 09 5c | 64 69 6d 65 6e 31 30 30 |true...\|dimen100|
|00004890| 3d 23 31 0a 09 09 5c 65 | 64 65 66 5c 40 70 40 73 |=#1...\e|def\@p@s|
|000048a0| 77 69 64 74 68 7b 5c 6e | 75 6d 62 65 72 5c 64 69 |width{\n|umber\di|
|000048b0| 6d 65 6e 31 30 30 7d 0a | 7d 0a 5c 64 65 66 5c 40 |men100}.|}.\def\@|
|000048c0| 70 40 40 73 72 68 65 69 | 67 68 74 23 31 7b 0a 09 |p@@srhei|ght#1{..|
|000048d0| 09 25 5c 70 73 40 74 79 | 70 65 6f 75 74 7b 52 65 |.%\ps@ty|peout{Re|
|000048e0| 73 65 72 76 65 64 20 68 | 65 69 67 68 74 20 69 73 |served h|eight is|
|000048f0| 20 23 31 7d 0a 09 09 5c | 40 72 68 65 69 67 68 74 | #1}...\|@rheight|
|00004900| 74 72 75 65 0a 09 09 5c | 64 69 6d 65 6e 31 30 30 |true...\|dimen100|
|00004910| 3d 23 31 0a 09 09 5c 65 | 64 65 66 5c 40 70 40 73 |=#1...\e|def\@p@s|
|00004920| 72 68 65 69 67 68 74 7b | 5c 6e 75 6d 62 65 72 5c |rheight{|\number\|
|00004930| 64 69 6d 65 6e 31 30 30 | 7d 0a 7d 0a 5c 64 65 66 |dimen100|}.}.\def|
|00004940| 5c 40 70 40 40 73 72 77 | 69 64 74 68 23 31 7b 0a |\@p@@srw|idth#1{.|
|00004950| 09 09 25 5c 70 73 40 74 | 79 70 65 6f 75 74 7b 52 |..%\ps@t|ypeout{R|
|00004960| 65 73 65 72 76 65 64 20 | 77 69 64 74 68 20 69 73 |eserved |width is|
|00004970| 20 23 31 7d 0a 09 09 5c | 40 72 77 69 64 74 68 74 | #1}...\|@rwidtht|
|00004980| 72 75 65 0a 09 09 5c 64 | 69 6d 65 6e 31 30 30 3d |rue...\d|imen100=|
|00004990| 23 31 0a 09 09 5c 65 64 | 65 66 5c 40 70 40 73 72 |#1...\ed|ef\@p@sr|
|000049a0| 77 69 64 74 68 7b 5c 6e | 75 6d 62 65 72 5c 64 69 |width{\n|umber\di|
|000049b0| 6d 65 6e 31 30 30 7d 0a | 7d 0a 5c 64 65 66 5c 40 |men100}.|}.\def\@|
|000049c0| 70 40 40 73 61 6e 67 6c | 65 23 31 7b 0a 09 09 25 |p@@sangl|e#1{...%|
|000049d0| 5c 70 73 40 74 79 70 65 | 6f 75 74 7b 52 6f 74 61 |\ps@type|out{Rota|
|000049e0| 74 69 6f 6e 20 69 73 20 | 23 31 7d 0a 09 09 5c 40 |tion is |#1}...\@|
|000049f0| 61 6e 67 6c 65 74 72 75 | 65 0a 25 09 09 5c 64 69 |angletru|e.%..\di|
|00004a00| 6d 65 6e 31 30 30 3d 23 | 31 0a 09 09 5c 65 64 65 |men100=#|1...\ede|
|00004a10| 66 5c 40 70 40 73 61 6e | 67 6c 65 7b 23 31 7d 20 |f\@p@san|gle{#1} |
|00004a20| 25 5c 6e 75 6d 62 65 72 | 5c 64 69 6d 65 6e 31 30 |%\number|\dimen10|
|00004a30| 30 7d 0a 7d 0a 5c 64 65 | 66 5c 40 70 40 40 73 73 |0}.}.\de|f\@p@@ss|
|00004a40| 69 6c 65 6e 74 23 31 7b | 20 0a 09 09 5c 40 76 65 |ilent#1{| ...\@ve|
|00004a50| 72 62 6f 73 65 66 61 6c | 73 65 0a 7d 0a 5c 64 65 |rbosefal|se.}.\de|
|00004a60| 66 5c 40 70 40 40 73 70 | 72 6f 6c 6f 67 23 31 7b |f\@p@@sp|rolog#1{|
|00004a70| 5c 40 70 72 6f 6c 6f 67 | 66 69 6c 65 74 72 75 65 |\@prolog|filetrue|
|00004a80| 5c 64 65 66 5c 40 70 72 | 6f 6c 6f 67 66 69 6c 65 |\def\@pr|ologfile|
|00004a90| 76 61 6c 7b 23 31 7d 7d | 0a 5c 64 65 66 5c 40 70 |val{#1}}|.\def\@p|
|00004aa0| 40 40 73 70 6f 73 74 6c | 6f 67 23 31 7b 5c 40 70 |@@spostl|og#1{\@p|
|00004ab0| 6f 73 74 6c 6f 67 66 69 | 6c 65 74 72 75 65 5c 64 |ostlogfi|letrue\d|
|00004ac0| 65 66 5c 40 70 6f 73 74 | 6c 6f 67 66 69 6c 65 76 |ef\@post|logfilev|
|00004ad0| 61 6c 7b 23 31 7d 7d 0a | 5c 64 65 66 5c 40 63 73 |al{#1}}.|\def\@cs|
|00004ae0| 40 6e 61 6d 65 23 31 7b | 5c 63 73 6e 61 6d 65 20 |@name#1{|\csname |
|00004af0| 23 31 5c 65 6e 64 63 73 | 6e 61 6d 65 7d 0a 5c 64 |#1\endcs|name}.\d|
|00004b00| 65 66 5c 40 73 65 74 70 | 61 72 6d 73 23 31 3d 23 |ef\@setp|arms#1=#|
|00004b10| 32 2c 7b 5c 40 63 73 40 | 6e 61 6d 65 7b 40 70 40 |2,{\@cs@|name{@p@|
|00004b20| 40 73 23 31 7d 7b 23 32 | 7d 7d 0a 25 0a 25 20 69 |@s#1}{#2|}}.%.% i|
|00004b30| 6e 69 74 69 61 6c 69 7a | 65 20 74 68 65 20 64 65 |nitializ|e the de|
|00004b40| 66 61 75 6c 74 73 20 28 | 73 69 7a 65 20 74 68 65 |faults (|size the|
|00004b50| 20 73 69 7a 65 20 6f 66 | 20 74 68 65 20 66 69 67 | size of| the fig|
|00004b60| 75 72 65 29 0a 25 0a 5c | 64 65 66 5c 70 73 40 69 |ure).%.\|def\ps@i|
|00004b70| 6e 69 74 40 70 61 72 6d | 73 7b 0a 09 09 5c 40 62 |nit@parm|s{...\@b|
|00004b80| 62 6c 6c 78 66 61 6c 73 | 65 20 5c 40 62 62 6c 6c |bllxfals|e \@bbll|
|00004b90| 79 66 61 6c 73 65 0a 09 | 09 5c 40 62 62 75 72 78 |yfalse..|.\@bburx|
|00004ba0| 66 61 6c 73 65 20 5c 40 | 62 62 75 72 79 66 61 6c |false \@|bburyfal|
|00004bb0| 73 65 0a 09 09 5c 40 68 | 65 69 67 68 74 66 61 6c |se...\@h|eightfal|
|00004bc0| 73 65 20 5c 40 77 69 64 | 74 68 66 61 6c 73 65 0a |se \@wid|thfalse.|
|00004bd0| 09 09 5c 40 72 68 65 69 | 67 68 74 66 61 6c 73 65 |..\@rhei|ghtfalse|
|00004be0| 20 5c 40 72 77 69 64 74 | 68 66 61 6c 73 65 0a 09 | \@rwidt|hfalse..|
|00004bf0| 09 5c 64 65 66 5c 40 70 | 40 73 62 62 6c 6c 78 7b |.\def\@p|@sbbllx{|
|00004c00| 7d 5c 64 65 66 5c 40 70 | 40 73 62 62 6c 6c 79 7b |}\def\@p|@sbblly{|
|00004c10| 7d 0a 09 09 5c 64 65 66 | 5c 40 70 40 73 62 62 75 |}...\def|\@p@sbbu|
|00004c20| 72 78 7b 7d 5c 64 65 66 | 5c 40 70 40 73 62 62 75 |rx{}\def|\@p@sbbu|
|00004c30| 72 79 7b 7d 0a 09 09 5c | 64 65 66 5c 40 70 40 73 |ry{}...\|def\@p@s|
|00004c40| 68 65 69 67 68 74 7b 7d | 5c 64 65 66 5c 40 70 40 |height{}|\def\@p@|
|00004c50| 73 77 69 64 74 68 7b 7d | 0a 09 09 5c 64 65 66 5c |swidth{}|...\def\|
|00004c60| 40 70 40 73 72 68 65 69 | 67 68 74 7b 7d 5c 64 65 |@p@srhei|ght{}\de|
|00004c70| 66 5c 40 70 40 73 72 77 | 69 64 74 68 7b 7d 0a 09 |f\@p@srw|idth{}..|
|00004c80| 09 5c 64 65 66 5c 40 70 | 40 73 61 6e 67 6c 65 7b |.\def\@p|@sangle{|
|00004c90| 30 7d 0a 09 09 5c 64 65 | 66 5c 40 70 40 73 66 69 |0}...\de|f\@p@sfi|
|00004ca0| 6c 65 7b 7d 20 5c 64 65 | 66 5c 40 70 40 73 62 62 |le{} \de|f\@p@sbb|
|00004cb0| 66 69 6c 65 7b 7d 0a 09 | 09 5c 64 65 66 5c 40 70 |file{}..|.\def\@p|
|00004cc0| 40 73 63 6f 73 74 7b 31 | 30 7d 0a 09 09 5c 64 65 |@scost{1|0}...\de|
|00004cd0| 66 5c 40 73 63 7b 7d 0a | 09 09 5c 40 70 72 6f 6c |f\@sc{}.|..\@prol|
|00004ce0| 6f 67 66 69 6c 65 66 61 | 6c 73 65 0a 09 09 5c 40 |ogfilefa|lse...\@|
|00004cf0| 70 6f 73 74 6c 6f 67 66 | 69 6c 65 66 61 6c 73 65 |postlogf|ilefalse|
|00004d00| 0a 09 09 5c 40 63 6c 69 | 70 66 61 6c 73 65 0a 09 |...\@cli|pfalse..|
|00004d10| 09 5c 69 66 40 6e 6f 69 | 73 79 0a 09 09 09 5c 40 |.\if@noi|sy....\@|
|00004d20| 76 65 72 62 6f 73 65 74 | 72 75 65 0a 09 09 5c 65 |verboset|rue...\e|
|00004d30| 6c 73 65 0a 09 09 09 5c | 40 76 65 72 62 6f 73 65 |lse....\|@verbose|
|00004d40| 66 61 6c 73 65 0a 09 09 | 5c 66 69 0a 7d 0a 25 0a |false...|\fi.}.%.|
|00004d50| 25 20 47 6f 20 74 68 72 | 6f 75 67 68 20 74 68 65 |% Go thr|ough the|
|00004d60| 20 6f 70 74 69 6f 6e 73 | 20 73 65 74 74 69 6e 67 | options| setting|
|00004d70| 20 74 68 69 6e 67 73 20 | 75 70 2e 0a 25 0a 5c 64 | things |up..%.\d|
|00004d80| 65 66 5c 70 61 72 73 65 | 40 70 73 40 70 61 72 6d |ef\parse|@ps@parm|
|00004d90| 73 23 31 7b 0a 09 20 09 | 5c 40 70 73 64 6f 5c 40 |s#1{.. .|\@psdo\@|
|00004da0| 70 73 66 69 67 61 3a 3d | 23 31 5c 64 6f 0a 09 09 |psfiga:=|#1\do...|
|00004db0| 20 20 20 7b 5c 65 78 70 | 61 6e 64 61 66 74 65 72 | {\exp|andafter|
|00004dc0| 5c 40 73 65 74 70 61 72 | 6d 73 5c 40 70 73 66 69 |\@setpar|ms\@psfi|
|00004dd0| 67 61 2c 7d 7d 0a 25 0a | 25 20 43 6f 6d 70 75 74 |ga,}}.%.|% Comput|
|00004de0| 65 20 62 62 20 68 65 69 | 67 68 74 20 61 6e 64 20 |e bb hei|ght and |
|00004df0| 77 69 64 74 68 0a 25 0a | 5c 6e 65 77 69 66 5c 69 |width.%.|\newif\i|
|00004e00| 66 6e 6f 40 62 62 0a 5c | 64 65 66 5c 62 62 40 6d |fno@bb.\|def\bb@m|
|00004e10| 69 73 73 69 6e 67 7b 0a | 09 5c 69 66 40 76 65 72 |issing{.|.\if@ver|
|00004e20| 62 6f 73 65 7b 0a 09 09 | 5c 70 73 40 74 79 70 65 |bose{...|\ps@type|
|00004e30| 6f 75 74 7b 70 73 66 69 | 67 3a 20 73 65 61 72 63 |out{psfi|g: searc|
|00004e40| 68 69 6e 67 20 5c 40 70 | 40 73 62 62 66 69 6c 65 |hing \@p|@sbbfile|
|00004e50| 20 5c 73 70 61 63 65 20 | 20 66 6f 72 20 62 6f 75 | \space | for bou|
|00004e60| 6e 64 69 6e 67 20 62 6f | 78 7d 0a 09 7d 5c 66 69 |nding bo|x}..}\fi|
|00004e70| 0a 09 5c 6e 6f 40 62 62 | 74 72 75 65 0a 09 5c 65 |..\no@bb|true..\e|
|00004e80| 70 73 66 40 67 65 74 62 | 62 7b 5c 40 70 40 73 62 |psf@getb|b{\@p@sb|
|00004e90| 62 66 69 6c 65 7d 0a 20 | 20 20 20 20 20 20 20 5c |bfile}. | \|
|00004ea0| 69 66 6e 6f 40 62 62 20 | 5c 65 6c 73 65 20 5c 62 |ifno@bb |\else \b|
|00004eb0| 62 40 63 75 6c 6c 5c 65 | 70 73 66 40 6c 6c 78 5c |b@cull\e|psf@llx\|
|00004ec0| 65 70 73 66 40 6c 6c 79 | 5c 65 70 73 66 40 75 72 |epsf@lly|\epsf@ur|
|00004ed0| 78 5c 65 70 73 66 40 75 | 72 79 5c 66 69 0a 7d 09 |x\epsf@u|ry\fi.}.|
|00004ee0| 0a 5c 64 65 66 5c 62 62 | 40 63 75 6c 6c 23 31 23 |.\def\bb|@cull#1#|
|00004ef0| 32 23 33 23 34 7b 0a 09 | 5c 64 69 6d 65 6e 31 30 |2#3#4{..|\dimen10|
|00004f00| 30 3d 23 31 20 62 70 5c | 65 64 65 66 5c 40 70 40 |0=#1 bp\|edef\@p@|
|00004f10| 73 62 62 6c 6c 78 7b 5c | 6e 75 6d 62 65 72 5c 64 |sbbllx{\|number\d|
|00004f20| 69 6d 65 6e 31 30 30 7d | 0a 09 5c 64 69 6d 65 6e |imen100}|..\dimen|
|00004f30| 31 30 30 3d 23 32 20 62 | 70 5c 65 64 65 66 5c 40 |100=#2 b|p\edef\@|
|00004f40| 70 40 73 62 62 6c 6c 79 | 7b 5c 6e 75 6d 62 65 72 |p@sbblly|{\number|
|00004f50| 5c 64 69 6d 65 6e 31 30 | 30 7d 0a 09 5c 64 69 6d |\dimen10|0}..\dim|
|00004f60| 65 6e 31 30 30 3d 23 33 | 20 62 70 5c 65 64 65 66 |en100=#3| bp\edef|
|00004f70| 5c 40 70 40 73 62 62 75 | 72 78 7b 5c 6e 75 6d 62 |\@p@sbbu|rx{\numb|
|00004f80| 65 72 5c 64 69 6d 65 6e | 31 30 30 7d 0a 09 5c 64 |er\dimen|100}..\d|
|00004f90| 69 6d 65 6e 31 30 30 3d | 23 34 20 62 70 5c 65 64 |imen100=|#4 bp\ed|
|00004fa0| 65 66 5c 40 70 40 73 62 | 62 75 72 79 7b 5c 6e 75 |ef\@p@sb|bury{\nu|
|00004fb0| 6d 62 65 72 5c 64 69 6d | 65 6e 31 30 30 7d 0a 09 |mber\dim|en100}..|
|00004fc0| 5c 6e 6f 40 62 62 66 61 | 6c 73 65 0a 7d 0a 25 20 |\no@bbfa|lse.}.% |
|00004fd0| 72 6f 74 61 74 65 20 70 | 6f 69 6e 74 20 28 23 31 |rotate p|oint (#1|
|00004fe0| 2c 23 32 29 20 61 62 6f | 75 74 20 28 30 2c 30 29 |,#2) abo|ut (0,0)|
|00004ff0| 2e 0a 25 20 54 68 65 20 | 73 69 6e 65 20 61 6e 64 |..% The |sine and|
|00005000| 20 63 6f 73 69 6e 65 20 | 6f 66 20 74 68 65 20 61 | cosine |of the a|
|00005010| 6e 67 6c 65 20 61 72 65 | 20 61 6c 72 65 61 64 79 |ngle are| already|
|00005020| 20 73 74 6f 72 65 64 20 | 69 6e 20 5c 73 69 6e 65 | stored |in \sine|
|00005030| 20 61 6e 64 0a 25 20 5c | 63 6f 73 69 6e 65 2e 20 | and.% \|cosine. |
|00005040| 20 54 68 65 20 72 65 73 | 75 6c 74 20 69 73 20 70 | The res|ult is p|
|00005050| 6c 61 63 65 64 20 69 6e | 20 28 5c 70 40 69 6e 74 |laced in| (\p@int|
|00005060| 76 61 6c 75 65 78 2c 20 | 5c 70 40 69 6e 74 76 61 |valuex, |\p@intva|
|00005070| 6c 75 65 79 29 2e 0a 5c | 6e 65 77 64 69 6d 65 6e |luey)..\|newdimen|
|00005080| 5c 70 40 69 6e 74 76 61 | 6c 75 65 78 0a 5c 6e 65 |\p@intva|luex.\ne|
|00005090| 77 64 69 6d 65 6e 5c 70 | 40 69 6e 74 76 61 6c 75 |wdimen\p|@intvalu|
|000050a0| 65 79 0a 5c 64 65 66 5c | 72 6f 74 61 74 65 40 23 |ey.\def\|rotate@#|
|000050b0| 31 23 32 7b 7b 5c 64 69 | 6d 65 6e 30 3d 23 31 20 |1#2{{\di|men0=#1 |
|000050c0| 73 70 5c 64 69 6d 65 6e | 31 3d 23 32 20 73 70 0a |sp\dimen|1=#2 sp.|
|000050d0| 25 20 20 20 20 20 20 20 | 20 20 20 20 20 09 63 61 |% | .ca|
|000050e0| 6c 63 75 6c 61 74 65 20 | 78 27 20 3d 20 78 20 5c |lculate |x' = x \|
|000050f0| 63 6f 73 5c 74 68 65 74 | 61 20 2d 20 79 20 5c 73 |cos\thet|a - y \s|
|00005100| 69 6e 5c 74 68 65 74 61 | 0a 09 09 20 20 5c 67 6c |in\theta|... \gl|
|00005110| 6f 62 61 6c 5c 70 40 69 | 6e 74 76 61 6c 75 65 78 |obal\p@i|ntvaluex|
|00005120| 3d 5c 63 6f 73 69 6e 65 | 5c 64 69 6d 65 6e 30 0a |=\cosine|\dimen0.|
|00005130| 09 09 20 20 5c 64 69 6d | 65 6e 33 3d 5c 73 69 6e |.. \dim|en3=\sin|
|00005140| 65 5c 64 69 6d 65 6e 31 | 0a 09 09 20 20 5c 67 6c |e\dimen1|... \gl|
|00005150| 6f 62 61 6c 5c 61 64 76 | 61 6e 63 65 5c 70 40 69 |obal\adv|ance\p@i|
|00005160| 6e 74 76 61 6c 75 65 78 | 20 62 79 20 2d 5c 64 69 |ntvaluex| by -\di|
|00005170| 6d 65 6e 33 0a 25 20 09 | 09 63 61 6c 63 75 6c 61 |men3.% .|.calcula|
|00005180| 74 65 20 79 27 20 3d 20 | 78 20 5c 73 69 6e 5c 74 |te y' = |x \sin\t|
|00005190| 68 65 74 61 20 2b 20 79 | 20 5c 63 6f 73 5c 74 68 |heta + y| \cos\th|
|000051a0| 65 74 61 0a 09 09 20 20 | 5c 67 6c 6f 62 61 6c 5c |eta... |\global\|
|000051b0| 70 40 69 6e 74 76 61 6c | 75 65 79 3d 5c 73 69 6e |p@intval|uey=\sin|
|000051c0| 65 5c 64 69 6d 65 6e 30 | 0a 09 09 20 20 5c 64 69 |e\dimen0|... \di|
|000051d0| 6d 65 6e 33 3d 5c 63 6f | 73 69 6e 65 5c 64 69 6d |men3=\co|sine\dim|
|000051e0| 65 6e 31 0a 09 09 20 20 | 5c 67 6c 6f 62 61 6c 5c |en1... |\global\|
|000051f0| 61 64 76 61 6e 63 65 5c | 70 40 69 6e 74 76 61 6c |advance\|p@intval|
|00005200| 75 65 79 20 62 79 20 5c | 64 69 6d 65 6e 33 0a 09 |uey by \|dimen3..|
|00005210| 09 20 20 7d 7d 0a 5c 64 | 65 66 5c 63 6f 6d 70 75 |. }}.\d|ef\compu|
|00005220| 74 65 40 62 62 7b 0a 09 | 09 5c 6e 6f 40 62 62 66 |te@bb{..|.\no@bbf|
|00005230| 61 6c 73 65 0a 09 09 5c | 69 66 40 62 62 6c 6c 78 |alse...\|if@bbllx|
|00005240| 20 5c 65 6c 73 65 20 5c | 6e 6f 40 62 62 74 72 75 | \else \|no@bbtru|
|00005250| 65 20 5c 66 69 0a 09 09 | 5c 69 66 40 62 62 6c 6c |e \fi...|\if@bbll|
|00005260| 79 20 5c 65 6c 73 65 20 | 5c 6e 6f 40 62 62 74 72 |y \else |\no@bbtr|
|00005270| 75 65 20 5c 66 69 0a 09 | 09 5c 69 66 40 62 62 75 |ue \fi..|.\if@bbu|
|00005280| 72 78 20 5c 65 6c 73 65 | 20 5c 6e 6f 40 62 62 74 |rx \else| \no@bbt|
|00005290| 72 75 65 20 5c 66 69 0a | 09 09 5c 69 66 40 62 62 |rue \fi.|..\if@bb|
|000052a0| 75 72 79 20 5c 65 6c 73 | 65 20 5c 6e 6f 40 62 62 |ury \els|e \no@bb|
|000052b0| 74 72 75 65 20 5c 66 69 | 0a 09 09 5c 69 66 6e 6f |true \fi|...\ifno|
|000052c0| 40 62 62 20 5c 62 62 40 | 6d 69 73 73 69 6e 67 20 |@bb \bb@|missing |
|000052d0| 5c 66 69 0a 09 09 5c 69 | 66 6e 6f 40 62 62 20 5c |\fi...\i|fno@bb \|
|000052e0| 70 73 40 74 79 70 65 6f | 75 74 7b 46 41 54 41 4c |ps@typeo|ut{FATAL|
|000052f0| 20 45 52 52 4f 52 3a 20 | 6e 6f 20 62 62 20 73 75 | ERROR: |no bb su|
|00005300| 70 70 6c 69 65 64 20 6f | 72 20 66 6f 75 6e 64 7d |pplied o|r found}|
|00005310| 0a 09 09 09 5c 6e 6f 2d | 62 62 2d 65 72 72 6f 72 |....\no-|bb-error|
|00005320| 0a 09 09 5c 66 69 0a 09 | 09 25 0a 25 5c 70 73 40 |...\fi..|.%.%\ps@|
|00005330| 74 79 70 65 6f 75 74 7b | 42 42 3a 20 5c 40 70 40 |typeout{|BB: \@p@|
|00005340| 73 62 62 6c 6c 78 2c 20 | 5c 40 70 40 73 62 62 6c |sbbllx, |\@p@sbbl|
|00005350| 6c 79 2c 20 5c 40 70 40 | 73 62 62 75 72 78 2c 20 |ly, \@p@|sbburx, |
|00005360| 5c 40 70 40 73 62 62 75 | 72 79 7d 20 0a 25 0a 25 |\@p@sbbu|ry} .%.%|
|00005370| 20 73 74 6f 72 65 20 68 | 65 69 67 68 74 2f 77 69 | store h|eight/wi|
|00005380| 64 74 68 20 6f 66 20 6f | 72 69 67 69 6e 61 6c 20 |dth of o|riginal |
|00005390| 28 75 6e 72 6f 74 61 74 | 65 64 29 20 62 6f 75 6e |(unrotat|ed) boun|
|000053a0| 64 69 6e 67 20 62 6f 78 | 0a 09 09 5c 63 6f 75 6e |ding box|...\coun|
|000053b0| 74 32 30 33 3d 5c 40 70 | 40 73 62 62 75 72 78 0a |t203=\@p|@sbburx.|
|000053c0| 09 09 5c 63 6f 75 6e 74 | 32 30 34 3d 5c 40 70 40 |..\count|204=\@p@|
|000053d0| 73 62 62 75 72 79 0a 09 | 09 5c 61 64 76 61 6e 63 |sbbury..|.\advanc|
|000053e0| 65 5c 63 6f 75 6e 74 32 | 30 33 20 62 79 20 2d 5c |e\count2|03 by -\|
|000053f0| 40 70 40 73 62 62 6c 6c | 78 0a 09 09 5c 61 64 76 |@p@sbbll|x...\adv|
|00005400| 61 6e 63 65 5c 63 6f 75 | 6e 74 32 30 34 20 62 79 |ance\cou|nt204 by|
|00005410| 20 2d 5c 40 70 40 73 62 | 62 6c 6c 79 0a 09 09 5c | -\@p@sb|blly...\|
|00005420| 65 64 65 66 5c 70 73 40 | 62 62 77 7b 5c 6e 75 6d |edef\ps@|bbw{\num|
|00005430| 62 65 72 5c 63 6f 75 6e | 74 32 30 33 7d 0a 09 09 |ber\coun|t203}...|
|00005440| 5c 65 64 65 66 5c 70 73 | 40 62 62 68 7b 5c 6e 75 |\edef\ps|@bbh{\nu|
|00005450| 6d 62 65 72 5c 63 6f 75 | 6e 74 32 30 34 7d 0a 09 |mber\cou|nt204}..|
|00005460| 09 25 5c 70 73 40 74 79 | 70 65 6f 75 74 7b 20 70 |.%\ps@ty|peout{ p|
|00005470| 73 62 62 68 20 3d 20 5c | 70 73 40 62 62 68 2c 20 |sbbh = \|ps@bbh, |
|00005480| 70 73 62 62 77 20 3d 20 | 5c 70 73 40 62 62 77 20 |psbbw = |\ps@bbw |
|00005490| 7d 0a 09 09 5c 69 66 40 | 61 6e 67 6c 65 20 0a 09 |}...\if@|angle ..|
|000054a0| 09 09 5c 53 69 6e 65 7b | 5c 40 70 40 73 61 6e 67 |..\Sine{|\@p@sang|
|000054b0| 6c 65 7d 5c 43 6f 73 69 | 6e 65 7b 5c 40 70 40 73 |le}\Cosi|ne{\@p@s|
|000054c0| 61 6e 67 6c 65 7d 0a 09 | 20 20 20 20 20 20 20 20 |angle}..| |
|000054d0| 09 7b 5c 64 69 6d 65 6e | 31 30 30 3d 5c 6d 61 78 |.{\dimen|100=\max|
|000054e0| 64 69 6d 65 6e 5c 78 64 | 65 66 5c 72 40 70 40 73 |dimen\xd|ef\r@p@s|
|000054f0| 62 62 6c 6c 78 7b 5c 6e | 75 6d 62 65 72 5c 64 69 |bbllx{\n|umber\di|
|00005500| 6d 65 6e 31 30 30 7d 0a | 09 09 09 09 09 20 20 20 |men100}.|..... |
|00005510| 20 5c 78 64 65 66 5c 72 | 40 70 40 73 62 62 6c 6c | \xdef\r|@p@sbbll|
|00005520| 79 7b 5c 6e 75 6d 62 65 | 72 5c 64 69 6d 65 6e 31 |y{\numbe|r\dimen1|
|00005530| 30 30 7d 0a 09 09 09 20 | 20 20 20 20 20 20 20 20 |00}.... | |
|00005540| 20 20 20 20 20 20 20 20 | 20 20 20 5c 78 64 65 66 | | \xdef|
|00005550| 5c 72 40 70 40 73 62 62 | 75 72 78 7b 2d 5c 6e 75 |\r@p@sbb|urx{-\nu|
|00005560| 6d 62 65 72 5c 64 69 6d | 65 6e 31 30 30 7d 0a 09 |mber\dim|en100}..|
|00005570| 09 09 09 09 20 20 20 20 | 5c 78 64 65 66 5c 72 40 |.... |\xdef\r@|
|00005580| 70 40 73 62 62 75 72 79 | 7b 2d 5c 6e 75 6d 62 65 |p@sbbury|{-\numbe|
|00005590| 72 5c 64 69 6d 65 6e 31 | 30 30 7d 7d 0a 25 0a 25 |r\dimen1|00}}.%.%|
|000055a0| 20 4e 65 65 64 20 74 6f | 20 72 6f 74 61 74 65 20 | Need to| rotate |
|000055b0| 61 6c 6c 20 66 6f 75 72 | 20 70 6f 69 6e 74 73 20 |all four| points |
|000055c0| 61 6e 64 20 74 61 6b 65 | 20 74 68 65 20 58 2d 59 |and take| the X-Y|
|000055d0| 20 65 78 74 72 65 6d 65 | 73 20 6f 66 20 74 68 65 | extreme|s of the|
|000055e0| 20 6e 65 77 0a 25 20 70 | 6f 69 6e 74 73 20 61 73 | new.% p|oints as|
|000055f0| 20 74 68 65 20 6e 65 77 | 20 62 6f 75 6e 64 69 6e | the new| boundin|
|00005600| 67 20 62 6f 78 2e 0a 20 | 20 20 20 20 20 20 20 20 |g box.. | |
|00005610| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 5c | | \|
|00005620| 64 65 66 5c 6d 69 6e 6d | 61 78 74 65 73 74 7b 0a |def\minm|axtest{.|
|00005630| 09 09 09 20 20 20 5c 69 | 66 6e 75 6d 5c 6e 75 6d |... \i|fnum\num|
|00005640| 62 65 72 5c 70 40 69 6e | 74 76 61 6c 75 65 78 3c |ber\p@in|tvaluex<|
|00005650| 5c 72 40 70 40 73 62 62 | 6c 6c 78 0a 09 09 09 20 |\r@p@sbb|llx.... |
|00005660| 20 20 20 20 20 5c 78 64 | 65 66 5c 72 40 70 40 73 | \xd|ef\r@p@s|
|00005670| 62 62 6c 6c 78 7b 5c 6e | 75 6d 62 65 72 5c 70 40 |bbllx{\n|umber\p@|
|00005680| 69 6e 74 76 61 6c 75 65 | 78 7d 5c 66 69 0a 09 09 |intvalue|x}\fi...|
|00005690| 09 20 20 20 5c 69 66 6e | 75 6d 5c 6e 75 6d 62 65 |. \ifn|um\numbe|
|000056a0| 72 5c 70 40 69 6e 74 76 | 61 6c 75 65 78 3e 5c 72 |r\p@intv|aluex>\r|
|000056b0| 40 70 40 73 62 62 75 72 | 78 0a 09 09 09 20 20 20 |@p@sbbur|x.... |
|000056c0| 20 20 20 5c 78 64 65 66 | 5c 72 40 70 40 73 62 62 | \xdef|\r@p@sbb|
|000056d0| 75 72 78 7b 5c 6e 75 6d | 62 65 72 5c 70 40 69 6e |urx{\num|ber\p@in|
|000056e0| 74 76 61 6c 75 65 78 7d | 5c 66 69 0a 09 09 09 20 |tvaluex}|\fi.... |
|000056f0| 20 20 5c 69 66 6e 75 6d | 5c 6e 75 6d 62 65 72 5c | \ifnum|\number\|
|00005700| 70 40 69 6e 74 76 61 6c | 75 65 79 3c 5c 72 40 70 |p@intval|uey<\r@p|
|00005710| 40 73 62 62 6c 6c 79 0a | 09 09 09 20 20 20 20 20 |@sbblly.|... |
|00005720| 20 5c 78 64 65 66 5c 72 | 40 70 40 73 62 62 6c 6c | \xdef\r|@p@sbbll|
|00005730| 79 7b 5c 6e 75 6d 62 65 | 72 5c 70 40 69 6e 74 76 |y{\numbe|r\p@intv|
|00005740| 61 6c 75 65 79 7d 5c 66 | 69 0a 09 09 09 20 20 20 |aluey}\f|i.... |
|00005750| 5c 69 66 6e 75 6d 5c 6e | 75 6d 62 65 72 5c 70 40 |\ifnum\n|umber\p@|
|00005760| 69 6e 74 76 61 6c 75 65 | 79 3e 5c 72 40 70 40 73 |intvalue|y>\r@p@s|
|00005770| 62 62 75 72 79 0a 09 09 | 09 20 20 20 20 20 20 5c |bbury...|. \|
|00005780| 78 64 65 66 5c 72 40 70 | 40 73 62 62 75 72 79 7b |xdef\r@p|@sbbury{|
|00005790| 5c 6e 75 6d 62 65 72 5c | 70 40 69 6e 74 76 61 6c |\number\|p@intval|
|000057a0| 75 65 79 7d 5c 66 69 0a | 09 09 09 20 20 20 7d 0a |uey}\fi.|... }.|
|000057b0| 25 09 09 09 6c 6f 77 65 | 72 20 6c 65 66 74 0a 09 |%...lowe|r left..|
|000057c0| 09 09 5c 72 6f 74 61 74 | 65 40 7b 5c 40 70 40 73 |..\rotat|e@{\@p@s|
|000057d0| 62 62 6c 6c 78 7d 7b 5c | 40 70 40 73 62 62 6c 6c |bbllx}{\|@p@sbbll|
|000057e0| 79 7d 0a 09 09 09 5c 6d | 69 6e 6d 61 78 74 65 73 |y}....\m|inmaxtes|
|000057f0| 74 0a 25 09 09 09 75 70 | 70 65 72 20 6c 65 66 74 |t.%...up|per left|
|00005800| 0a 09 09 09 5c 72 6f 74 | 61 74 65 40 7b 5c 40 70 |....\rot|ate@{\@p|
|00005810| 40 73 62 62 6c 6c 78 7d | 7b 5c 40 70 40 73 62 62 |@sbbllx}|{\@p@sbb|
|00005820| 75 72 79 7d 0a 09 09 09 | 5c 6d 69 6e 6d 61 78 74 |ury}....|\minmaxt|
|00005830| 65 73 74 0a 25 09 09 09 | 6c 6f 77 65 72 20 72 69 |est.%...|lower ri|
|00005840| 67 68 74 0a 09 09 09 5c | 72 6f 74 61 74 65 40 7b |ght....\|rotate@{|
|00005850| 5c 40 70 40 73 62 62 75 | 72 78 7d 7b 5c 40 70 40 |\@p@sbbu|rx}{\@p@|
|00005860| 73 62 62 6c 6c 79 7d 0a | 09 09 09 5c 6d 69 6e 6d |sbblly}.|...\minm|
|00005870| 61 78 74 65 73 74 0a 25 | 09 09 09 75 70 70 65 72 |axtest.%|...upper|
|00005880| 20 72 69 67 68 74 0a 09 | 09 09 5c 72 6f 74 61 74 | right..|..\rotat|
|00005890| 65 40 7b 5c 40 70 40 73 | 62 62 75 72 78 7d 7b 5c |e@{\@p@s|bburx}{\|
|000058a0| 40 70 40 73 62 62 75 72 | 79 7d 0a 09 09 09 5c 6d |@p@sbbur|y}....\m|
|000058b0| 69 6e 6d 61 78 74 65 73 | 74 0a 09 09 09 5c 65 64 |inmaxtes|t....\ed|
|000058c0| 65 66 5c 40 70 40 73 62 | 62 6c 6c 78 7b 5c 72 40 |ef\@p@sb|bllx{\r@|
|000058d0| 70 40 73 62 62 6c 6c 78 | 7d 5c 65 64 65 66 5c 40 |p@sbbllx|}\edef\@|
|000058e0| 70 40 73 62 62 6c 6c 79 | 7b 5c 72 40 70 40 73 62 |p@sbblly|{\r@p@sb|
|000058f0| 62 6c 6c 79 7d 0a 09 09 | 09 5c 65 64 65 66 5c 40 |blly}...|.\edef\@|
|00005900| 70 40 73 62 62 75 72 78 | 7b 5c 72 40 70 40 73 62 |p@sbburx|{\r@p@sb|
|00005910| 62 75 72 78 7d 5c 65 64 | 65 66 5c 40 70 40 73 62 |burx}\ed|ef\@p@sb|
|00005920| 62 75 72 79 7b 5c 72 40 | 70 40 73 62 62 75 72 79 |bury{\r@|p@sbbury|
|00005930| 7d 0a 25 5c 70 73 40 74 | 79 70 65 6f 75 74 7b 72 |}.%\ps@t|ypeout{r|
|00005940| 6f 74 61 74 65 64 20 42 | 42 3a 20 5c 72 40 70 40 |otated B|B: \r@p@|
|00005950| 73 62 62 6c 6c 78 2c 20 | 5c 72 40 70 40 73 62 62 |sbbllx, |\r@p@sbb|
|00005960| 6c 6c 79 2c 20 5c 72 40 | 70 40 73 62 62 75 72 78 |lly, \r@|p@sbburx|
|00005970| 2c 20 5c 72 40 70 40 73 | 62 62 75 72 79 7d 0a 09 |, \r@p@s|bbury}..|
|00005980| 09 5c 66 69 0a 09 09 5c | 63 6f 75 6e 74 32 30 33 |.\fi...\|count203|
|00005990| 3d 5c 40 70 40 73 62 62 | 75 72 78 0a 09 09 5c 63 |=\@p@sbb|urx...\c|
|000059a0| 6f 75 6e 74 32 30 34 3d | 5c 40 70 40 73 62 62 75 |ount204=|\@p@sbbu|
|000059b0| 72 79 0a 09 09 5c 61 64 | 76 61 6e 63 65 5c 63 6f |ry...\ad|vance\co|
|000059c0| 75 6e 74 32 30 33 20 62 | 79 20 2d 5c 40 70 40 73 |unt203 b|y -\@p@s|
|000059d0| 62 62 6c 6c 78 0a 09 09 | 5c 61 64 76 61 6e 63 65 |bbllx...|\advance|
|000059e0| 5c 63 6f 75 6e 74 32 30 | 34 20 62 79 20 2d 5c 40 |\count20|4 by -\@|
|000059f0| 70 40 73 62 62 6c 6c 79 | 0a 09 09 5c 65 64 65 66 |p@sbblly|...\edef|
|00005a00| 5c 40 62 62 77 7b 5c 6e | 75 6d 62 65 72 5c 63 6f |\@bbw{\n|umber\co|
|00005a10| 75 6e 74 32 30 33 7d 0a | 09 09 5c 65 64 65 66 5c |unt203}.|..\edef\|
|00005a20| 40 62 62 68 7b 5c 6e 75 | 6d 62 65 72 5c 63 6f 75 |@bbh{\nu|mber\cou|
|00005a30| 6e 74 32 30 34 7d 0a 09 | 09 25 5c 70 73 40 74 79 |nt204}..|.%\ps@ty|
|00005a40| 70 65 6f 75 74 7b 20 62 | 62 68 20 3d 20 5c 40 62 |peout{ b|bh = \@b|
|00005a50| 62 68 2c 20 62 62 77 20 | 3d 20 5c 40 62 62 77 20 |bh, bbw |= \@bbw |
|00005a60| 7d 0a 7d 0a 25 0a 25 20 | 5c 69 6e 40 68 75 6e 64 |}.}.%.% |\in@hund|
|00005a70| 72 65 64 73 20 70 65 72 | 66 6f 72 6d 73 20 23 31 |reds per|forms #1|
|00005a80| 20 2a 20 28 23 32 20 2f | 20 23 33 29 20 63 6f 72 | * (#2 /| #3) cor|
|00005a90| 72 65 63 74 20 74 6f 20 | 74 68 65 20 68 75 6e 64 |rect to |the hund|
|00005aa0| 72 65 64 73 2c 0a 25 09 | 74 68 65 6e 20 6c 65 61 |reds,.%.|then lea|
|00005ab0| 76 65 73 20 74 68 65 20 | 72 65 73 75 6c 74 20 69 |ves the |result i|
|00005ac0| 6e 20 40 72 65 73 75 6c | 74 0a 25 0a 5c 64 65 66 |n @resul|t.%.\def|
|00005ad0| 5c 69 6e 40 68 75 6e 64 | 72 65 64 73 23 31 23 32 |\in@hund|reds#1#2|
|00005ae0| 23 33 7b 5c 63 6f 75 6e | 74 32 34 30 3d 23 32 20 |#3{\coun|t240=#2 |
|00005af0| 5c 63 6f 75 6e 74 32 34 | 31 3d 23 33 0a 09 09 20 |\count24|1=#3... |
|00005b00| 20 20 20 20 5c 63 6f 75 | 6e 74 31 30 30 3d 5c 63 | \cou|nt100=\c|
|00005b10| 6f 75 6e 74 32 34 30 09 | 25 20 31 30 30 20 69 73 |ount240.|% 100 is|
|00005b20| 20 66 69 72 73 74 20 64 | 69 67 69 74 20 23 32 2f | first d|igit #2/|
|00005b30| 23 33 0a 09 09 20 20 20 | 20 20 5c 64 69 76 69 64 |#3... | \divid|
|00005b40| 65 5c 63 6f 75 6e 74 31 | 30 30 20 62 79 20 5c 63 |e\count1|00 by \c|
|00005b50| 6f 75 6e 74 32 34 31 0a | 09 09 20 20 20 20 20 5c |ount241.|.. \|
|00005b60| 63 6f 75 6e 74 31 30 31 | 3d 5c 63 6f 75 6e 74 31 |count101|=\count1|
|00005b70| 30 30 0a 09 09 20 20 20 | 20 20 5c 6d 75 6c 74 69 |00... | \multi|
|00005b80| 70 6c 79 5c 63 6f 75 6e | 74 31 30 31 20 62 79 20 |ply\coun|t101 by |
|00005b90| 5c 63 6f 75 6e 74 32 34 | 31 0a 09 09 20 20 20 20 |\count24|1... |
|00005ba0| 20 5c 61 64 76 61 6e 63 | 65 5c 63 6f 75 6e 74 32 | \advanc|e\count2|
|00005bb0| 34 30 20 62 79 20 2d 5c | 63 6f 75 6e 74 31 30 31 |40 by -\|count101|
|00005bc0| 0a 09 09 20 20 20 20 20 | 5c 6d 75 6c 74 69 70 6c |... |\multipl|
|00005bd0| 79 5c 63 6f 75 6e 74 32 | 34 30 20 62 79 20 31 30 |y\count2|40 by 10|
|00005be0| 0a 09 09 20 20 20 20 20 | 5c 63 6f 75 6e 74 31 30 |... |\count10|
|00005bf0| 31 3d 5c 63 6f 75 6e 74 | 32 34 30 09 25 31 30 31 |1=\count|240.%101|
|00005c00| 20 69 73 20 73 65 63 6f | 6e 64 20 64 69 67 69 74 | is seco|nd digit|
|00005c10| 20 6f 66 20 23 32 2f 23 | 33 0a 09 09 20 20 20 20 | of #2/#|3... |
|00005c20| 20 5c 64 69 76 69 64 65 | 5c 63 6f 75 6e 74 31 30 | \divide|\count10|
|00005c30| 31 20 62 79 20 5c 63 6f | 75 6e 74 32 34 31 0a 09 |1 by \co|unt241..|
|00005c40| 09 20 20 20 20 20 5c 63 | 6f 75 6e 74 31 30 32 3d |. \c|ount102=|
|00005c50| 5c 63 6f 75 6e 74 31 30 | 31 0a 09 09 20 20 20 20 |\count10|1... |
|00005c60| 20 5c 6d 75 6c 74 69 70 | 6c 79 5c 63 6f 75 6e 74 | \multip|ly\count|
|00005c70| 31 30 32 20 62 79 20 5c | 63 6f 75 6e 74 32 34 31 |102 by \|count241|
|00005c80| 0a 09 09 20 20 20 20 20 | 5c 61 64 76 61 6e 63 65 |... |\advance|
|00005c90| 5c 63 6f 75 6e 74 32 34 | 30 20 62 79 20 2d 5c 63 |\count24|0 by -\c|
|00005ca0| 6f 75 6e 74 31 30 32 0a | 09 09 20 20 20 20 20 5c |ount102.|.. \|
|00005cb0| 6d 75 6c 74 69 70 6c 79 | 5c 63 6f 75 6e 74 32 34 |multiply|\count24|
|00005cc0| 30 20 62 79 20 31 30 0a | 09 09 20 20 20 20 20 5c |0 by 10.|.. \|
|00005cd0| 63 6f 75 6e 74 31 30 32 | 3d 5c 63 6f 75 6e 74 32 |count102|=\count2|
|00005ce0| 34 30 09 25 20 31 30 32 | 20 69 73 20 74 68 65 20 |40.% 102| is the |
|00005cf0| 74 68 69 72 64 20 64 69 | 67 69 74 0a 09 09 20 20 |third di|git... |
|00005d00| 20 20 20 5c 64 69 76 69 | 64 65 5c 63 6f 75 6e 74 | \divi|de\count|
|00005d10| 31 30 32 20 62 79 20 5c | 63 6f 75 6e 74 32 34 31 |102 by \|count241|
|00005d20| 0a 09 09 20 20 20 20 20 | 5c 63 6f 75 6e 74 32 30 |... |\count20|
|00005d30| 30 3d 23 31 5c 63 6f 75 | 6e 74 32 30 35 3d 30 0a |0=#1\cou|nt205=0.|
|00005d40| 09 09 20 20 20 20 20 5c | 63 6f 75 6e 74 32 30 31 |.. \|count201|
|00005d50| 3d 5c 63 6f 75 6e 74 32 | 30 30 0a 09 09 09 5c 6d |=\count2|00....\m|
|00005d60| 75 6c 74 69 70 6c 79 5c | 63 6f 75 6e 74 32 30 31 |ultiply\|count201|
|00005d70| 20 62 79 20 5c 63 6f 75 | 6e 74 31 30 30 0a 09 09 | by \cou|nt100...|
|00005d80| 20 09 5c 61 64 76 61 6e | 63 65 5c 63 6f 75 6e 74 | .\advan|ce\count|
|00005d90| 32 30 35 20 62 79 20 5c | 63 6f 75 6e 74 32 30 31 |205 by \|count201|
|00005da0| 0a 09 09 20 20 20 20 20 | 5c 63 6f 75 6e 74 32 30 |... |\count20|
|00005db0| 31 3d 5c 63 6f 75 6e 74 | 32 30 30 0a 09 09 09 5c |1=\count|200....\|
|00005dc0| 64 69 76 69 64 65 5c 63 | 6f 75 6e 74 32 30 31 20 |divide\c|ount201 |
|00005dd0| 62 79 20 31 30 0a 09 09 | 09 5c 6d 75 6c 74 69 70 |by 10...|.\multip|
|00005de0| 6c 79 5c 63 6f 75 6e 74 | 32 30 31 20 62 79 20 5c |ly\count|201 by \|
|00005df0| 63 6f 75 6e 74 31 30 31 | 0a 09 09 09 5c 61 64 76 |count101|....\adv|
|00005e00| 61 6e 63 65 5c 63 6f 75 | 6e 74 32 30 35 20 62 79 |ance\cou|nt205 by|
|00005e10| 20 5c 63 6f 75 6e 74 32 | 30 31 0a 09 09 09 25 0a | \count2|01....%.|
|00005e20| 09 09 20 20 20 20 20 5c | 63 6f 75 6e 74 32 30 31 |.. \|count201|
|00005e30| 3d 5c 63 6f 75 6e 74 32 | 30 30 0a 09 09 09 5c 64 |=\count2|00....\d|
|00005e40| 69 76 69 64 65 5c 63 6f | 75 6e 74 32 30 31 20 62 |ivide\co|unt201 b|
|00005e50| 79 20 31 30 30 0a 09 09 | 09 5c 6d 75 6c 74 69 70 |y 100...|.\multip|
|00005e60| 6c 79 5c 63 6f 75 6e 74 | 32 30 31 20 62 79 20 5c |ly\count|201 by \|
|00005e70| 63 6f 75 6e 74 31 30 32 | 0a 09 09 09 5c 61 64 76 |count102|....\adv|
|00005e80| 61 6e 63 65 5c 63 6f 75 | 6e 74 32 30 35 20 62 79 |ance\cou|nt205 by|
|00005e90| 20 5c 63 6f 75 6e 74 32 | 30 31 0a 09 09 09 25 0a | \count2|01....%.|
|00005ea0| 09 09 20 20 20 20 20 5c | 65 64 65 66 5c 40 72 65 |.. \|edef\@re|
|00005eb0| 73 75 6c 74 7b 5c 6e 75 | 6d 62 65 72 5c 63 6f 75 |sult{\nu|mber\cou|
|00005ec0| 6e 74 32 30 35 7d 0a 7d | 0a 5c 64 65 66 5c 63 6f |nt205}.}|.\def\co|
|00005ed0| 6d 70 75 74 65 40 77 66 | 72 6f 6d 68 7b 0a 09 09 |mpute@wf|romh{...|
|00005ee0| 25 20 63 6f 6d 70 75 74 | 69 6e 67 20 3a 20 77 69 |% comput|ing : wi|
|00005ef0| 64 74 68 20 3d 20 68 65 | 69 67 68 74 20 2a 20 28 |dth = he|ight * (|
|00005f00| 62 62 77 20 2f 20 62 62 | 68 29 0a 09 09 5c 69 6e |bbw / bb|h)...\in|
|00005f10| 40 68 75 6e 64 72 65 64 | 73 7b 5c 40 70 40 73 68 |@hundred|s{\@p@sh|
|00005f20| 65 69 67 68 74 7d 7b 5c | 40 62 62 77 7d 7b 5c 40 |eight}{\|@bbw}{\@|
|00005f30| 62 62 68 7d 0a 09 09 25 | 5c 70 73 40 74 79 70 65 |bbh}...%|\ps@type|
|00005f40| 6f 75 74 7b 20 5c 40 70 | 40 73 68 65 69 67 68 74 |out{ \@p|@sheight|
|00005f50| 20 2a 20 5c 40 62 62 77 | 20 2f 20 5c 40 62 62 68 | * \@bbw| / \@bbh|
|00005f60| 2c 20 3d 20 5c 40 72 65 | 73 75 6c 74 20 7d 0a 09 |, = \@re|sult }..|
|00005f70| 09 5c 65 64 65 66 5c 40 | 70 40 73 77 69 64 74 68 |.\edef\@|p@swidth|
|00005f80| 7b 5c 40 72 65 73 75 6c | 74 7d 0a 09 09 25 5c 70 |{\@resul|t}...%\p|
|00005f90| 73 40 74 79 70 65 6f 75 | 74 7b 77 20 66 72 6f 6d |s@typeou|t{w from|
|00005fa0| 20 68 3a 20 77 69 64 74 | 68 20 69 73 20 5c 40 70 | h: widt|h is \@p|
|00005fb0| 40 73 77 69 64 74 68 7d | 0a 7d 0a 5c 64 65 66 5c |@swidth}|.}.\def\|
|00005fc0| 63 6f 6d 70 75 74 65 40 | 68 66 72 6f 6d 77 7b 0a |compute@|hfromw{.|
|00005fd0| 09 09 25 20 63 6f 6d 70 | 75 74 69 6e 67 20 3a 20 |..% comp|uting : |
|00005fe0| 68 65 69 67 68 74 20 3d | 20 77 69 64 74 68 20 2a |height =| width *|
|00005ff0| 20 28 62 62 68 20 2f 20 | 62 62 77 29 0a 09 20 20 | (bbh / |bbw).. |
|00006000| 20 20 20 20 20 20 5c 69 | 6e 40 68 75 6e 64 72 65 | \i|n@hundre|
|00006010| 64 73 7b 5c 40 70 40 73 | 77 69 64 74 68 7d 7b 5c |ds{\@p@s|width}{\|
|00006020| 40 62 62 68 7d 7b 5c 40 | 62 62 77 7d 0a 09 09 25 |@bbh}{\@|bbw}...%|
|00006030| 5c 70 73 40 74 79 70 65 | 6f 75 74 7b 20 5c 40 70 |\ps@type|out{ \@p|
|00006040| 40 73 77 69 64 74 68 20 | 2a 20 5c 40 62 62 68 20 |@swidth |* \@bbh |
|00006050| 2f 20 5c 40 62 62 77 20 | 3d 20 5c 40 72 65 73 75 |/ \@bbw |= \@resu|
|00006060| 6c 74 20 7d 0a 09 09 5c | 65 64 65 66 5c 40 70 40 |lt }...\|edef\@p@|
|00006070| 73 68 65 69 67 68 74 7b | 5c 40 72 65 73 75 6c 74 |sheight{|\@result|
|00006080| 7d 0a 09 09 25 5c 70 73 | 40 74 79 70 65 6f 75 74 |}...%\ps|@typeout|
|00006090| 7b 68 20 66 72 6f 6d 20 | 77 20 3a 20 68 65 69 67 |{h from |w : heig|
|000060a0| 68 74 20 69 73 20 5c 40 | 70 40 73 68 65 69 67 68 |ht is \@|p@sheigh|
|000060b0| 74 7d 0a 7d 0a 5c 64 65 | 66 5c 63 6f 6d 70 75 74 |t}.}.\de|f\comput|
|000060c0| 65 40 68 61 6e 64 77 7b | 0a 09 09 5c 69 66 40 68 |e@handw{|...\if@h|
|000060d0| 65 69 67 68 74 20 0a 09 | 09 09 5c 69 66 40 77 69 |eight ..|..\if@wi|
|000060e0| 64 74 68 0a 09 09 09 5c | 65 6c 73 65 0a 09 09 09 |dth....\|else....|
|000060f0| 09 5c 63 6f 6d 70 75 74 | 65 40 77 66 72 6f 6d 68 |.\comput|e@wfromh|
|00006100| 0a 09 09 09 5c 66 69 0a | 09 09 5c 65 6c 73 65 20 |....\fi.|..\else |
|00006110| 0a 09 09 09 5c 69 66 40 | 77 69 64 74 68 0a 09 09 |....\if@|width...|
|00006120| 09 09 5c 63 6f 6d 70 75 | 74 65 40 68 66 72 6f 6d |..\compu|te@hfrom|
|00006130| 77 0a 09 09 09 5c 65 6c | 73 65 0a 09 09 09 09 5c |w....\el|se.....\|
|00006140| 65 64 65 66 5c 40 70 40 | 73 68 65 69 67 68 74 7b |edef\@p@|sheight{|
|00006150| 5c 40 62 62 68 7d 0a 09 | 09 09 09 5c 65 64 65 66 |\@bbh}..|...\edef|
|00006160| 5c 40 70 40 73 77 69 64 | 74 68 7b 5c 40 62 62 77 |\@p@swid|th{\@bbw|
|00006170| 7d 0a 09 09 09 5c 66 69 | 0a 09 09 5c 66 69 0a 7d |}....\fi|...\fi.}|
|00006180| 0a 5c 64 65 66 5c 63 6f | 6d 70 75 74 65 40 72 65 |.\def\co|mpute@re|
|00006190| 73 76 7b 0a 09 09 5c 69 | 66 40 72 68 65 69 67 68 |sv{...\i|f@rheigh|
|000061a0| 74 20 5c 65 6c 73 65 20 | 5c 65 64 65 66 5c 40 70 |t \else |\edef\@p|
|000061b0| 40 73 72 68 65 69 67 68 | 74 7b 5c 40 70 40 73 68 |@srheigh|t{\@p@sh|
|000061c0| 65 69 67 68 74 7d 20 5c | 66 69 0a 09 09 5c 69 66 |eight} \|fi...\if|
|000061d0| 40 72 77 69 64 74 68 20 | 5c 65 6c 73 65 20 5c 65 |@rwidth |\else \e|
|000061e0| 64 65 66 5c 40 70 40 73 | 72 77 69 64 74 68 7b 5c |def\@p@s|rwidth{\|
|000061f0| 40 70 40 73 77 69 64 74 | 68 7d 20 5c 66 69 0a 09 |@p@swidt|h} \fi..|
|00006200| 09 25 5c 70 73 40 74 79 | 70 65 6f 75 74 7b 72 68 |.%\ps@ty|peout{rh|
|00006210| 65 69 67 68 74 20 3d 20 | 5c 40 70 40 73 72 68 65 |eight = |\@p@srhe|
|00006220| 69 67 68 74 2c 20 72 77 | 69 64 74 68 20 3d 20 5c |ight, rw|idth = \|
|00006230| 40 70 40 73 72 77 69 64 | 74 68 7d 0a 7d 0a 25 09 |@p@srwid|th}.}.%.|
|00006240| 09 0a 25 20 43 6f 6d 70 | 75 74 65 20 61 6e 79 20 |..% Comp|ute any |
|00006250| 6d 69 73 73 69 6e 67 20 | 76 61 6c 75 65 73 0a 5c |missing |values.\|
|00006260| 64 65 66 5c 63 6f 6d 70 | 75 74 65 40 73 69 7a 65 |def\comp|ute@size|
|00006270| 73 7b 0a 09 5c 63 6f 6d | 70 75 74 65 40 62 62 0a |s{..\com|pute@bb.|
|00006280| 09 5c 69 66 40 73 63 61 | 6c 65 66 69 72 73 74 5c |.\if@sca|lefirst\|
|00006290| 69 66 40 61 6e 67 6c 65 | 0a 25 20 61 74 20 74 68 |if@angle|.% at th|
|000062a0| 69 73 20 70 6f 69 6e 74 | 20 74 68 65 20 62 6f 75 |is point| the bou|
|000062b0| 6e 64 69 6e 67 20 62 6f | 78 20 68 61 73 20 62 65 |nding bo|x has be|
|000062c0| 65 6e 20 61 64 6a 73 75 | 74 65 64 20 63 6f 72 72 |en adjsu|ted corr|
|000062d0| 65 63 74 6c 79 20 66 6f | 72 0a 25 20 72 6f 74 61 |ectly fo|r.% rota|
|000062e0| 74 69 6f 6e 2e 20 20 50 | 53 46 49 47 20 64 6f 65 |tion. P|SFIG doe|
|000062f0| 73 20 61 6c 6c 20 6f 66 | 20 69 74 73 20 73 63 61 |s all of| its sca|
|00006300| 6c 69 6e 67 20 75 73 69 | 6e 67 20 5c 40 62 62 68 |ling usi|ng \@bbh|
|00006310| 20 61 6e 64 20 5c 40 62 | 62 77 2e 20 20 49 66 0a | and \@b|bw. If.|
|00006320| 25 20 61 20 77 69 64 74 | 68 3d 20 6f 72 20 68 65 |% a widt|h= or he|
|00006330| 69 67 68 74 3d 20 77 61 | 73 20 73 70 65 63 69 66 |ight= wa|s specif|
|00006340| 69 65 64 20 61 6c 6f 6e | 67 20 77 69 74 68 20 5c |ied alon|g with \|
|00006350| 70 73 73 63 61 6c 65 66 | 69 72 73 74 2c 20 74 68 |psscalef|irst, th|
|00006360| 65 6e 20 74 68 65 0a 25 | 20 77 69 64 74 68 3d 2f |en the.%| width=/|
|00006370| 68 65 69 67 68 74 3d 20 | 76 61 6c 75 65 20 6e 65 |height= |value ne|
|00006380| 65 64 73 20 74 6f 20 62 | 65 20 61 64 6a 75 73 74 |eds to b|e adjust|
|00006390| 65 64 20 74 6f 20 6d 61 | 74 63 68 20 74 68 65 20 |ed to ma|tch the |
|000063a0| 6e 65 77 20 28 72 6f 74 | 61 74 65 64 29 0a 25 20 |new (rot|ated).% |
|000063b0| 62 6f 75 6e 64 69 6e 67 | 20 62 6f 78 20 73 69 7a |bounding| box siz|
|000063c0| 65 20 28 73 70 65 63 69 | 66 65 64 20 69 6e 20 5c |e (speci|fed in \|
|000063d0| 40 62 62 77 20 61 6e 64 | 20 5c 40 62 62 68 29 2e |@bbw and| \@bbh).|
|000063e0| 0a 25 20 20 20 20 5c 70 | 73 40 62 62 77 20 20 20 |.% \p|s@bbw |
|000063f0| 20 20 20 20 77 69 64 74 | 68 3d 0a 25 20 20 20 20 | widt|h=.% |
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.