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