summaryrefslogtreecommitdiff
path: root/graphics/tpic2pdftex/beamerexample.pic
blob: 558bfaaaf121f1dace0101940c7c18f313cf6245 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
%$Id: beamerexample.pic,v 1.3 2004/04/13 21:36:47 hahe Exp hahe $
\documentclass{beamer}
\beamertemplatenavigationsymbolsempty
\newcommand\gpicbox[1]{\vbox{\unvcopy\csname #1\endcsname\kern0pt}}
%***********************************************************************
\begin{document}

\section{PDF File Generation}

\frame{
\frametitle{How a PDF File is generated\ldots}
.PS
[
  boxwid=0.8; boxht=0.2
  ellipsewid=0.8; ellipseht=0.25
  down
  A:ellipse "{\ttfamily foo.tex}"
  arrow 0.2 at A.s
  B:box "tex"
    [
    right
    ellipse wid 1.2*ellipsewid "{\ttfamily $\ast$.tfm}"
    arrow 0.2
    ] with .e at B.w
  arrow 0.2 at B.s
  C:ellipse "{\ttfamily foo.dvi}"
\only<2-3>{%
  arrow 0.2
  D:box "dvips"
    Q:[
    D: ellipse wid 1.2*ellipsewid "{\ttfamily $\ast$.vf}, {\ttfamily $\ast$.tfm}"
    move 0.1
    E: ellipse ht 0.8 wid 1.2*ellipsewid "{\ttfamily psfonts.map}" \
                      "{\ttfamily $\ast$.enc}, {\ttfamily $\ast$.pfb}"
    ] with .e at D.w - (0.2,0)
  spline -> right 0.05 from Q.D.e to D.nw
  spline -> right 0.05 from Q.E.e to D.sw
  arrow down 0.2 at D.s
  ellipse "{\ttfamily foo.ps}"
\relax}%
\only<3>{%
  arrow 0.2
  X:box "ps2pdf"
  arrow 0.2
  ellipse "{\ttfamily foo.pdf}"
\relax}%
\only<4-| handout:0>{%
  arrow 0.2 at C.s
  D1:box "dvipdfm\textcolor{black!50}{x}"
    Q1:[
    D: ellipse wid 1.2*ellipsewid "{\ttfamily $\ast$.vf}, {\ttfamily $\ast$.tfm}"
    move 0.1
    E: ellipse ht 0.8 wid 1.2*ellipsewid "{\ttfamily psfonts.map}" \
                      "{\ttfamily $\ast$.enc}, {\ttfamily $\ast$.pfb}"
    ] with .e at D.w - (0.2,0)
  spline -> right 0.05 from Q1.D.e to D1.nw
  spline -> right 0.05 from Q1.E.e to D1.sw
  arrow down 0.2 at D1.s
  ellipse "{\ttfamily foo.pdf}"
\relax}%
\only<5->{%
  move right 2.2 at A.n
  down
  ellipse "{\ttfamily foo.tex}"
  arrow 0.2
  P:box ht (B.n.y - D1.s.y) "pdftex"
    [
    right
    ellipse wid 1.2*ellipsewid "{\ttfamily $\ast$.vf}, {\ttfamily $\ast$.tfm}"
    arrow 0.2
    ] with .e at (P.w.x,Q.D.y)
    RR:[
    A:ellipse ht 0.8 wid 1.2*ellipsewid "{\ttfamily pdftex.map}" \
                      "{\ttfamily $\ast$.enc}, {\ttfamily $\ast$.pfb}"
    ] with .e at (P.w.x - 0.2,Q.E.y)
  spline -> right 0.05 from RR.A.e to P.sw
  down
  arrow 0.2 at P.s
  ellipse "{\ttfamily foo.pdf}"
]
\relax}%
.PE

\centering
\leavevmode\gpicbox{graph}
}

\end{document}