summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/base/symb-imp-nav.mkiv
blob: 6e2f2c1f0348fe45af473469f8916af2fac1bfa6 (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
%D \module
%D   [       file=symb-nav,
%D        version=1998.07.20,
%D          title=\CONTEXT\ Symbol Libraries,
%D       subtitle=Navigational Symbols,
%D         author=Hans Hagen,
%D           date=\currentdate,
%D      copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.

\unprotect

\definesymbol [\v!first]           [\symbol{\v!firstpage}]
\definesymbol [\v!previous]        [\symbol{\v!previouspage}]
\definesymbol [\v!next]            [\symbol{\v!nextpage}]
\definesymbol [\v!last]            [\symbol{\v!lastpage}]
\definesymbol [\v!backward]        [\symbol{\v!previouspage}]
\definesymbol [\v!forward]         [\symbol{\v!nextpage}]
\definesymbol [\v!nowhere]         [\symbol{bullet}]
\definesymbol [\v!somewhere]       [\startoverlay{\symbol\v!previouspage}{\symbol\v!nextpage}\stopoverlay]

\definefontsynonym [ContextNavigation] [contnav]

\def\ContextNavigationGlyph{\getnamedglyphdirect{ContextNavigation}} % #1

\startsymbolset [navigation 1]

    \definesymbol [\v!firstpage]       [\ContextNavigationGlyph{char03}]
    \definesymbol [\v!previouspage]    [\ContextNavigationGlyph{char01}]
    \definesymbol [\v!nextpage]        [\ContextNavigationGlyph{char02}]
    \definesymbol [\v!lastpage]        [\ContextNavigationGlyph{char04}]

    \definesymbol [\v!PreviousJump]    [\ContextNavigationGlyph{char05}]
    \definesymbol [\v!NextJump]        [\ContextNavigationGlyph{char06}]

    \definesymbol [\v!CloseDocument]   [\ContextNavigationGlyph{char07}]

    \definesymbol [\v!firstsubpage]    [\ContextNavigationGlyph{char03}]
    \definesymbol [\v!previoussubpage] [\ContextNavigationGlyph{char01}]
    \definesymbol [\v!nextsubpage]     [\ContextNavigationGlyph{char02}]
    \definesymbol [\v!lastsubpage]     [\ContextNavigationGlyph{char04}]

    \definesymbol [\v!StartSound]      [\ContextNavigationGlyph{char02}]
    \definesymbol [\v!PauseSound]      [\ContextNavigationGlyph{char08}]
    \definesymbol [\v!StopSound]       [\ContextNavigationGlyph{char07}]

    \definesymbol [\v!StartMovie]      [\ContextNavigationGlyph{char02}]
    \definesymbol [\v!PauseMovie]      [\ContextNavigationGlyph{char08}]
    \definesymbol [\v!StopMovie]       [\ContextNavigationGlyph{char07}]

    \definesymbol [\v!StartRendering]  [\ContextNavigationGlyph{char02}]
    \definesymbol [\v!PauseRendering]  [\ContextNavigationGlyph{char08}]
    \definesymbol [\v!StopRendering]   [\ContextNavigationGlyph{char07}]
    \definesymbol [\v!ResumeRendering] [\ContextNavigationGlyph{char02}]

\stopsymbolset

\startsymbolset [navigation 2]

    \definesymbol [\v!firstpage]       [\ContextNavigationGlyph{char67}]
    \definesymbol [\v!previouspage]    [\ContextNavigationGlyph{char65}]
    \definesymbol [\v!nextpage]        [\ContextNavigationGlyph{char66}]
    \definesymbol [\v!lastpage]        [\ContextNavigationGlyph{char68}]

    \definesymbol [\v!PreviousJump]    [\ContextNavigationGlyph{char69}]
    \definesymbol [\v!NextJump]        [\ContextNavigationGlyph{char6a}]

    \definesymbol [\v!CloseDocument]   [\ContextNavigationGlyph{char6b}]

    \definesymbol [\v!firstsubpage]    [\ContextNavigationGlyph{char67}]
    \definesymbol [\v!previoussubpage] [\ContextNavigationGlyph{char65}]
    \definesymbol [\v!nextsubpage]     [\ContextNavigationGlyph{char66}]
    \definesymbol [\v!lastsubpage]     [\ContextNavigationGlyph{char68}]

    \definesymbol [\v!StartSound]      [\ContextNavigationGlyph{char66}]
    \definesymbol [\v!PauseSound]      [\ContextNavigationGlyph{char6c}]
    \definesymbol [\v!StopSound]       [\ContextNavigationGlyph{char6b}]

    \definesymbol [\v!StartMovie]      [\ContextNavigationGlyph{char66}]
    \definesymbol [\v!PauseMovie]      [\ContextNavigationGlyph{char6c}]
    \definesymbol [\v!StopMovie]       [\ContextNavigationGlyph{char6b}]

    \definesymbol [\v!StartRendering]  [\ContextNavigationGlyph{char66}]
    \definesymbol [\v!PauseRendering]  [\ContextNavigationGlyph{char6c}]
    \definesymbol [\v!StopRendering]   [\ContextNavigationGlyph{char6b}]
    \definesymbol [\v!ResumeRendering] [\ContextNavigationGlyph{char66}]

\stopsymbolset

\startsymbolset [navigation 3]

    \definesymbol [\v!firstpage]       [\ContextNavigationGlyph{charcb}]
    \definesymbol [\v!previouspage]    [\ContextNavigationGlyph{charc9}]
    \definesymbol [\v!nextpage]        [\ContextNavigationGlyph{charca}]
    \definesymbol [\v!lastpage]        [\ContextNavigationGlyph{charcc}]

    \definesymbol [\v!PreviousJump]    [\ContextNavigationGlyph{charcd}]
    \definesymbol [\v!NextJump]        [\ContextNavigationGlyph{charce}]

    \definesymbol [\v!CloseDocument]   [\ContextNavigationGlyph{charcf}]

    \definesymbol [\v!firstsubpage]    [\ContextNavigationGlyph{charcb}]
    \definesymbol [\v!previoussubpage] [\ContextNavigationGlyph{charc9}]
    \definesymbol [\v!nextsubpage]     [\ContextNavigationGlyph{charca}]
    \definesymbol [\v!lastsubpage]     [\ContextNavigationGlyph{charcc}]

    \definesymbol [\v!StartSound]      [\ContextNavigationGlyph{charca}]
    \definesymbol [\v!PauseSound]      [\ContextNavigationGlyph{chard0}]
    \definesymbol [\v!StopSound]       [\ContextNavigationGlyph{charcf}]

    \definesymbol [\v!StartMovie]      [\ContextNavigationGlyph{charca}]
    \definesymbol [\v!PauseMovie]      [\ContextNavigationGlyph{chard0}]
    \definesymbol [\v!StopMovie]       [\ContextNavigationGlyph{charcf}]

    \definesymbol [\v!StartRendering]  [\ContextNavigationGlyph{charca}]
    \definesymbol [\v!PauseRendering]  [\ContextNavigationGlyph{chard0}]
    \definesymbol [\v!StopRendering]   [\ContextNavigationGlyph{charcf}]
    \definesymbol [\v!ResumeRendering] [\ContextNavigationGlyph{charca}]

\stopsymbolset

%D \showsymbolset[navigation 1]
%D \showsymbolset[navigation 2]
%D \showsymbolset[navigation 3]

\protect \endinput