Debian Codegraph @

utils/tpic2pdftex/beamerexample.pic

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 .PS
13 [
14 boxwid=0.8; boxht=0.2
15 ellipsewid=0.8; ellipseht=0.25
16 down
17 A:ellipse "{\ttfamily foo.tex}"
18 arrow 0.2 at A.s
19 B:box "tex"
20 [
21 right
22 ellipse wid 1.2*ellipsewid "{\ttfamily $\ast$.tfm}"
23 arrow 0.2
24 ] with .e at B.w
25 arrow 0.2 at B.s
26 C:ellipse "{\ttfamily foo.dvi}"
27 \only<2-3>{%
28 arrow 0.2
29 D:box "dvips"
30 Q:[
31 D: ellipse wid 1.2*ellipsewid "{\ttfamily $\ast$.vf}, {\ttfamily $\ast$.tfm}"
32 move 0.1
33 E: ellipse ht 0.8 wid 1.2*ellipsewid "{\ttfamily psfonts.map}" \
34 "{\ttfamily $\ast$.enc}, {\ttfamily $\ast$.pfb}"
35 ] with .e at D.w - (0.2,0)
36 spline -> right 0.05 from Q.D.e to D.nw
37 spline -> right 0.05 from Q.E.e to D.sw
38 arrow down 0.2 at D.s
39 ellipse "{\ttfamily foo.ps}"
40 \relax}%
41 \only<3>{%
42 arrow 0.2
43 X:box "ps2pdf"
44 arrow 0.2
45 ellipse "{\ttfamily foo.pdf}"
46 \relax}%
47 \only<4-| handout:0>{%
48 arrow 0.2 at C.s
49 D1:box "dvipdfm\textcolor{black!50}{x}"
50 Q1:[
51 D: ellipse wid 1.2*ellipsewid "{\ttfamily $\ast$.vf}, {\ttfamily $\ast$.tfm}"
52 move 0.1
53 E: ellipse ht 0.8 wid 1.2*ellipsewid "{\ttfamily psfonts.map}" \
54 "{\ttfamily $\ast$.enc}, {\ttfamily $\ast$.pfb}"
55 ] with .e at D.w - (0.2,0)
56 spline -> right 0.05 from Q1.D.e to D1.nw
57 spline -> right 0.05 from Q1.E.e to D1.sw
58 arrow down 0.2 at D1.s
59 ellipse "{\ttfamily foo.pdf}"
60 \relax}%
61 \only<5->{%
62 move right 2.2 at A.n
63 down
64 ellipse "{\ttfamily foo.tex}"
65 arrow 0.2
66 P:box ht (B.n.y - D1.s.y) "pdftex"
67 [
68 right
69 ellipse wid 1.2*ellipsewid "{\ttfamily $\ast$.vf}, {\ttfamily $\ast$.tfm}"
70 arrow 0.2
71 ] with .e at (P.w.x,Q.D.y)
72 RR:[
73 A:ellipse ht 0.8 wid 1.2*ellipsewid "{\ttfamily pdftex.map}" \
74 "{\ttfamily $\ast$.enc}, {\ttfamily $\ast$.pfb}"
75 ] with .e at (P.w.x - 0.2,Q.E.y)
76 spline -> right 0.05 from RR.A.e to P.sw
77 down
78 arrow 0.2 at P.s
79 ellipse "{\ttfamily foo.pdf}"
80 ]
81 \relax}%
82 .PE
83
84 \centering
85 \leavevmode\gpicbox{graph}
86 }
87
88 \end{document}