summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/vntex/t5enc.def
blob: de9741b559545f0e92227d0ded782d93ea14cb4b (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
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
% Copyright 2000-2005 Werner Lemberg <wl@gnu.org> and
%                     Vladimir Volovich <vvv@vsu.ru>.
% This file is part of vntex.  License: LPPL, version 1.3 or newer,
% according to http://www.latex-project.org/lppl.txt
%
%
% This is the file t5enc.def which provides T5 encoding for Vietnamese.
%
% written by Werner Lemberg <wl@gnu.org> and
%            Vladimir Volovich <vvv@vsu.ru>
%
% History
%
%   1.0  2000/01/27
%
%     Initial release.
%
%   1.1  2001/09/21
%
%     Add compatibility support for the old ET5 encoding.
%     Add font substitution declaration.
%
%   post 1.1  ?
%
%     Add support for the unicode package.
%     Add accent aliases using `\i' instead of `i'.
%     Add support for TCX.
%     Provide dummy for \DeclareTextDoubleComposite if dblaccnt.sty isn't
%       loaded.
%
%   1.2  2004/03/17
%
%     Add history.
%     Some clean-up.
%
%   1.3  2005/04/21
%
%     Add copyright.

\ProvidesFile{t5enc.def}[2005/04/21 v1.3 Vietnamese T5 encoding]

\DeclareFontEncoding{T5}{%
  % this (taken from t5code.tex) is needed for use with TCX instead of
  % inputenc
  \ifx \@inpenc@undefined@ \@undefined
    \catcode31=11  \lccode31=31   \uccode31=30      % dcroat
    \catcode30=11  \lccode30=31   \uccode30=30      % Dcroat
    \catcode189=11 \lccode189=189 \uccode189=157    % iacute
    \catcode157=11 \lccode157=189 \uccode157=157    % Iacute
    \catcode191=11 \lccode191=191 \uccode191=159    % ihookabove
    \catcode159=11 \lccode159=191 \uccode159=159    % Ihookabove
    \catcode190=11 \lccode190=190 \uccode190=158    % itilde
    \catcode158=11 \lccode158=190 \uccode158=158    % Itilde
    \catcode29=11  \lccode29=29   \uccode29=28      % ydotbelow
    \catcode28=11  \lccode28=29   \uccode28=28      % Ydotbelow
    \catcode27=11  \lccode27=27   \uccode27=26      % yhookabove
    \catcode26=11  \lccode26=27   \uccode26=26      % Yhookabove
  \fi
}{}

\DeclareFontSubstitution{T5}{cmr}{m}{n}

\DeclareTextAccent{\`}{T5}{0}                       % grave
\DeclareTextAccent{\'}{T5}{1}                       % acute
\DeclareTextAccent{\^}{T5}{2}                       % circumflex
\DeclareTextAccent{\~}{T5}{3}                       % tilde
\DeclareTextAccent{\"}{T5}{4}                       % dieresis
\DeclareTextAccent{\d}{T5}{5}                       % dotbelow
\DeclareTextAccent{\r}{T5}{6}                       % ring
\DeclareTextAccent{\v}{T5}{7}                       % caron
\DeclareTextAccent{\u}{T5}{8}                       % breve
\DeclareTextAccent{\=}{T5}{9}                       % macron
\DeclareTextAccent{\.}{T5}{10}                      % dotaccent

\DeclareTextCommand{\b}{T5}[1]
  {{\o@lign{\relax#1\crcr\hidewidth\sh@ft{29}%
    \vbox to.2ex{\hbox{\char9}\vss}\hidewidth}}}

\DeclareTextCommand{\c}{T5}[1]
  {\leavevmode\setbox\z@\hbox{#1}\ifdim\ht\z@=1ex\accent11 #1%
    \else{\ooalign{\hidewidth\char11\hidewidth
      \crcr\unhbox\z@}}\fi}

% Vietnamese hook accent
\DeclareTextAccent{\h}{T5}{12}

\DeclareTextSymbol{\quotesinglbase}{T5}{13}
\DeclareTextSymbol{\guilsinglleft}{T5}{14}
\DeclareTextSymbol{\guilsinglright}{T5}{15}
\DeclareTextSymbol{\textquotedblleft}{T5}{16}
\DeclareTextSymbol{\textquotedblright}{T5}{17}
\DeclareTextSymbol{\quotedblbase}{T5}{18}
\DeclareTextSymbol{\guillemotleft}{T5}{19}
\DeclareTextSymbol{\guillemotright}{T5}{20}
\DeclareTextSymbol{\textendash}{T5}{21}
\DeclareTextSymbol{\textemdash}{T5}{22}
\DeclareTextSymbol{\textcompwordmark}{T5}{23}

\DeclareTextCommand{\textperthousand}{T5}{\%\char 24 }
\DeclareTextCommand{\textpertenthousand}{T5}{\%\char 24\char 24 }
\DeclareTextSymbol{\i}{T5}{25}                      % dotlessi

\DeclareTextSymbol{\textvisiblespace}{T5}{32}
\DeclareTextSymbol{\textquotedbl}{T5}{`\"}
\DeclareTextSymbol{\textdollar}{T5}{`\$}
\DeclareTextSymbol{\textquoteright}{T5}{`\'}
\DeclareTextSymbol{\textless}{T5}{`\<}
\DeclareTextSymbol{\textgreater}{T5}{`\>}
\DeclareTextSymbol{\textbackslash}{T5}{`\\}
\DeclareTextSymbol{\textasciicircum}{T5}{`\^}
\DeclareTextSymbol{\textunderscore}{T5}{95}
\DeclareTextSymbol{\textquoteleft}{T5}{`\`}
\DeclareTextSymbol{\textbraceleft}{T5}{`\{}
\DeclareTextSymbol{\textbar}{T5}{`\|}
\DeclareTextSymbol{\textbraceright}{T5}{`\}}
\DeclareTextSymbol{\textasciitilde}{T5}{`\~}

% A fake accent for the horn.
\DeclareTextCommand{\horn}{T5}[1]{\TextSymbolUnavailable{\horn{#1}}#1}

% if dblaccnt is not loaded, make a dummy \DeclareTextDoubleComposite
\ifx \DeclareTextDoubleComposite \undefined
  \def\DeclareTextDoubleComposite#1#2#3#4#5{}
\fi

\DeclareTextComposite{\`}{T5}{A}{128}               % Agrave
\DeclareTextComposite{\'}{T5}{A}{129}               % Aacute
\DeclareTextComposite{\~}{T5}{A}{130}               % Atilde
\DeclareTextComposite{\h}{T5}{A}{131}               % Ahookabove
\DeclareTextComposite{\d}{T5}{A}{132}               % Adotbelow

\DeclareTextComposite{\^}{T5}{A}{133}               % Acircumflex
\DeclareTextDoubleComposite{\`}{T5}{\^}{A}{134}     % Acircumflexgrave
\DeclareTextDoubleComposite{\'}{T5}{\^}{A}{135}     % Acircumflexacute
\DeclareTextDoubleComposite{\~}{T5}{\^}{A}{136}     % Acircumflextilde
\DeclareTextDoubleComposite{\h}{T5}{\^}{A}{137}     % Acircumflexhookabove
\DeclareTextDoubleComposite{\d}{T5}{\^}{A}{138}     % Acircumflexdotbelow

\DeclareTextComposite{\u}{T5}{A}{139}               % Abreve
\DeclareTextDoubleComposite{\`}{T5}{\u}{A}{140}     % Abrevegrave
\DeclareTextDoubleComposite{\'}{T5}{\u}{A}{141}     % Abreveacute
\DeclareTextDoubleComposite{\~}{T5}{\u}{A}{142}     % Abrevetilde
\DeclareTextDoubleComposite{\h}{T5}{\u}{A}{143}     % Abrevehookabove
\DeclareTextDoubleComposite{\d}{T5}{\u}{A}{144}     % Abrevedotbelow

\DeclareTextComposite{\`}{T5}{E}{145}               % Egrave
\DeclareTextComposite{\'}{T5}{E}{146}               % Eacute
\DeclareTextComposite{\~}{T5}{E}{147}               % Etilde
\DeclareTextComposite{\h}{T5}{E}{148}               % Ehookabove
\DeclareTextComposite{\d}{T5}{E}{149}               % Edotbelow

\DeclareTextComposite{\^}{T5}{E}{150}               % Ecircumflex
\DeclareTextDoubleComposite{\`}{T5}{\^}{E}{151}     % Ecircumflexgrave
\DeclareTextDoubleComposite{\'}{T5}{\^}{E}{152}     % Ecircumflexacute
\DeclareTextDoubleComposite{\~}{T5}{\^}{E}{153}     % Ecircumflextilde
\DeclareTextDoubleComposite{\h}{T5}{\^}{E}{154}     % Ecircumflexhookabove
\DeclareTextDoubleComposite{\d}{T5}{\^}{E}{155}     % Ecircumflexdotbelow

\DeclareTextComposite{\`}{T5}{I}{156}               % Igrave
\DeclareTextComposite{\'}{T5}{I}{157}               % Iacute
\DeclareTextComposite{\~}{T5}{I}{158}               % Itilde
\DeclareTextComposite{\h}{T5}{I}{159}               % Ihookabove
\DeclareTextComposite{\d}{T5}{I}{192}               % Idotbelow

\DeclareTextComposite{\`}{T5}{O}{193}               % Ograve
\DeclareTextComposite{\'}{T5}{O}{194}               % Oacute
\DeclareTextComposite{\~}{T5}{O}{195}               % Otilde
\DeclareTextComposite{\h}{T5}{O}{196}               % Ohookabove
\DeclareTextComposite{\d}{T5}{O}{197}               % Odotbelow

\DeclareTextComposite{\^}{T5}{O}{198}               % Ocircumflex
\DeclareTextDoubleComposite{\`}{T5}{\^}{O}{199}     % Ocircumflexgrave
\DeclareTextDoubleComposite{\'}{T5}{\^}{O}{200}     % Ocircumflexacute
\DeclareTextDoubleComposite{\~}{T5}{\^}{O}{201}     % Ocircumflextilde
\DeclareTextDoubleComposite{\h}{T5}{\^}{O}{202}     % Ocircumflexhookabove
\DeclareTextDoubleComposite{\d}{T5}{\^}{O}{203}     % Ocircumflexdotbelow

\DeclareTextComposite{\horn}{T5}{O}{204}            % Ohorn
\DeclareTextDoubleComposite{\`}{T5}{\horn}{O}{205}  % Ohorngrave
\DeclareTextDoubleComposite{\'}{T5}{\horn}{O}{206}  % Ohornacute
\DeclareTextDoubleComposite{\~}{T5}{\horn}{O}{207}  % Ohorntilde
\DeclareTextDoubleComposite{\h}{T5}{\horn}{O}{208}  % Ohornhookabove
\DeclareTextDoubleComposite{\d}{T5}{\horn}{O}{209}  % Ohorndotbelow

\DeclareTextComposite{\`}{T5}{U}{210}               % Ugrave
\DeclareTextComposite{\'}{T5}{U}{211}               % Uacute
\DeclareTextComposite{\~}{T5}{U}{212}               % Utilde
\DeclareTextComposite{\h}{T5}{U}{213}               % Uhookabove
\DeclareTextComposite{\d}{T5}{U}{214}               % Udotbelow

\DeclareTextComposite{\horn}{T5}{U}{215}            % Uhorn
\DeclareTextDoubleComposite{\`}{T5}{\horn}{U}{216}  % Uhorngrave
\DeclareTextDoubleComposite{\'}{T5}{\horn}{U}{217}  % Uhornacute
\DeclareTextDoubleComposite{\~}{T5}{\horn}{U}{218}  % Uhorntilde
\DeclareTextDoubleComposite{\h}{T5}{\horn}{U}{219}  % Uhornhookabove
\DeclareTextDoubleComposite{\d}{T5}{\horn}{U}{220}  % Uhorndotbelow

\DeclareTextComposite{\`}{T5}{Y}{221}               % Ygrave
\DeclareTextComposite{\'}{T5}{Y}{222}               % Yacute
\DeclareTextComposite{\~}{T5}{Y}{223}               % Ytilde
\DeclareTextComposite{\h}{T5}{Y}{26}                % Yhookabove
\DeclareTextComposite{\d}{T5}{Y}{28}                % Ydotbelow

\DeclareTextComposite{\`}{T5}{a}{160}               % agrave
\DeclareTextComposite{\'}{T5}{a}{161}               % aacute
\DeclareTextComposite{\~}{T5}{a}{162}               % atilde
\DeclareTextComposite{\h}{T5}{a}{163}               % ahookabove
\DeclareTextComposite{\d}{T5}{a}{164}               % adotbelow

\DeclareTextComposite{\^}{T5}{a}{165}               % acircumflex
\DeclareTextDoubleComposite{\`}{T5}{\^}{a}{166}     % acircumflexgrave
\DeclareTextDoubleComposite{\'}{T5}{\^}{a}{167}     % acircumflexacute
\DeclareTextDoubleComposite{\~}{T5}{\^}{a}{168}     % acircumflextilde
\DeclareTextDoubleComposite{\h}{T5}{\^}{a}{169}     % acircumflexhookabove
\DeclareTextDoubleComposite{\d}{T5}{\^}{a}{170}     % acircumflexdotbelow

\DeclareTextComposite{\u}{T5}{a}{171}               % abreve
\DeclareTextDoubleComposite{\`}{T5}{\u}{a}{172}     % abrevegrave
\DeclareTextDoubleComposite{\'}{T5}{\u}{a}{173}     % abreveacute
\DeclareTextDoubleComposite{\~}{T5}{\u}{a}{174}     % abrevetilde
\DeclareTextDoubleComposite{\h}{T5}{\u}{a}{175}     % abrevehookabove
\DeclareTextDoubleComposite{\d}{T5}{\u}{a}{176}     % abrevedotbelow

\DeclareTextComposite{\`}{T5}{e}{177}               % egrave
\DeclareTextComposite{\'}{T5}{e}{178}               % eacute
\DeclareTextComposite{\~}{T5}{e}{179}               % etilde
\DeclareTextComposite{\h}{T5}{e}{180}               % ehookabove
\DeclareTextComposite{\d}{T5}{e}{181}               % edotbelow

\DeclareTextComposite{\^}{T5}{e}{182}               % ecircumflex
\DeclareTextDoubleComposite{\`}{T5}{\^}{e}{183}     % ecircumflexgrave
\DeclareTextDoubleComposite{\'}{T5}{\^}{e}{184}     % ecircumflexacute
\DeclareTextDoubleComposite{\~}{T5}{\^}{e}{185}     % ecircumflextilde
\DeclareTextDoubleComposite{\h}{T5}{\^}{e}{186}     % ecircumflexhookabove
\DeclareTextDoubleComposite{\d}{T5}{\^}{e}{187}     % ecircumflexdotbelow

\DeclareTextComposite{\`}{T5}{i}{188}               % igrave
\DeclareTextComposite{\'}{T5}{i}{189}               % iacute
\DeclareTextComposite{\~}{T5}{i}{190}               % itilde
\DeclareTextComposite{\h}{T5}{i}{191}               % ihookabove
\DeclareTextComposite{\d}{T5}{i}{224}               % idotbelow

\DeclareTextComposite{\`}{T5}{\i}{188}              % igrave
\DeclareTextComposite{\'}{T5}{\i}{189}              % iacute
\DeclareTextComposite{\~}{T5}{\i}{190}              % itilde
\DeclareTextComposite{\h}{T5}{\i}{191}              % ihookabove
\DeclareTextComposite{\d}{T5}{\i}{224}              % idotbelow

\DeclareTextComposite{\`}{T5}{o}{225}               % ograve
\DeclareTextComposite{\'}{T5}{o}{226}               % oacute
\DeclareTextComposite{\~}{T5}{o}{227}               % otilde
\DeclareTextComposite{\h}{T5}{o}{228}               % ohookabove
\DeclareTextComposite{\d}{T5}{o}{229}               % odotbelow

\DeclareTextComposite{\^}{T5}{o}{230}               % ocircumflex
\DeclareTextDoubleComposite{\`}{T5}{\^}{o}{231}     % ocircumflexgrave
\DeclareTextDoubleComposite{\'}{T5}{\^}{o}{232}     % ocircumflexacute
\DeclareTextDoubleComposite{\~}{T5}{\^}{o}{233}     % ocircumflextilde
\DeclareTextDoubleComposite{\h}{T5}{\^}{o}{234}     % ocircumflexhookabove
\DeclareTextDoubleComposite{\d}{T5}{\^}{o}{235}     % ocircumflexdotbelow

\DeclareTextComposite{\horn}{T5}{o}{236}  % ohorn
\DeclareTextDoubleComposite{\`}{T5}{\horn}{o}{237}  % ohorngrave
\DeclareTextDoubleComposite{\'}{T5}{\horn}{o}{238}  % ohornacute
\DeclareTextDoubleComposite{\~}{T5}{\horn}{o}{239}  % ohorntilde
\DeclareTextDoubleComposite{\h}{T5}{\horn}{o}{240}  % ohornhookabove
\DeclareTextDoubleComposite{\d}{T5}{\horn}{o}{241}  % ohorndotbelow

\DeclareTextComposite{\`}{T5}{u}{242}               % ugrave
\DeclareTextComposite{\'}{T5}{u}{243}               % uacute
\DeclareTextComposite{\~}{T5}{u}{244}               % utilde
\DeclareTextComposite{\h}{T5}{u}{245}               % uhookabove
\DeclareTextComposite{\d}{T5}{u}{246}               % udotbelow

\DeclareTextComposite{\horn}{T5}{u}{247}            % uhorn
\DeclareTextDoubleComposite{\`}{T5}{\horn}{u}{248}  % uhorngrave
\DeclareTextDoubleComposite{\'}{T5}{\horn}{u}{249}  % uhornacute
\DeclareTextDoubleComposite{\~}{T5}{\horn}{u}{250}  % uhorntilde
\DeclareTextDoubleComposite{\h}{T5}{\horn}{u}{251}  % uhornhookabove
\DeclareTextDoubleComposite{\d}{T5}{\horn}{u}{252}  % uhorndotbelow

\DeclareTextComposite{\`}{T5}{y}{253}               % ygrave
\DeclareTextComposite{\'}{T5}{y}{254}               % yacute
\DeclareTextComposite{\~}{T5}{y}{255}               % ytilde
\DeclareTextComposite{\h}{T5}{y}{27}                % yhookabove
\DeclareTextComposite{\d}{T5}{y}{29}                % ydotbelow

\DeclareTextSymbol{\DJ}{T5}{30}                     % Dcroat
\DeclareTextSymbol{\dj}{T5}{31}                     % dcroat


% For compatibility with ET5.

\DeclareTextSymbol{\Acircumflex}{T5}{133}           % Acircumflex
\DeclareTextComposite{\`}{T5}{\Acircumflex}{134}    % Acircumflexgrave
\DeclareTextComposite{\'}{T5}{\Acircumflex}{135}    % Acircumflexacute
\DeclareTextComposite{\~}{T5}{\Acircumflex}{136}    % Acircumflextilde
\DeclareTextComposite{\h}{T5}{\Acircumflex}{137}    % Acircumflexhookabove
\DeclareTextComposite{\d}{T5}{\Acircumflex}{138}    % Acircumflexdotbelow

\DeclareTextSymbol{\Abreve}{T5}{139}                % Abreve
\DeclareTextComposite{\`}{T5}{\Abreve}{140}         % Abrevegrave
\DeclareTextComposite{\'}{T5}{\Abreve}{141}         % Abreveacute
\DeclareTextComposite{\~}{T5}{\Abreve}{142}         % Abrevetilde
\DeclareTextComposite{\h}{T5}{\Abreve}{143}         % Abrevehookabove
\DeclareTextComposite{\d}{T5}{\Abreve}{144}         % Abrevedotbelow

\DeclareTextSymbol{\Ecircumflex}{T5}{150}           % Ecircumflex
\DeclareTextComposite{\`}{T5}{\Ecircumflex}{151}    % Ecircumflexgrave
\DeclareTextComposite{\'}{T5}{\Ecircumflex}{152}    % Ecircumflexacute
\DeclareTextComposite{\~}{T5}{\Ecircumflex}{153}    % Ecircumflextilde
\DeclareTextComposite{\h}{T5}{\Ecircumflex}{154}    % Ecircumflexhookabove
\DeclareTextComposite{\d}{T5}{\Ecircumflex}{155}    % Ecircumflexdotbelow

\DeclareTextSymbol{\Ocircumflex}{T5}{198}           % Ocircumflex
\DeclareTextComposite{\`}{T5}{\Ocircumflex}{199}    % Ocircumflexgrave
\DeclareTextComposite{\'}{T5}{\Ocircumflex}{200}    % Ocircumflexacute
\DeclareTextComposite{\~}{T5}{\Ocircumflex}{201}    % Ocircumflextilde
\DeclareTextComposite{\h}{T5}{\Ocircumflex}{202}    % Ocircumflexhookabove
\DeclareTextComposite{\d}{T5}{\Ocircumflex}{203}    % Ocircumflexdotbelow

\DeclareTextSymbol{\Ohorn}{T5}{204}                 % Ohorn
\DeclareTextComposite{\`}{T5}{\Ohorn}{205}          % Ohorngrave
\DeclareTextComposite{\'}{T5}{\Ohorn}{206}          % Ohornacute
\DeclareTextComposite{\~}{T5}{\Ohorn}{207}          % Ohorntilde
\DeclareTextComposite{\h}{T5}{\Ohorn}{208}          % Ohornhookabove
\DeclareTextComposite{\d}{T5}{\Ohorn}{209}          % Ohorndotbelow

\DeclareTextSymbol{\Uhorn}{T5}{215}                 % Uhorn
\DeclareTextComposite{\`}{T5}{\Uhorn}{216}          % Uhorngrave
\DeclareTextComposite{\'}{T5}{\Uhorn}{217}          % Uhornacute
\DeclareTextComposite{\~}{T5}{\Uhorn}{218}          % Uhorntilde
\DeclareTextComposite{\h}{T5}{\Uhorn}{219}          % Uhornhookabove
\DeclareTextComposite{\d}{T5}{\Uhorn}{220}          % Uhorndotbelow

\DeclareTextSymbol{\acircumflex}{T5}{165}           % acircumflex
\DeclareTextComposite{\`}{T5}{\acircumflex}{166}    % acircumflexgrave
\DeclareTextComposite{\'}{T5}{\acircumflex}{167}    % acircumflexacute
\DeclareTextComposite{\~}{T5}{\acircumflex}{168}    % acircumflextilde
\DeclareTextComposite{\h}{T5}{\acircumflex}{169}    % acircumflexhookabove
\DeclareTextComposite{\d}{T5}{\acircumflex}{170}    % acircumflexdotbelow

\DeclareTextSymbol{\abreve}{T5}{171}                % abreve
\DeclareTextComposite{\`}{T5}{\abreve}{172}         % abrevegrave
\DeclareTextComposite{\'}{T5}{\abreve}{173}         % abreveacute
\DeclareTextComposite{\~}{T5}{\abreve}{174}         % abrevetilde
\DeclareTextComposite{\h}{T5}{\abreve}{175}         % abrevehookabove
\DeclareTextComposite{\d}{T5}{\abreve}{176}         % abrevedotbelow

\DeclareTextSymbol{\ecircumflex}{T5}{182}           % ecircumflex
\DeclareTextComposite{\`}{T5}{\ecircumflex}{183}    % ecircumflexgrave
\DeclareTextComposite{\'}{T5}{\ecircumflex}{184}    % ecircumflexacute
\DeclareTextComposite{\~}{T5}{\ecircumflex}{185}    % ecircumflextilde
\DeclareTextComposite{\h}{T5}{\ecircumflex}{186}    % ecircumflexhookabove
\DeclareTextComposite{\d}{T5}{\ecircumflex}{187}    % ecircumflexdotbelow

\DeclareTextSymbol{\ocircumflex}{T5}{230}           % ocircumflex
\DeclareTextComposite{\`}{T5}{\ocircumflex}{231}    % ocircumflexgrave
\DeclareTextComposite{\'}{T5}{\ocircumflex}{232}    % ocircumflexacute
\DeclareTextComposite{\~}{T5}{\ocircumflex}{233}    % ocircumflextilde
\DeclareTextComposite{\h}{T5}{\ocircumflex}{234}    % ocircumflexhookabove
\DeclareTextComposite{\d}{T5}{\ocircumflex}{235}    % ocircumflexdotbelow

\DeclareTextSymbol{\ohorn}{T5}{236}                 % ohorn
\DeclareTextComposite{\`}{T5}{\ohorn}{237}          % ohorngrave
\DeclareTextComposite{\'}{T5}{\ohorn}{238}          % ohornacute
\DeclareTextComposite{\~}{T5}{\ohorn}{239}          % ohorntilde
\DeclareTextComposite{\h}{T5}{\ohorn}{240}          % ohornhookabove
\DeclareTextComposite{\d}{T5}{\ohorn}{241}          % ohorndotbelow

\DeclareTextSymbol{\uhorn}{T5}{247}                 % uhorn
\DeclareTextComposite{\`}{T5}{\uhorn}{248}          % uhorngrave
\DeclareTextComposite{\'}{T5}{\uhorn}{249}          % uhornacute
\DeclareTextComposite{\~}{T5}{\uhorn}{250}          % uhorntilde
\DeclareTextComposite{\h}{T5}{\uhorn}{251}          % uhornhookabove
\DeclareTextComposite{\d}{T5}{\uhorn}{252}          % uhorndotbelow

% make these ugly names still valid (needed for use with utf8)
\DeclareTextSymbol{\ACIRCUMFLEX}{T5}{133}           % Acircumflex
\DeclareTextComposite{\`}{T5}{\ACIRCUMFLEX}{134}    % Acircumflexgrave
\DeclareTextComposite{\'}{T5}{\ACIRCUMFLEX}{135}    % Acircumflexacute
\DeclareTextComposite{\~}{T5}{\ACIRCUMFLEX}{136}    % Acircumflextilde
\DeclareTextComposite{\h}{T5}{\ACIRCUMFLEX}{137}    % Acircumflexhookabove
\DeclareTextComposite{\d}{T5}{\ACIRCUMFLEX}{138}    % Acircumflexdotbelow

\DeclareTextSymbol{\ABREVE}{T5}{139}                % Abreve
\DeclareTextComposite{\`}{T5}{\ABREVE}{140}         % Abrevegrave
\DeclareTextComposite{\'}{T5}{\ABREVE}{141}         % Abreveacute
\DeclareTextComposite{\~}{T5}{\ABREVE}{142}         % Abrevetilde
\DeclareTextComposite{\h}{T5}{\ABREVE}{143}         % Abrevehookabove
\DeclareTextComposite{\d}{T5}{\ABREVE}{144}         % Abrevedotbelow

\DeclareTextSymbol{\ECIRCUMFLEX}{T5}{150}           % Ecircumflex
\DeclareTextComposite{\`}{T5}{\ECIRCUMFLEX}{151}    % Ecircumflexgrave
\DeclareTextComposite{\'}{T5}{\ECIRCUMFLEX}{152}    % Ecircumflexacute
\DeclareTextComposite{\~}{T5}{\ECIRCUMFLEX}{153}    % Ecircumflextilde
\DeclareTextComposite{\h}{T5}{\ECIRCUMFLEX}{154}    % Ecircumflexhookabove
\DeclareTextComposite{\d}{T5}{\ECIRCUMFLEX}{155}    % Ecircumflexdotbelow

\DeclareTextSymbol{\OCIRCUMFLEX}{T5}{198}           % Ocircumflex
\DeclareTextComposite{\`}{T5}{\OCIRCUMFLEX}{199}    % Ocircumflexgrave
\DeclareTextComposite{\'}{T5}{\OCIRCUMFLEX}{200}    % Ocircumflexacute
\DeclareTextComposite{\~}{T5}{\OCIRCUMFLEX}{201}    % Ocircumflextilde
\DeclareTextComposite{\h}{T5}{\OCIRCUMFLEX}{202}    % Ocircumflexhookabove
\DeclareTextComposite{\d}{T5}{\OCIRCUMFLEX}{203}    % Ocircumflexdotbelow

\DeclareTextSymbol{\OHORN}{T5}{204}                 % Ohorn
\DeclareTextComposite{\`}{T5}{\OHORN}{205}          % Ohorngrave
\DeclareTextComposite{\'}{T5}{\OHORN}{206}          % Ohornacute
\DeclareTextComposite{\~}{T5}{\OHORN}{207}          % Ohorntilde
\DeclareTextComposite{\h}{T5}{\OHORN}{208}          % Ohornhookabove
\DeclareTextComposite{\d}{T5}{\OHORN}{209}          % Ohorndotbelow

\DeclareTextSymbol{\UHORN}{T5}{215}                 % Uhorn
\DeclareTextComposite{\`}{T5}{\UHORN}{216}          % Uhorngrave
\DeclareTextComposite{\'}{T5}{\UHORN}{217}          % Uhornacute
\DeclareTextComposite{\~}{T5}{\UHORN}{218}          % Uhorntilde
\DeclareTextComposite{\h}{T5}{\UHORN}{219}          % Uhornhookabove
\DeclareTextComposite{\d}{T5}{\UHORN}{220}          % Uhorndotbelow


% Extend \@uclclist to make \MakeUppercase and \MakeLowercase work correctly.

\expandafter\def\expandafter\@uclclist\expandafter{%
  \@uclclist
  \abreve\Abreve
  \acircumflex\Acircumflex
  \dj\DJ
  \ecircumflex\Ecircumflex
  \ocircumflex\Ocircumflex
  \ohorn\Ohorn
  \uhorn\Uhorn
  \abreve\ABREVE
  \acircumflex\ACIRCUMFLEX
  \ecircumflex\ECIRCUMFLEX
  \ocircumflex\OCIRCUMFLEX
  \ohorn\OHORN
  \uhorn\UHORN}

\endinput

% end of t5enc.def