Update copyright year to 2014 by running admin/update-copyright.
[emacs.git] / doc / lispintro / cons-2a.eps
blob847d02ba9606fe8c9134573553090b89e27326d5
1 %!PS-Adobe-3.0 EPSF-3.0
2 %%BoundingBox: 15 702 300 767
3 %%Title: cons-cell-diagram2a
4 %%CreationDate: Tue Mar 14 15:09:30 1995
5 %%Creator: Tgif-2.16-p4 by William Chia-Wei Cheng (william@cs.UCLA.edu)
7 % Copyright (C) 1995, 1997, 2001-2014 Free Software Foundation, Inc.
9 % This file is part of GNU Emacs.
11 % GNU Emacs is free software: you can redistribute it and/or modify
12 % it under the terms of the GNU General Public License as published by
13 % the Free Software Foundation, either version 3 of the License, or
14 % (at your option) any later version.
16 % GNU Emacs is distributed in the hope that it will be useful,
17 % but WITHOUT ANY WARRANTY; without even the implied warranty of
18 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19 % GNU General Public License for more details.
21 % You should have received a copy of the GNU General Public License
22 % along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
24 /tgifdict 132 dict def
25 tgifdict begin
28 %       Using a zero value radius for an ellipse or an arc would result
29 %               in a non-invertible CTM matrix which causes problem when this
30 %               when this PostScript is wrapped inside other routines, such as
31 %               the multi.ps package from
32 %               ftp.ucc.su.oz.au:/pub/ps_printing/multi.  You can overcome such
33 %               error by uncommenting the sole line of the procedure below:
35 /tgif_min_radius
36  {
37 %    dup 0.01 lt { pop 0.01 } if
38  } bind def
40 /tgifellipsedict 6 dict def
41 tgifellipsedict /mtrx matrix put
43 /tgifellipse
44  { tgifellipsedict begin
45       /yrad exch def
46       /xrad exch def
47       /y exch def
48       /x exch def
49       /savematrix mtrx currentmatrix def
50       x y translate
51       xrad yrad scale
52       0 0 1 0 360 arc
53       savematrix setmatrix
54    end
55  } def
57 /tgifarrowtipdict 8 dict def
58 tgifarrowtipdict /mtrx matrix put
60 /tgifarrowtip
61  { tgifarrowtipdict begin
62       /dy exch def
63       /dx exch def
64       /h exch def
65       /w exch def
66       /y exch def
67       /x exch def
68       /savematrix mtrx currentmatrix def
69       x y translate
70       dy dx atan rotate
71       0 0 moveto
72       w neg h lineto
73       w neg h neg lineto
74       savematrix setmatrix
75    end
76  } def
78 /tgifarcdict 8 dict def
79 tgifarcdict /mtrx matrix put
81 /tgifarcn
82  { tgifarcdict begin
83       /endangle exch def
84       /startangle exch def
85       /yrad exch def
86       /xrad exch def
87       /y exch def
88       /x exch def
89       /savematrix mtrx currentmatrix def
90       x y translate
91       xrad yrad scale
92       0 0 1 startangle endangle arc
93       savematrix setmatrix
94    end
95  } def
97 /tgifarc
98  { tgifarcdict begin
99       /endangle exch def
100       /startangle exch def
101       /yrad exch def
102       /xrad exch def
103       /y exch def
104       /x exch def
105       /savematrix mtrx currentmatrix def
106       x y translate
107       xrad yrad scale
108       0 0 1 startangle endangle arcn
109       savematrix setmatrix
110    end
111  } def
113 /tgifsetuserscreendict 22 dict def
114 tgifsetuserscreendict begin
115    /tempctm matrix def
116    /temprot matrix def
117    /tempscale matrix def
119    /concatprocs
120     { /proc2 exch cvlit def
121       /proc1 exch cvlit def
122       /newproc proc1 length proc2 length add array def
123       newproc 0 proc1 putinterval
124       newproc proc1 length proc2 putinterval
125       newproc cvx
126     } def
127    /resmatrix matrix def
128    /findresolution
129     { 72 0 resmatrix defaultmatrix dtransform
130       /yres exch def /xres exch def
131       xres dup mul yres dup mul add sqrt
132     } def
135 /tgifsetuserscreen
136  { tgifsetuserscreendict begin
137       /spotfunction exch def
138       /screenangle exch def
139       /cellsize exch def
141       /m tempctm currentmatrix def
142       /rm screenangle temprot rotate def
143       /sm cellsize dup tempscale scale def
145       sm rm m m concatmatrix m concatmatrix pop
147       1 0 m dtransform /y1 exch def /x1 exch def
149       /veclength x1 dup mul y1 dup mul add sqrt def
150       /frequency findresolution veclength div def
152       /newscreenangle y1 x1 atan def
154       m 2 get m 1 get mul m 0 get m 3 get mul sub 0 gt
156       {{neg} /spotfunction load concatprocs
157          /spotfunction exch def
158       } if
160       frequency newscreenangle /spotfunction load setscreen
161    end
162  } def
164 /tgifsetpatterndict 18 dict def
165 tgifsetpatterndict begin
166    /bitison
167     { /ybit exch def /xbit exch def
168       /bytevalue bstring ybit bwidth mul xbit 8 idiv add get def
170       /mask 1 7 xbit 8 mod sub bitshift def
171       bytevalue mask and 0 ne
172     } def
175 /tgifbitpatternspotfunction
176  { tgifsetpatterndict begin
177       /y exch def /x exch def
179       /xindex x 1 add 2 div bpside mul cvi def
180       /yindex y 1 add 2 div bpside mul cvi def
182       xindex yindex bitison
183        { /onbits onbits 1 add def 1 }
184        { /offbits offbits 1 add def 0 }
185        ifelse
186    end
187  } def
189 /tgifsetpattern
190  { tgifsetpatterndict begin
191       /cellsz exch def
192       /angle exch def
193       /bwidth exch def
194       /bpside exch def
195       /bstring exch def
197       /onbits 0 def /offbits 0 def
198       cellsz angle /tgifbitpatternspotfunction load tgifsetuserscreen
199       {} settransfer
200       offbits offbits onbits add div setgray
201    end
202  } def
204 /tgifxpmdict 4 dict def
205 /tgifbwpicstr 1 string def
206 /tgifcolorpicstr 3 string def
208 /tgifsetpixels { tgifxpmdict begin /pixels exch def end } def
210 /tgifsetpix { tgifxpmdict begin pixels 3 1 roll putinterval end } def
212 /tgifbwspot
213  { tgifxpmdict begin
214       /index exch def
215       tgifbwpicstr 0
216       pixels index 3 mul 3 getinterval aload pop
217       255 mul .114 mul exch 255 mul .587 mul add exch 255 mul .299 mul add
218       cvi put
219       tgifbwpicstr
220    end
221  } def
223 /tgifcolorspot
224  { tgifxpmdict begin
225       /index exch def
226       pixels index 3 mul 3 getinterval aload pop
227       255 mul cvi tgifcolorpicstr 2 3 -1 roll put
228       255 mul cvi tgifcolorpicstr 1 3 -1 roll put
229       255 mul cvi tgifcolorpicstr 0 3 -1 roll put
230       tgifcolorpicstr
231    end
232  } def
234 /tgifnewcolorspot
235  { tgifxpmdict begin
236       /index exch def
237       pixels index 3 mul 3 getinterval aload pop setrgbcolor
238    end
239  } def
241 /tgifcolordict 4 dict def
243 /colorimage where
244  { pop }
245  { /colorimage
246    { tgifcolordict begin
247         pop pop pop pop pop
248         /ih exch def
249         /iw exch def
250         /x 0 def
251         /y 0 def
252         1 1 ih
253          { pop 1 1 iw
254             { pop currentfile
255               tgifbwpicstr readhexstring pop 0 get tgifnewcolorspot
256               x y moveto 1 0 rlineto 0 1 rlineto -1 0 rlineto
257               closepath fill
258               /x x 1 add def
259             } for
260            /y y 1 add def
261            /x 0 def
262          } for
263      end
264    } def
265  } ifelse
267 /tgifpatdict 10 dict def
269 /tgifpatbyte
270  { currentdict /retstr get exch
271    pat i cellsz mod get put
272  } def
274 /tgifpatproc
275  { 0 1 widthlim {tgifpatbyte} for retstr
276    /i i 1 add def
277  } def
279 /tgifpatfill
280  { tgifpatdict begin
281       /h exch def
282       /w exch def
283       /lty exch def
284       /ltx exch def
285       /cellsz exch def
286       /pat exch def
288       /widthlim w cellsz div cvi 1 sub def
289       /retstr widthlim 1 add string def
290       /i 0 def
292       ltx lty translate
293       w h true [1 0 0 1 0 0] {tgifpatproc} imagemask
294       ltx neg lty neg translate
295    end
296  } def
298 /pat1 <ffffffffffffffff> def
299 /pat2 <0000000000000000> def
300 /pat3 <8000000008000000> def
301 /pat4 <8800000022000000> def
302 /pat5 <8800220088002200> def
303 /pat6 <8822882288228822> def
304 /pat7 <aa55aa55aa55aa55> def
305 /pat8 <77dd77dd77dd77dd> def
306 /pat9 <77ffddff77ffddff> def
307 /pat10 <77ffffff77ffffff> def
308 /pat11 <7fffffff7fffffff> def
309 /pat12 <8040200002040800> def
310 /pat13 <40a00000040a0000> def
311 /pat14 <ff888888ff888888> def
312 /pat15 <ff808080ff080808> def
313 /pat16 <f87422478f172271> def
314 /pat17 <038448300c020101> def
315 /pat18 <081c22c180010204> def
316 /pat19 <8080413e080814e3> def
317 /pat20 <8040201008040201> def
318 /pat21 <8844221188442211> def
319 /pat22 <77bbddee77bbddee> def
320 /pat23 <c1e070381c0e0783> def
321 /pat24 <7fbfdfeff7fbfdfe> def
322 /pat25 <3e1f8fc7e3f1f87c> def
323 /pat26 <0102040810204080> def
324 /pat27 <1122448811224488> def
325 /pat28 <eeddbb77eeddbb77> def
326 /pat29 <83070e1c3870e0c1> def
327 /pat30 <fefdfbf7efdfbf7f> def
328 /pat31 <7cf8f1e3c78f1f3e> def
330 /tgifcentertext { dup stringwidth pop 2 div neg 0 rmoveto } def
332 /tgifrighttext { dup stringwidth pop neg 0 rmoveto } def
334 /tgifreencsmalldict 12 dict def
335 /tgifReEncodeSmall
336  { tgifreencsmalldict begin
337       /newcodesandnames exch def
338       /newfontname exch def
339       /basefontname exch def
341       /basefontdict basefontname findfont def
342       /newfont basefontdict maxlength dict def
344       basefontdict
345       { exch dup /FID ne
346          { dup /Encoding eq
347             { exch dup length array copy newfont 3 1 roll put }
348             { exch newfont 3 1 roll put }
349             ifelse
350          }
351          { pop pop }
352          ifelse
353       }
354       forall
356       newfont /FontName newfontname put
357       newcodesandnames aload pop
359       newcodesandnames length 2 idiv
360       { newfont /Encoding get 3 1 roll put}
361       repeat
363       newfontname newfont definefont pop
364    end
365  } def
367 /tgifgray { 8 1 0 72 300 32 div div tgifsetpattern } bind def
369 /tgifboxdict 6 dict def
370 /tgifboxstroke
371  { tgifboxdict begin
372       /pat def /w def /y2 exch def /x2 exch def /y1 exch def /x1 exch def
373       1.415 setmiterlimit
374       w 1 eq { w setlinewidth } if
375       pat pat1 ne pat pat2 ne and { gsave pat tgifgray } if
376       newpath x1 y1 moveto x2 y1 lineto x2 y2 lineto x1 y2 lineto closepath
377       pat pat2 eq { 1 setgray stroke 0 setgray } { stroke } ifelse
378       pat pat1 ne pat pat2 ne and { grestore } if
379       w 1 eq { 1 setlinewidth } if
380       1 setmiterlimit
381    end
382  } def
383 /tgifboxfill
384  { tgifboxdict begin
385       /pat def /y2 exch def /x2 exch def /y1 exch def /x1 exch def
386       pat pat1 ne pat pat2 ne and { gsave pat tgifgray } if
387       newpath x1 y1 moveto x2 y1 lineto x2 y2 lineto x1 y2 lineto closepath
388       pat pat2 eq { 1 setgray fill 0 setgray } { fill } ifelse
389       pat pat1 ne pat pat2 ne and { grestore } if
390    end
391  } def
395 %%PageBoundingBox: 15 702 300 767
396 tgifdict begin
397 /tgifsavedpage save def
399 1 setmiterlimit
400 1 setlinewidth
402 0 setgray
404 72 0 mul 72 11.00 mul translate
405 72 128 div 100 mul 100 div dup neg scale
407 gsave
409 % TEXT
410 0 setgray
411 /Courier findfont [17 0 0 -17 0 0] makefont setfont
412    gsave
413       32 62 moveto (bouquet) show
414    grestore
416 % POLY/OPEN-SPLINE
417 gsave
418    newpath
419       64 80 moveto
420       64 120 lineto
421       0 49 atan dup cos 8 mul 113 exch sub
422       exch sin 8 mul 120 exch sub lineto
423    stroke
424 grestore
425 gsave
426    newpath
427       113 120 8 3 49 0 tgifarrowtip
428    closepath fill
429 grestore
431 % TEXT
432 0 setgray
433 /Courier findfont [17 0 0 -17 0 0] makefont setfont
434    gsave
435       128 110 moveto (car) show
436    grestore
438 % TEXT
439 0 setgray
440 /Courier findfont [17 0 0 -17 0 0] makefont setfont
441    gsave
442       128 142 moveto (rose) show
443    grestore
445 % TEXT
446 0 setgray
447 /Courier findfont [17 0 0 -17 0 0] makefont setfont
448    gsave
449       192 110 moveto (cdr) show
450    grestore
452 % OVAL
453 gsave
454    newpath 207 124 4 4 tgifellipse stroke
455 grestore
457 % POLY/OPEN-SPLINE
458 gsave
459    newpath
460       217 123 moveto
461       0 38 atan dup cos 8 mul 255 exch sub
462       exch sin 8 mul 123 exch sub lineto
463    stroke
464 grestore
465 gsave
466    newpath
467       255 123 8 3 38 0 tgifarrowtip
468    closepath fill
469 grestore
471 % TEXT
472 0 setgray
473 /Courier findfont [17 0 0 -17 0 0] makefont setfont
474    gsave
475       268 111 moveto (car) show
476    grestore
478 % TEXT
479 0 setgray
480 /Courier findfont [17 0 0 -17 0 0] makefont setfont
481    gsave
482       264 143 moveto (violet) show
483    grestore
485 % TEXT
486 0 setgray
487 /Courier findfont [17 0 0 -17 0 0] makefont setfont
488    gsave
489       332 111 moveto (cdr) show
490    grestore
492 % OVAL
493 gsave
494    newpath 347 125 4 4 tgifellipse stroke
495 grestore
497 % POLY/OPEN-SPLINE
498 gsave
499    newpath
500       357 124 moveto
501       0 38 atan dup cos 8 mul 395 exch sub
502       exch sin 8 mul 124 exch sub lineto
503    stroke
504 grestore
505 gsave
506    newpath
507       395 124 8 3 38 0 tgifarrowtip
508    closepath fill
509 grestore
511 % TEXT
512 0 setgray
513 /Courier findfont [17 0 0 -17 0 0] makefont setfont
514    gsave
515       408 112 moveto (car) show
516    grestore
518 % TEXT
519 0 setgray
520 /Courier findfont [17 0 0 -17 0 0] makefont setfont
521    gsave
522       408 136 moveto (butter-) show
523       408 153 moveto (cup) show
524    grestore
526 % TEXT
527 0 setgray
528 /Courier findfont [17 0 0 -17 0 0] makefont setfont
529    gsave
530       496 113 moveto (cdr) show
531    grestore
533 % TEXT
534 0 setgray
535 /Courier findfont [17 0 0 -17 0 0] makefont setfont
536    gsave
537       495 137 moveto (nil) show
538    grestore
540 % POLY/OPEN-SPLINE
541 gsave
542    newpath
543       178 86 moveto
544       178 157 lineto
545    stroke
546 grestore
548 % POLY/OPEN-SPLINE
549 gsave
550    newpath
551       485 84 moveto
552       485 157 lineto
553    stroke
554 grestore
556 % POLY/OPEN-SPLINE
557 gsave
558    newpath
559       327 85 moveto
560       327 157 lineto
561    stroke
562 grestore
564 % BOX
565 gsave
566    1.415 setmiterlimit
567    newpath
568       120 86 moveto 234 86 lineto 234 157 lineto 120 157 lineto
569    closepath stroke
570    1 setmiterlimit
571 grestore
573 % BOX
574 gsave
575    1.415 setmiterlimit
576    newpath
577       257 85 moveto 371 85 lineto 371 157 lineto 257 157 lineto
578    closepath stroke
579    1 setmiterlimit
580 grestore
582 % BOX
583 gsave
584    1.415 setmiterlimit
585    newpath
586       397 84 moveto 531 84 lineto 531 157 lineto 397 157 lineto
587    closepath stroke
588    1 setmiterlimit
589 grestore
591 grestore
592 tgifsavedpage restore
594 %MatchingCreationDate: Tue Mar 14 15:09:30 1995