summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/pdftex/manual/pdftex-i.tex
blob: 28036649bc766ed1984c6a7e001c4453fdc50c85 (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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
%$Id: pdftex-i.tex 635 2010-11-14 19:15:12Z karl $

\pdfmapline{+contnav ContextNavigation <contnav.pfb}
\startmode[screen]

\setuppapersize
  [S6][S6]

\setuplayout
  [topspace=20pt,
   backspace=40pt,
   width=520pt,
   height=390pt,
   lines=29,
   header=0pt,
   footer=0pt,
   bottomdistance=10pt,
   bottom=20pt,
   leftmargin=30pt,
   leftmargindistance=10pt,
   rightmargin=0pt,
   rightedge=27.5pt,
   rightedgedistance=7.5pt]

\setupcolors
  [state=start]

\setupbackgrounds
  [page]
  [background=color,
   backgroundcolor=ColorP]

\setupbackgrounds
  [text][text]
  [backgroundoffset=2.5pt,
   background=color,
   backgroundcolor=ColorT]

\definecolor [ColorT] [s=.85]
\definecolor [ColorP] [r=.3,g=.4,b=.5]
\definecolor [ColorI] [r=.95,g=.95,b=0]

\setupinteraction
  [state=start,
   menu=on,
   color=ColorP,
   contrastcolor=ColorP]

\setupfootnotedefinition
  [location=serried,
   width=fit]

\setuptabulate
  [rulecolor=ColorP]

\setupfootnotes
  [rulecolor=ColorP]

\setupinteractionmenu
  [right,bottom]
  [state=start,
   color=ColorI,
   contrastcolor=ColorI,
   style=bold,
   frame=off]

\setuplist
  [chapter,section]
  [pagenumber=off]

\startinteractionmenu[right]
  \bodyfontsize=20pt
  \but [firstpage]    \rotate[rotation=270]{\symbol[firstpage]}    \\
  \but [lastpage]     \rotate[rotation=270]{\symbol[lastpage]}     \\ \vfill
  \but [previouspage] \rotate[rotation=270]{\symbol[previouspage]} \\
  \but [nextpage]     \rotate[rotation=270]{\symbol[nextpage]}     \\ \vfill
  \but [PreviousJump] \rotate[rotation=270]{\symbol[PreviousJump]} \\
  \but [NextJump]     \rotate[rotation=270]{\symbol[NextJump]}     \\
\stopinteractionmenu

\startinteractionmenu[bottom]
  \but [contents]       content                  \\ \hfill
  \but [paperversion::] The pdf\TeX\ user manual \\ \hfill
  \but [CloseDocument]  exit                     \\
\stopinteractionmenu

\setuphead
  [section,subsection,subsubsection,pdftexprimitive,subject]
  [textcolor=ColorP,
   numbercolor=ColorT]

\def\SubSub#1{\mathematics{\color[ColorT]{\blacktriangleright}}}

\useexternaldocument[paperversion][pdftex-a]

\coupledocument
  [paperversion]
  [pdftex-a]
  [section,subsection,subsubsection,pdftexprimitive]
  [the paper version]

\setuphead
  [section,subsection,subsubsection,pdftexprimitive]
  [file=paperversion]

\stopmode

\startbuffer[screen]

\setupbackgrounds [page] [background={color,content}]
\defineoverlay [content] [\overlaybutton{contents}]
\setupinteraction [menu=off]

\startstandardmakeup
  \setupalign[middle]
  \startcolor[ColorP]
  \definefont[test][TitleFont at 130pt] \test \setupinterlinespace
  \strut PDF\kern.1em\TeX
  \definefont[test][TitleFont at  60pt] \test \setupinterlinespace
  \vfill
  users manual
  \vfill
  \definefont[test][TitleFont at  15pt] \test \setupinterlinespace
  \leavevmode
  \gotobox{\strut \underbar{H\`an Th\^e Th\`anh}}[url(thanh)]\quad
  \gotobox{\strut Sebastian Rahtz}[url(sebastian)]\quad
  \gotobox{\strut Hans Hagen}[url(hans)]\quad
  \gotobox{\strut Hartmut Henkel}[url(hartmut)]
  \vfill
  \stopcolor
\stopstandardmakeup

\setupinteraction [menu=on]
\setupbackgrounds [page] [background=color]

\stopbuffer