summaryrefslogtreecommitdiff
path: root/fonts/cyrillic/ot2cyr/OT2enc.def
blob: df585510deb203d9c191c17865d46505acfcbb8d (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
%% OT2enc.def
%% Copyright 1996 S Rahtz, M Ellert, F Widmann
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
% of this license or (at your option) any later version.
% The latest version of this license is in
%   http://www.latex-project.org/lppl.txt
% and version 1.3 or later is part of all distributions of LaTeX
% version 2005/12/01 or later.
%
% This work has the LPPL maintenance status `maintained'.
% 
% The Current Maintainer of this work is Sebastian Rahtz.
%
% This work consists of all files listed in manifest.txt.
%
\ProvidesFile{OT2enc.def}[1996/03/08 OT2 encoding setup. 
 S Rahtz, M Ellert, F Widmann]
%%
%%
\DeclareFontEncoding{OT2}{}{}
\DeclareFontSubstitution{OT2}{wncyr}{m}{n}
\DeclareTextAccent{\"}{OT2}{'040}
\DeclareTextAccent{\'}{OT2}{'046}
\DeclareTextAccent{\u}{OT2}{'100}
\DeclareTextAccent{\U}{OT2}{'044}
\DeclareTextCommand{\=}{OT2}[1]
     {\PackageError{OT2enc}{accent \string\= not defined in cyrillic}#1}
\DeclareTextCommand{\`}{OT2}[1]
     {\PackageError{OT2enc}{accent \string\` not defined in cyrillic}#1}
%%
%%  I've added a \U accent for the wide Cyrillic breve in addition
%%  to the \u accent used for the smaller breve. I recommend using
%%  \U accent for \U{i} and \U{u}. \U{i} has a composite declared
%%  below.
%%
%% Text symbols and composites
%%
%\DeclareTextCommandDefault{\Cdprime}{{\mathsurround=0pt$\ubar{\hbox{$''$}}$}}
\DeclareTextCommandDefault{\Cdprime}{{\mathsurround=0pt\b{\hbox{$''$}}}}
\DeclareTextCommandDefault{\Cprime}{{\mathsurround=0pt$'$}}
\DeclareTextCommandDefault{\Dbar}{Dj}
\DeclareTextCommandDefault{\Dzh}{Dzh{\cydot}}
\DeclareTextCommandDefault{\Dz}{Dz}
\DeclareTextCommandDefault{\cdprime}{\/{\mathsurround=0pt$''$}}
\DeclareTextCommandDefault{\cprime}{\/{\mathsurround=0pt$'$}}
\DeclareTextCommandDefault{\cydot}{{\mathsurround=0pt$\cdot$}}
\DeclareTextCommandDefault{\dbar}{dj}
\DeclareTextCommandDefault{\dzh}{dzh{\cydot}}
\DeclareTextCommandDefault{\dz}{dz}
\DeclareTextCommand{\Dbar}{OT2}{Dj}
\DeclareTextCommand{\cydot}{OT2}{{\kern0pt}}
\DeclareTextCommand{\dbar}{OT2}{dj}
\DeclareTextCompositeCommand{\"}{OT2}{I}{{\accent'40\char'004}}
\DeclareTextCompositeCommand{\"}{OT2}{\i}{\"\dotlessi}
\DeclareTextCompositeCommand{\"}{OT2}{\i}{{\accent'40\char'075}}
\DeclareTextCompositeCommand{\'}{OT2}{\i}{\'\dotlessi}
\DeclareTextCompositeCommand{\U}{OT2}{\i}{\U\dotlessi}
\DeclareTextCompositeCommand{\u}{OT2}{U}{{\accent'44U}}
\DeclareTextCompositeCommand{\u}{OT2}{\i}{\u\dotlessi}
\DeclareTextCompositeCommand{\u}{OT2}{u}{{\accent'44u}}
\DeclareTextComposite{\"}{OT2}{E}{'023}
\DeclareTextComposite{\"}{OT2}{e}{'033}
\DeclareTextComposite{\'}{OT2}{C}{'007}
\DeclareTextComposite{\'}{OT2}{c}{'017}
\DeclareTextComposite{\=}{OT2}{E}{'05}
\DeclareTextComposite{\=}{OT2}{I}{'04}
\DeclareTextComposite{\=}{OT2}{\i}{'14}
\DeclareTextComposite{\=}{OT2}{e}{'15}
\DeclareTextComposite{\U}{OT2}{I}{'022}
\DeclareTextComposite{\U}{OT2}{i}{'032}
\DeclareTextComposite{\`}{OT2}{E}{'03}
\DeclareTextComposite{\`}{OT2}{e}{'13}
\DeclareTextComposite{\u}{OT2}{I}{'22}
\DeclareTextComposite{\u}{OT2}{\i}{'32}
\DeclareTextSymbol{\Cdprime}{OT2}{'137}
\DeclareTextSymbol{\Cprime}{OT2}{'136}
\DeclareTextSymbol{\DZH}{OT2}{'002}
\DeclareTextSymbol{\DZ}{OT2}{'026}
\DeclareTextSymbol{\Dzh}{OT2}{'002}
\DeclareTextSymbol{\Dz}{OT2}{'026}
\DeclareTextSymbol{\EE}{OT2}{'005}
\DeclareTextSymbol{\Ee}{OT2}{'005}
\DeclareTextSymbol{\E}{OT2}{'003}
\DeclareTextSymbol{\Fita}{OT2}{'025}
\DeclareTextSymbol{\Hard}{OT2}{'137}
\DeclareTextSymbol{\Izhitza}{OT2}{'024}
\DeclareTextSymbol{\I}{OT2}{'004}
\DeclareTextSymbol{\Soft}{OT2}{'136}
\DeclareTextSymbol{\Yatz}{OT2}{'043}
\DeclareTextSymbol{\cdprime}{OT2}{'177}
\DeclareTextSymbol{\cprime}{OT2}{'176}
\DeclareTextSymbol{\dotlessi}{OT2}{'075}
\DeclareTextSymbol{\dzh}{OT2}{'012}
\DeclareTextSymbol{\dz}{OT2}{'036}
\DeclareTextSymbol{\ee}{OT2}{'015}
\DeclareTextSymbol{\e}{OT2}{'013}
\DeclareTextSymbol{\fita}{OT2}{'035}
\DeclareTextSymbol{\hard}{OT2}{'177}
\DeclareTextSymbol{\izhitza}{OT2}{'034}
\DeclareTextSymbol{\i}{OT2}{'014}
\DeclareTextSymbol{\soft}{OT2}{'176}
\DeclareTextSymbol{\yatz}{OT2}{'053}
%%
%%  There is a problem when puting accent on letters treated
%%  as ligatures. In ordinary text yu and ya is rendered as
%%  soft u and soft a, but \'{yu} does not produce a soft u
%%  with an accent, but a y with an accent followed by an a.
%%  Therefore I've declared the following text symbols to be
%%  used when putting accent these letters. (Is there a need
%%  for putting accents on other ligature characters, such as
%%  sh, shch, ch, lj, nj, dj, kh, ts, zh?)
%%
\DeclareTextSymbol{\YU}{OT2}{'020}
\DeclareTextSymbol{\Yu}{OT2}{'020}
\DeclareTextSymbol{\yu}{OT2}{'030}
\DeclareTextSymbol{\YA}{OT2}{'027}
\DeclareTextSymbol{\Ya}{OT2}{'027}
\DeclareTextSymbol{\ya}{OT2}{'037}
%%
\endinput
%%
%% End of file `OT2enc.def'.