summaryrefslogtreecommitdiff
path: root/tex/context/base/unic-000.tex
blob: 3f226f3261041b701a98916ee5a0898ace10c80f (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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
%D \module
%D   [       file=unic-000,
%D        version=2002.12.03,
%D          title=\CONTEXT\ \UNICODE\ Macros,
%D       subtitle=Vector 0,
%D         author=Hans Hagen,
%D           date=\currentdate,
%D      copyright={PRAGMA / Hans Hagen \& Ton Otten}]
%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

\startunicodevector 0
  \ifcase\numexpr(#1-159)
    \@@unknownchar\or
    \@@unknownchar\or % NO-BREAK SPACE
    exclamdown\or
    textcent\or
    textsterling\or
    textcurrency\or
    textyen\or
    textbrokenbar\or
    sectionmark\or
    textdiaeresis\or
    copyright\or
    ordfeminine\or    %  FEMININE ORDINAL INDICATOR
    leftguillemot\or %  LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
    textlognot\or
    softhyphen\or
    registered\or
    textmacron\or
    textdegree\or
    textpm\or
    twosuperior\or %  SUPERSCRIPT TWO
    threesuperior\or %  SUPERSCRIPT THREE
    textacute\or
    textmu\or %  MICRO SIGN
    paragraphmark\or %  PILCROW SIGN
    periodcentered\or %  MIDDLE DOT
    textcedilla\or
    onesuperior\or %  SUPERSCRIPT ONE
    ordmasculine\or   %  MASCULINE ORDINAL INDICATOR
    rightguillemot\or %  RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
    onequarter\or %  VULGAR FRACTION ONE QUARTER
    onehalf\or %  VULGAR FRACTION ONE HALF
    threequarters\or %  VULGAR FRACTION THREE QUARTERS
    questiondown\or
    Agrave\or
    Aacute\or
    Acircumflex\or
    Atilde\or
    Adiaeresis\or
    Aring\or
    AEligature\or
    Ccedilla\or
    Egrave\or
    Eacute\or
    Ecircumflex\or
    Ediaeresis\or
    Igrave\or
    Iacute\or
    Icircumflex\or
    Idiaeresis\or
    Eth\or % Eth\or
    Ntilde\or
    Ograve\or
    Oacute\or
    Ocircumflex\or
    Otilde\or
    Odiaeresis\or
    textmultiply\or
    Ostroke\or
    Ugrave\or
    Uacute\or
    Ucircumflex\or
    Udiaeresis\or
    Yacute\or
    Thorn\or
    ssharp\or
    agrave\or
    aacute\or
    acircumflex\or
    atilde\or
    adiaeresis\or
    aring\or
    aeligature\or
    ccedilla\or
    egrave\or
    eacute\or
    ecircumflex\or
    ediaeresis\or
    igrave\or
    iacute\or
    icircumflex\or
    idiaeresis\or
    eth\or % eth\or
    ntilde\or
    ograve\or
    oacute\or
    ocircumflex\or
    ohungarumlaut\or
    odiaeresis\or
    textdiv\or
    ostroke\or
    ugrave\or
    uacute\or
    ucircumflex\or
    udiaeresis\or
    yacute\or
    thorn\or
    ydiaeresis\else
    \@@unknownchar
  \fi
\stopunicodevector

% 20\% faster:

\startunicodevector 0
  \expandafter\strippedcsname
  \ifcase\numexpr(#1-159) % space needed, terminates expr
    \unknownchar       \or
    \nonbreakablespace \or
    \exclamdown        \or
    \textcent          \or
    \textsterling      \or
    \textcurrency      \or
    \textyen           \or
    \textbrokenbar     \or
    \sectionmark       \or
    \textdiaeresis     \or
    \copyright         \or
    \ordfeminine       \or %  FEMININE ORDINAL INDICATOR
    \leftguillemot     \or %  LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
    \textlognot        \or
    \softhyphen        \or
    \registered        \or
    \textmacron        \or
    \textdegree        \or
    \textpm            \or
    \twosuperior       \or
    \threesuperior     \or
    \textacute         \or
    \textmu            \or %  MICRO SIGN
    \paragraphmark     \or %  PILCROW SIGN
    \periodcentered    \or
    \textcedilla       \or
    \onesuperior       \or
    \ordmasculine      \or %  MASCULINE ORDINAL INDICATOR
    \rightguillemot    \or %  RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
    \onequarter        \or
    \onehalf           \or
    \threequarter      \or
    \questiondown      \or
    \Agrave            \or
    \Aacute            \or
    \Acircumflex       \or
    \Atilde            \or
    \Adiaeresis        \or
    \Aring             \or
    \AEligature        \or
    \Ccedilla          \or
    \Egrave            \or
    \Eacute            \or
    \Ecircumflex       \or
    \Ediaeresis        \or
    \Igrave            \or
    \Iacute            \or
    \Icircumflex       \or
    \Idiaeresis        \or
    \Eth               \or % \Eth \or
    \Ntilde            \or
    \Ograve            \or
    \Oacute            \or
    \Ocircumflex       \or
    \Otilde            \or
    \Odiaeresis        \or
    \textmultiply      \or
    \Ostroke           \or
    \Ugrave            \or
    \Uacute            \or
    \Ucircumflex       \or
    \Udiaeresis        \or
    \Yacute            \or
    \Thorn             \or
    \ssharp            \or
    \agrave            \or
    \aacute            \or
    \acircumflex       \or
    \atilde            \or
    \adiaeresis        \or
    \aring             \or
    \aeligature        \or
    \ccedilla          \or
    \egrave            \or
    \eacute            \or
    \ecircumflex       \or
    \ediaeresis        \or
    \igrave            \or
    \iacute            \or
    \icircumflex       \or
    \idiaeresis        \or
    \eth               \or % \eth \or
    \ntilde            \or
    \ograve            \or
    \oacute            \or
    \ocircumflex       \or
    \otilde            \or
    \odiaeresis        \or
    \textdiv           \or
    \ostroke           \or
    \ugrave            \or
    \uacute            \or
    \ucircumflex       \or
    \udiaeresis        \or
    \yacute            \or
    \thorn             \or
    \ydiaeresis        \else
    \unknownchar
  \fi
\stopunicodevector

\protect \endinput