Debian Codegraph @

utils/tpic2pdftex/beamerexample.exp

raw
1 %$Id: beamerexample.pic,v 1.3 2004/04/13 21:36:47 hahe Exp hahe $
2 \documentclass{beamer}
3 \beamertemplatenavigationsymbolsempty
4 \newcommand\gpicbox[1]{\vbox{\unvcopy\csname #1\endcsname\kern0pt}}
5 %***********************************************************************
6 \begin{document}
7
8 \section{PDF File Generation}
9
10 \frame{
11 \frametitle{How a PDF File is generated\ldots}
12 \expandafter\ifx\csname graph\endcsname\relax
13 \csname newbox\expandafter\endcsname\csname graph\endcsname
14 \fi
15 \ifx\graphtemp\undefined
16 \csname newdimen\endcsname\graphtemp
17 \fi
18 \expandafter\setbox\csname graph\endcsname
19 =\vtop{\vskip 0pt\hbox{%
20 \pdfliteral{
21 q [] 0 d 1 J 1 j
22 0.576 w
23 0.576 w
24 141.12 -9 m
25 141.12 -13.970563 128.225801 -18 112.32 -18 c
26 96.414199 -18 83.52 -13.970563 83.52 -9 c
27 83.52 -4.029437 96.414199 0 112.32 0 c
28 128.225801 0 141.12 -4.029437 141.12 -9 c
29 S
30 Q
31 }%
32 \graphtemp=.5ex
33 \advance\graphtemp by 0.125in
34 \rlap{\kern 1.560in\lower\graphtemp\hbox to 0pt{\hss {\ttfamily foo.tex}\hss}}%
35 \pdfliteral{
36 q [] 0 d 1 J 1 j
37 0.576 w
38 0.072 w
39 q 0 g
40 114.12 -25.2 m
41 112.32 -32.4 l
42 110.52 -25.2 l
43 114.12 -25.2 l
44 B Q
45 0.576 w
46 112.32 -18 m
47 112.32 -25.2 l
48 S
49 83.52 -46.8 m
50 141.12 -46.8 l
51 141.12 -32.4 l
52 83.52 -32.4 l
53 83.52 -46.8 l
54 S
55 Q
56 }%
57 \graphtemp=.5ex
58 \advance\graphtemp by 0.550in
59 \rlap{\kern 1.560in\lower\graphtemp\hbox to 0pt{\hss tex\hss}}%
60 \pdfliteral{
61 q [] 0 d 1 J 1 j
62 0.576 w
63 69.12 -39.6 m
64 69.12 -44.570563 53.646961 -48.6 34.56 -48.6 c
65 15.473039 -48.6 0 -44.570563 0 -39.6 c
66 0 -34.629437 15.473039 -30.6 34.56 -30.6 c
67 53.646961 -30.6 69.12 -34.629437 69.12 -39.6 c
68 S
69 Q
70 }%
71 \graphtemp=.5ex
72 \advance\graphtemp by 0.550in
73 \rlap{\kern 0.480in\lower\graphtemp\hbox to 0pt{\hss {\ttfamily $\ast$.tfm}\hss}}%
74 \pdfliteral{
75 q [] 0 d 1 J 1 j
76 0.576 w
77 0.072 w
78 q 0 g
79 76.32 -37.8 m
80 83.52 -39.6 l
81 76.32 -41.4 l
82 76.32 -37.8 l
83 B Q
84 0.576 w
85 69.12 -39.6 m
86 76.32 -39.6 l
87 S
88 0.072 w
89 q 0 g
90 114.12 -54 m
91 112.32 -61.2 l
92 110.52 -54 l
93 114.12 -54 l
94 B Q
95 0.576 w
96 112.32 -46.8 m
97 112.32 -54 l
98 S
99 141.12 -70.2 m
100 141.12 -75.170563 128.225801 -79.2 112.32 -79.2 c
101 96.414199 -79.2 83.52 -75.170563 83.52 -70.2 c
102 83.52 -65.229437 96.414199 -61.2 112.32 -61.2 c
103 128.225801 -61.2 141.12 -65.229437 141.12 -70.2 c
104 S
105 Q
106 }%
107 \graphtemp=.5ex
108 \advance\graphtemp by 0.975in
109 \rlap{\kern 1.560in\lower\graphtemp\hbox to 0pt{\hss {\ttfamily foo.dvi}\hss}}%
110 \only<2-3>{%%
111 \pdfliteral{
112 q [] 0 d 1 J 1 j
113 0.576 w
114 0.072 w
115 q 0 g
116 114.12 -86.4 m
117 112.32 -93.6 l
118 110.52 -86.4 l
119 114.12 -86.4 l
120 B Q
121 0.576 w
122 112.32 -79.2 m
123 112.32 -86.4 l
124 S
125 83.52 -108 m
126 141.12 -108 l
127 141.12 -93.6 l
128 83.52 -93.6 l
129 83.52 -108 l
130 S
131 Q
132 }%
133 \graphtemp=.5ex
134 \advance\graphtemp by 1.400in
135 \rlap{\kern 1.560in\lower\graphtemp\hbox to 0pt{\hss dvips\hss}}%
136 \pdfliteral{
137 q [] 0 d 1 J 1 j
138 0.576 w
139 69.12 -68.4 m
140 69.12 -73.370563 53.646961 -77.4 34.56 -77.4 c
141 15.473039 -77.4 0 -73.370563 0 -68.4 c
142 0 -63.429437 15.473039 -59.4 34.56 -59.4 c
143 53.646961 -59.4 69.12 -63.429437 69.12 -68.4 c
144 S
145 Q
146 }%
147 \graphtemp=.5ex
148 \advance\graphtemp by 0.950in
149 \rlap{\kern 0.480in\lower\graphtemp\hbox to 0pt{\hss {\ttfamily $\ast$.vf}, {\ttfamily $\ast$.tfm}\hss}}%
150 \pdfliteral{
151 q [] 0 d 1 J 1 j
152 0.576 w
153 69.12 -113.4 m
154 69.12 -129.305801 53.646961 -142.2 34.56 -142.2 c
155 15.473039 -142.2 0 -129.305801 0 -113.4 c
156 0 -97.494199 15.473039 -84.6 34.56 -84.6 c
157 53.646961 -84.6 69.12 -97.494199 69.12 -113.4 c
158 S
159 Q
160 }%
161 \graphtemp=\baselineskip
162 \multiply\graphtemp by -1
163 \divide\graphtemp by 2
164 \advance\graphtemp by .5ex
165 \advance\graphtemp by 1.575in
166 \rlap{\kern 0.480in\lower\graphtemp\hbox to 0pt{\hss {\ttfamily psfonts.map}\hss}}%
167 \graphtemp=\baselineskip
168 \multiply\graphtemp by 1
169 \divide\graphtemp by 2
170 \advance\graphtemp by .5ex
171 \advance\graphtemp by 1.575in
172 \rlap{\kern 0.480in\lower\graphtemp\hbox to 0pt{\hss {\ttfamily $\ast$.enc}, {\ttfamily $\ast$.pfb}\hss}}%
173 \pdfliteral{
174 q [] 0 d 1 J 1 j
175 0.576 w
176 0.072 w
177 q 0 g
178 82.368 -86.256 m
179 83.52 -93.6 l
180 79.056 -87.696 l
181 82.368 -86.256 l
182 B Q
183 0.576 w
184 69.12 -68.4 m
185 70.92 -68.4 l
186 72.144 -68.4 74.40192 -72.32832 77.976 -80.676 c
187 83.232 -92.952 l
188 S
189 0.072 w
190 q 0 g
191 76.248 -109.584 m
192 83.52 -108 l
193 77.904 -112.824 l
194 76.248 -109.584 l
195 B Q
196 0.576 w
197 69.12 -113.4 m
198 70.92 -113.4 l
199 72.144 -113.4 74.34432 -112.58208 77.796 -110.844 c
200 82.872 -108.288 l
201 S
202 0.072 w
203 q 0 g
204 114.12 -115.2 m
205 112.32 -122.4 l
206 110.52 -115.2 l
207 114.12 -115.2 l
208 B Q
209 0.576 w
210 112.32 -108 m
211 112.32 -115.2 l
212 S
213 141.12 -131.4 m
214 141.12 -136.370563 128.225801 -140.4 112.32 -140.4 c
215 96.414199 -140.4 83.52 -136.370563 83.52 -131.4 c
216 83.52 -126.429437 96.414199 -122.4 112.32 -122.4 c
217 128.225801 -122.4 141.12 -126.429437 141.12 -131.4 c
218 S
219 Q
220 }%
221 \graphtemp=.5ex
222 \advance\graphtemp by 1.825in
223 \rlap{\kern 1.560in\lower\graphtemp\hbox to 0pt{\hss {\ttfamily foo.ps}\hss}}%
224 \relax}%%
225 \only<3>{%%
226 \pdfliteral{
227 q [] 0 d 1 J 1 j
228 0.576 w
229 0.072 w
230 q 0 g
231 114.12 -147.6 m
232 112.32 -154.8 l
233 110.52 -147.6 l
234 114.12 -147.6 l
235 B Q
236 0.576 w
237 112.32 -140.4 m
238 112.32 -147.6 l
239 S
240 83.52 -169.2 m
241 141.12 -169.2 l
242 141.12 -154.8 l
243 83.52 -154.8 l
244 83.52 -169.2 l
245 S
246 Q
247 }%
248 \graphtemp=.5ex
249 \advance\graphtemp by 2.250in
250 \rlap{\kern 1.560in\lower\graphtemp\hbox to 0pt{\hss ps2pdf\hss}}%
251 \pdfliteral{
252 q [] 0 d 1 J 1 j
253 0.576 w
254 0.072 w
255 q 0 g
256 114.12 -176.4 m
257 112.32 -183.6 l
258 110.52 -176.4 l
259 114.12 -176.4 l
260 B Q
261 0.576 w
262 112.32 -169.2 m
263 112.32 -176.4 l
264 S
265 141.12 -192.6 m
266 141.12 -197.570563 128.225801 -201.6 112.32 -201.6 c
267 96.414199 -201.6 83.52 -197.570563 83.52 -192.6 c
268 83.52 -187.629437 96.414199 -183.6 112.32 -183.6 c
269 128.225801 -183.6 141.12 -187.629437 141.12 -192.6 c
270 S
271 Q
272 }%
273 \graphtemp=.5ex
274 \advance\graphtemp by 2.675in
275 \rlap{\kern 1.560in\lower\graphtemp\hbox to 0pt{\hss {\ttfamily foo.pdf}\hss}}%
276 \relax}%%
277 \only<4-| handout:0>{%%
278 \pdfliteral{
279 q [] 0 d 1 J 1 j
280 0.576 w
281 0.072 w
282 q 0 g
283 114.12 -86.4 m
284 112.32 -93.6 l
285 110.52 -86.4 l
286 114.12 -86.4 l
287 B Q
288 0.576 w
289 112.32 -79.2 m
290 112.32 -86.4 l
291 S
292 83.52 -108 m
293 141.12 -108 l
294 141.12 -93.6 l
295 83.52 -93.6 l
296 83.52 -108 l
297 S
298 Q
299 }%
300 \graphtemp=.5ex
301 \advance\graphtemp by 1.400in
302 \rlap{\kern 1.560in\lower\graphtemp\hbox to 0pt{\hss dvipdfm\textcolor{black!50}{x}\hss}}%
303 \pdfliteral{
304 q [] 0 d 1 J 1 j
305 0.576 w
306 69.12 -68.4 m
307 69.12 -73.370563 53.646961 -77.4 34.56 -77.4 c
308 15.473039 -77.4 0 -73.370563 0 -68.4 c
309 0 -63.429437 15.473039 -59.4 34.56 -59.4 c
310 53.646961 -59.4 69.12 -63.429437 69.12 -68.4 c
311 S
312 Q
313 }%
314 \graphtemp=.5ex
315 \advance\graphtemp by 0.950in
316 \rlap{\kern 0.480in\lower\graphtemp\hbox to 0pt{\hss {\ttfamily $\ast$.vf}, {\ttfamily $\ast$.tfm}\hss}}%
317 \pdfliteral{
318 q [] 0 d 1 J 1 j
319 0.576 w
320 69.12 -113.4 m
321 69.12 -129.305801 53.646961 -142.2 34.56 -142.2 c
322 15.473039 -142.2 0 -129.305801 0 -113.4 c
323 0 -97.494199 15.473039 -84.6 34.56 -84.6 c
324 53.646961 -84.6 69.12 -97.494199 69.12 -113.4 c
325 S
326 Q
327 }%
328 \graphtemp=\baselineskip
329 \multiply\graphtemp by -1
330 \divide\graphtemp by 2
331 \advance\graphtemp by .5ex
332 \advance\graphtemp by 1.575in
333 \rlap{\kern 0.480in\lower\graphtemp\hbox to 0pt{\hss {\ttfamily psfonts.map}\hss}}%
334 \graphtemp=\baselineskip
335 \multiply\graphtemp by 1
336 \divide\graphtemp by 2
337 \advance\graphtemp by .5ex
338 \advance\graphtemp by 1.575in
339 \rlap{\kern 0.480in\lower\graphtemp\hbox to 0pt{\hss {\ttfamily $\ast$.enc}, {\ttfamily $\ast$.pfb}\hss}}%
340 \pdfliteral{
341 q [] 0 d 1 J 1 j
342 0.576 w
343 0.072 w
344 q 0 g
345 82.368 -86.256 m
346 83.52 -93.6 l
347 79.056 -87.696 l
348 82.368 -86.256 l
349 B Q
350 0.576 w
351 69.12 -68.4 m
352 70.92 -68.4 l
353 72.144 -68.4 74.40192 -72.32832 77.976 -80.676 c
354 83.232 -92.952 l
355 S
356 0.072 w
357 q 0 g
358 76.248 -109.584 m
359 83.52 -108 l
360 77.904 -112.824 l
361 76.248 -109.584 l
362 B Q
363 0.576 w
364 69.12 -113.4 m
365 70.92 -113.4 l
366 72.144 -113.4 74.34432 -112.58208 77.796 -110.844 c
367 82.872 -108.288 l
368 S
369 0.072 w
370 q 0 g
371 114.12 -115.2 m
372 112.32 -122.4 l
373 110.52 -115.2 l
374 114.12 -115.2 l
375 B Q
376 0.576 w
377 112.32 -108 m
378 112.32 -115.2 l
379 S
380 141.12 -131.4 m
381 141.12 -136.370563 128.225801 -140.4 112.32 -140.4 c
382 96.414199 -140.4 83.52 -136.370563 83.52 -131.4 c
383 83.52 -126.429437 96.414199 -122.4 112.32 -122.4 c
384 128.225801 -122.4 141.12 -126.429437 141.12 -131.4 c
385 S
386 Q
387 }%
388 \graphtemp=.5ex
389 \advance\graphtemp by 1.825in
390 \rlap{\kern 1.560in\lower\graphtemp\hbox to 0pt{\hss {\ttfamily foo.pdf}\hss}}%
391 \relax}%%
392 \only<5->{%%
393 \pdfliteral{
394 q [] 0 d 1 J 1 j
395 0.576 w
396 299.52 -9 m
397 299.52 -13.970563 286.625801 -18 270.72 -18 c
398 254.814199 -18 241.92 -13.970563 241.92 -9 c
399 241.92 -4.029437 254.814199 0 270.72 0 c
400 286.625801 0 299.52 -4.029437 299.52 -9 c
401 S
402 Q
403 }%
404 \graphtemp=.5ex
405 \advance\graphtemp by 0.125in
406 \rlap{\kern 3.760in\lower\graphtemp\hbox to 0pt{\hss {\ttfamily foo.tex}\hss}}%
407 \pdfliteral{
408 q [] 0 d 1 J 1 j
409 0.576 w
410 0.072 w
411 q 0 g
412 272.52 -25.2 m
413 270.72 -32.4 l
414 268.92 -25.2 l
415 272.52 -25.2 l
416 B Q
417 0.576 w
418 270.72 -18 m
419 270.72 -25.2 l
420 S
421 241.92 -108 m
422 299.52 -108 l
423 299.52 -32.4 l
424 241.92 -32.4 l
425 241.92 -108 l
426 S
427 Q
428 }%
429 \graphtemp=.5ex
430 \advance\graphtemp by 0.975in
431 \rlap{\kern 3.760in\lower\graphtemp\hbox to 0pt{\hss pdftex\hss}}%
432 \pdfliteral{
433 q [] 0 d 1 J 1 j
434 0.576 w
435 227.52 -68.4 m
436 227.52 -73.370563 212.046961 -77.4 192.96 -77.4 c
437 173.873039 -77.4 158.4 -73.370563 158.4 -68.4 c
438 158.4 -63.429437 173.873039 -59.4 192.96 -59.4 c
439 212.046961 -59.4 227.52 -63.429437 227.52 -68.4 c
440 S
441 Q
442 }%
443 \graphtemp=.5ex
444 \advance\graphtemp by 0.950in
445 \rlap{\kern 2.680in\lower\graphtemp\hbox to 0pt{\hss {\ttfamily $\ast$.vf}, {\ttfamily $\ast$.tfm}\hss}}%
446 \pdfliteral{
447 q [] 0 d 1 J 1 j
448 0.576 w
449 0.072 w
450 q 0 g
451 234.72 -66.6 m
452 241.92 -68.4 l
453 234.72 -70.2 l
454 234.72 -66.6 l
455 B Q
456 0.576 w
457 227.52 -68.4 m
458 234.72 -68.4 l
459 S
460 227.52 -113.4 m
461 227.52 -129.305801 212.046961 -142.2 192.96 -142.2 c
462 173.873039 -142.2 158.4 -129.305801 158.4 -113.4 c
463 158.4 -97.494199 173.873039 -84.6 192.96 -84.6 c
464 212.046961 -84.6 227.52 -97.494199 227.52 -113.4 c
465 S
466 Q
467 }%
468 \graphtemp=\baselineskip
469 \multiply\graphtemp by -1
470 \divide\graphtemp by 2
471 \advance\graphtemp by .5ex
472 \advance\graphtemp by 1.575in
473 \rlap{\kern 2.680in\lower\graphtemp\hbox to 0pt{\hss {\ttfamily pdftex.map}\hss}}%
474 \graphtemp=\baselineskip
475 \multiply\graphtemp by 1
476 \divide\graphtemp by 2
477 \advance\graphtemp by .5ex
478 \advance\graphtemp by 1.575in
479 \rlap{\kern 2.680in\lower\graphtemp\hbox to 0pt{\hss {\ttfamily $\ast$.enc}, {\ttfamily $\ast$.pfb}\hss}}%
480 \pdfliteral{
481 q [] 0 d 1 J 1 j
482 0.576 w
483 0.072 w
484 q 0 g
485 234.648 -109.584 m
486 241.92 -108 l
487 236.304 -112.824 l
488 234.648 -109.584 l
489 B Q
490 0.576 w
491 227.52 -113.4 m
492 229.32 -113.4 l
493 230.544 -113.4 232.74432 -112.58208 236.196 -110.844 c
494 241.272 -108.288 l
495 S
496 0.072 w
497 q 0 g
498 272.52 -115.2 m
499 270.72 -122.4 l
500 268.92 -115.2 l
501 272.52 -115.2 l
502 B Q
503 0.576 w
504 270.72 -108 m
505 270.72 -115.2 l
506 S
507 299.52 -131.4 m
508 299.52 -136.370563 286.625801 -140.4 270.72 -140.4 c
509 254.814199 -140.4 241.92 -136.370563 241.92 -131.4 c
510 241.92 -126.429437 254.814199 -122.4 270.72 -122.4 c
511 286.625801 -122.4 299.52 -126.429437 299.52 -131.4 c
512 S
513 Q
514 }%
515 \graphtemp=.5ex
516 \advance\graphtemp by 1.825in
517 \rlap{\kern 3.760in\lower\graphtemp\hbox to 0pt{\hss {\ttfamily foo.pdf}\hss}}%
518 \relax}%%
519 \hbox{\vrule depth2.800in width0pt height 0pt}%
520 \kern 4.160in
521 }%
522 }%
523
524 \centering
525 \leavevmode\gpicbox{graph}
526 }
527
528 \end{document}