% OFS: Declaration of Cyrrilic T2A encoding
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Mar 2004                       Petr Olsak

% 6c = T2C encoding

\protectreading ofs-6c.tex % This is part of OFS package

\accentdef  \` *    6c  {\accent 0}
\accentdef  \' *    6c  {\accent 1}
\accentdef  \^ *    6c  {\accent 2}
\accentdef  \~ *    6c  {\accent 3}
\accentdef  \" *    6c  {\accent 4}
\accentdef  \H *    6c  {\accent 5}
\accentdef  \r *    6c  {\accent 6}
\accentdef  \v *    6c  {\accent 7}
\accentdef  \u *    6c  {\accent 8}
\accentdef  \= *    6c  {\accent 9}
\accentdef  \. *    6c  {\accent 10}
\accentdef  \f *    6c  {\accent 18}
\accentdef  \C *    6c  {\accent 19}
\accentdef  \U *    6c  {\accent 20}
\accentdef  \b *    6c  {\accentbelow {\char9}{.15ex}}
\accentdef  \c *    6c  {\accentbelow {\char11}{0pt}}
\accentdef  \d *    6c  {\accentbelow {.}{.1ex}}
\accentdef  \k *    6c  {\accentbelow {\char12}{0pt}}

\let\promile=\relax
\characterdef \promile          6c {\%\char 24 }        
\characterdef \pertenthousand   6c {\%\char 24\char 24 } 

\characterdef \textendash         6c  21
\characterdef \cyrdash            6c  22
\characterdef \textemdash         6c  22
\characterdef \textcompwordmark   6c  23
\characterdef \textvisiblespace   6c  32
\characterdef \textdollar         6c  36
\characterdef \textless           6c  60
\characterdef \textgreater        6c  62
\characterdef \textbackslash      6c  92
\characterdef \textasciicircum    6c  94
\characterdef \textunderscore     6c  95
\characterdef \textbraceleft      6c  123
\characterdef \textbar            6c  124
\characterdef \textbraceright     6c  125
\characterdef \textasciitilde     6c  126
\characterdef \textnumero         6c  157
\characterdef \textcurrency       6c  158
\characterdef \textsection        6c  159
\characterdef \textquotedbl       6c  34
\characterdef \textquoteleft      6c  96
\characterdef \textquoteright     6c  39
\characterdef \textquotedblleft   6c  16
\characterdef \textquotedblright  6c  17
\characterdef \quotedblbase       6c  189
\characterdef \CYRpalochka        6c  13
\characterdef \cyrlangle          6c  14
\characterdef \cyrrangle          6c  15
\characterdef \guillemotleft      6c  190
\characterdef \guillemotright     6c  191
\characterdef \dotlessi           6c   25
\characterdef \dotlessj           6c   26

\let\i=\dotlessi \let\j=\dotlessj
\accentdef  \. i     6c  `\i
\accentdef  \` i     6c  {\accent0 \i}
\accentdef  \` {\i}  6c  {\accent0 \i}
\accentdef  \' i     6c  {\accent1 \i}
\accentdef  \' {\i}  6c  {\accent1 \i}
\accentdef  \^ i     6c  {\accent2 \i}
\accentdef  \^ {\i}  6c  {\accent2 \i}
\accentdef  \" i     6c  {\accent4 \i}
\accentdef  \" {\i}  6c  {\accent4 \i}

\characterdef \CYRA          6c  192
\characterdef \cyra          6c  224
\characterdef \CYRB          6c  193
\characterdef \cyrb          6c  225
\characterdef \CYRV          6c  194
\characterdef \cyrv          6c  226
\characterdef \CYRG          6c  195
\characterdef \cyrg          6c  227
\characterdef \CYRD          6c  196
\characterdef \cyrd          6c  228
\characterdef \CYRE          6c  197
\characterdef \cyre          6c  229
\characterdef \CYRZH         6c  198
\characterdef \cyrzh         6c  230
\characterdef \CYRZ          6c  199
\characterdef \cyrz          6c  231
\characterdef \CYRI          6c  200
\characterdef \cyri          6c  232
\characterdef \CYRISHRT      6c  201
\characterdef \cyrishrt      6c  233
\characterdef \CYRK          6c  202
\characterdef \cyrk          6c  234
\characterdef \CYRL          6c  203
\characterdef \cyrl          6c  235
\characterdef \CYRM          6c  204
\characterdef \cyrm          6c  236
\characterdef \CYRN          6c  205
\characterdef \cyrn          6c  237
\characterdef \CYRO          6c  206
\characterdef \cyro          6c  238
\characterdef \CYRP          6c  207
\characterdef \cyrp          6c  239
\characterdef \CYRR          6c  208
\characterdef \cyrr          6c  240
\characterdef \CYRS          6c  209
\characterdef \cyrs          6c  241
\characterdef \CYRT          6c  210
\characterdef \cyrt          6c  242
\characterdef \CYRU          6c  211
\characterdef \cyru          6c  243
\characterdef \CYRF          6c  212
\characterdef \cyrf          6c  244
\characterdef \CYRH          6c  213
\characterdef \cyrh          6c  245
\characterdef \CYRC          6c  214
\characterdef \cyrc          6c  246
\characterdef \CYRCH         6c  215
\characterdef \cyrch         6c  247
\characterdef \CYRSH         6c  216
\characterdef \cyrsh         6c  248
\characterdef \CYRSHCH       6c  217
\characterdef \cyrshch       6c  249
\characterdef \CYRHRDSN      6c  218
\characterdef \cyrhrdsn      6c  250
\characterdef \CYRERY        6c  219
\characterdef \cyrery        6c  251
\characterdef \CYRSFTSN      6c  220
\characterdef \cyrsftsn      6c  252
\characterdef \CYREREV       6c  221
\characterdef \cyrerev       6c  253
\characterdef \CYRYU         6c  222
\characterdef \cyryu         6c  254
\characterdef \CYRYA         6c  223
\characterdef \cyrya         6c  255
\characterdef \CYRPHK        6c  128
\characterdef \cyrphk        6c  160
\characterdef \CYRTETSE      6c  129
\characterdef \cyrtetse      6c  161
\characterdef \CYRTDSC       6c  130
\characterdef \cyrtdsc       6c  162
\characterdef \CYRGHK        6c  131
\characterdef \cyrghk        6c  163
\characterdef \CYRSHHA       6c  132
\characterdef \cyrshha       6c  164
\characterdef \CYRRDSC       6c  133
\characterdef \cyrrdsc       6c  165
\characterdef \CYRRTICK      6c  134
\characterdef \cyrrtick      6c  166
\characterdef \CYRABHDZE     6c  135
\characterdef \cyrabhdze     6c  167
\characterdef \CYRMDSC       6c  136
\characterdef \cyrmdsc       6c  168
\characterdef \CYRKDSC       6c  137
\characterdef \cyrkdsc       6c  169
\characterdef \CYRLDSC       6c  138
\characterdef \cyrldsc       6c  170
\characterdef \CYRKHCRS      6c  139
\characterdef \cyrkhcrs      6c  171
\characterdef \CYRLHK        6c  140
\characterdef \cyrlhk        6c  172
\characterdef \CYRNDSC       6c  141
\characterdef \cyrndsc       6c  173
\characterdef \CYRMHK        6c  142
\characterdef \cyrmhk        6c  174
\characterdef \CYRNHK        6c  143
\characterdef \cyrnhk        6c  175
\characterdef \CYROTLD       6c  144
\characterdef \cyrotld       6c  176
\characterdef \CYRABHCH      6c  145
\characterdef \cyrabhch      6c  177
\characterdef \CYRABHCHDSC   6c  146
\characterdef \cyrabhchdsc   6c  178
\characterdef \CYRSEMISFTSN  6c  147
\characterdef \cyrsemisftsn  6c  179
\characterdef \CYRISHRTDSC   6c  148
\characterdef \cyrishrtdsc   6c  180
\characterdef \CYRHDSC       6c  149
\characterdef \cyrhdsc       6c  181
\characterdef \CYRDZHE       6c  150
\characterdef \cyrdzhe       6c  182
\characterdef \CYRABHHA      6c  151
\characterdef \cyrabhha      6c  183
\characterdef \CYRCHRDSC     6c  152
\characterdef \cyrchrdsc     6c  184
\characterdef \CYRNLHK       6c  153
\characterdef \cyrnlhk       6c  185
\characterdef \CYRSCHWA      6c  154
\characterdef \cyrschwa      6c  186
\characterdef \CYRRHK        6c  155
\characterdef \cyrrhk        6c  187
\characterdef \CYRYO         6c  156
\characterdef \cyryo         6c  188
\characterdef \CYRII         6c  73
\characterdef \cyrii         6c  105
\characterdef \CYRJE         6c  74
\characterdef \cyrje         6c  106
\characterdef \CYRQ          6c  81
\characterdef \cyrq          6c  113
\characterdef \CYRDZE        6c  83
\characterdef \cyrdze        6c  115
\characterdef \CYRW          6c  87
\characterdef \cyrw          6c  119

\accentdef \"  \CYRE      6c  156
\accentdef \"  \cyre      6c  188
\accentdef \U  \CYRI      6c  201
\accentdef \U  \cyri      6c  233
\accentdef \k  \CYRABHCH  6c  201
\accentdef \k  \cyrabhch  6c  233

%% lccodes, uccodes:

\modifydef 6c:lccodes; {%  For \setlang, see langdoc.tex
   \skipfirststep
   \lccodesloop ^^a0^^bc^^80%  from \cyrgup to \cyryo, first cap: \CYRGUP
   \lccodesloop ^^e0^^ff^^c0%  from \cyra to \cyrya, first cap: \CYRA
   \def\lccodesback {\zerolccodes ^^80^^ff}%
}


%%% The CM font metric mapping:

\registerECfont    cmr6c       lcrm %
\registerECfont    cmbx6c      lcbx %
\registerECfont    cmti6c      lcti %
\registerECfont    cmbxti6c    lcbi %
\registerECfont    cmsl6c      lcsl %
\registerECfont    cmbxsl6c    lcbl %

\registerECfont    cmss6c      lcss %
\registerECfont    cmssbx6c    lcsx %
\registerECfont    cmssi6c     lcsi %
\registerECfont    cmssbxti6c  lcso %

\registerECTTfont  cmtt6c      lctt %
\registerECTTfont  cmitt6c     lcit %
\registerECTTfont  cmsltt6c    lcst %








