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

% 6t = T2B encoding
 
\protectreading ofs-6t.tex % This is part of OFS package

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

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

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

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

\characterdef \CYRA         6t  192
\characterdef \cyra         6t  224
\characterdef \CYRB         6t  193
\characterdef \cyrb         6t  225
\characterdef \CYRV         6t  194
\characterdef \cyrv         6t  226
\characterdef \CYRG         6t  195
\characterdef \cyrg         6t  227
\characterdef \CYRD         6t  196
\characterdef \cyrd         6t  228
\characterdef \CYRE         6t  197
\characterdef \cyre         6t  229
\characterdef \CYRZH        6t  198
\characterdef \cyrzh        6t  230
\characterdef \CYRZ         6t  199
\characterdef \cyrz         6t  231
\characterdef \CYRI         6t  200
\characterdef \cyri         6t  232
\characterdef \CYRISHRT     6t  201
\characterdef \cyrishrt     6t  233
\characterdef \CYRK         6t  202
\characterdef \cyrk         6t  234
\characterdef \CYRL         6t  203
\characterdef \cyrl         6t  235
\characterdef \CYRM         6t  204
\characterdef \cyrm         6t  236
\characterdef \CYRN         6t  205
\characterdef \cyrn         6t  237
\characterdef \CYRO         6t  206
\characterdef \cyro         6t  238
\characterdef \CYRP         6t  207
\characterdef \cyrp         6t  239
\characterdef \CYRR         6t  208
\characterdef \cyrr         6t  240
\characterdef \CYRS         6t  209
\characterdef \cyrs         6t  241
\characterdef \CYRT         6t  210
\characterdef \cyrt         6t  242
\characterdef \CYRU         6t  211
\characterdef \cyru         6t  243
\characterdef \CYRF         6t  212
\characterdef \cyrf         6t  244
\characterdef \CYRH         6t  213
\characterdef \cyrh         6t  245
\characterdef \CYRC         6t  214
\characterdef \cyrc         6t  246
\characterdef \CYRCH        6t  215
\characterdef \cyrch        6t  247
\characterdef \CYRSH        6t  216
\characterdef \cyrsh        6t  248
\characterdef \CYRSHCH      6t  217
\characterdef \cyrshch      6t  249
\characterdef \CYRHRDSN     6t  218
\characterdef \cyrhrdsn     6t  250
\characterdef \CYRERY       6t  219
\characterdef \cyrery       6t  251
\characterdef \CYRSFTSN     6t  220
\characterdef \cyrsftsn     6t  252
\characterdef \CYREREV      6t  221
\characterdef \cyrerev      6t  253
\characterdef \CYRYU        6t  222
\characterdef \cyryu        6t  254
\characterdef \CYRYA        6t  223
\characterdef \cyrya        6t  255
\characterdef \CYRGDSCHCRS  6t  128
\characterdef \cyrgdschcrs  6t  160
\characterdef \CYRGHCRS     6t  129
\characterdef \cyrghcrs     6t  161
\characterdef \CYRGDSC      6t  130
\characterdef \cyrgdsc      6t  162
\characterdef \CYRGHK       6t  131
\characterdef \cyrghk       6t  163
\characterdef \CYRSHHA      6t  132
\characterdef \cyrshha      6t  164
\characterdef \CYRZHDSC     6t  133
\characterdef \cyrzhdsc     6t  165
\characterdef \CYRDELTA     6t  134
\characterdef \cyrdelta     6t  166
\characterdef \CYRABHDZE    6t  135
\characterdef \cyrabhdze    6t  167
\characterdef \CYRLJE       6t  136
\characterdef \cyrlje       6t  168
\characterdef \CYRKDSC      6t  137
\characterdef \cyrkdsc      6t  169
\characterdef \CYRLDSC      6t  138
\characterdef \cyrldsc      6t  170
\characterdef \CYRKHK       6t  139
\characterdef \cyrkhk       6t  171
\characterdef \CYRLHK       6t  140
\characterdef \cyrlhk       6t  172
\characterdef \CYRNDSC      6t  141
\characterdef \cyrndsc      6t  173
\characterdef \CYRNG        6t  142
\characterdef \cyrng        6t  174
\characterdef \CYRNHK       6t  143
\characterdef \cyrnhk       6t  175
\characterdef \CYROTLD      6t  144
\characterdef \cyrotld      6t  176
\characterdef \CYRSACRS     6t  145
\characterdef \cyrsacrs     6t  177
\characterdef \CYRUSHRT     6t  146
\characterdef \cyrushrt     6t  178
\characterdef \CYRY         6t  147
\characterdef \cyry         6t  179
\characterdef \CYRHHCRS     6t  148
\characterdef \cyrhhcrs     6t  180
\characterdef \CYRHDSC      6t  149
\characterdef \cyrhdsc      6t  181
\characterdef \CYRHHK       6t  150
\characterdef \cyrhhk       6t  182
\characterdef \CYRCHLDSC    6t  151
\characterdef \cyrchldsc    6t  183
\characterdef \CYRCHRDSC    6t  152
\characterdef \cyrchrdsc    6t  184
\characterdef \CYRNJE       6t  153
\characterdef \cyrnje       6t  185
\characterdef \CYRSCHWA     6t  154
\characterdef \cyrschwa     6t  186
\characterdef \CYREPS       6t  155
\characterdef \cyreps       6t  187
\characterdef \CYRYO        6t  156
\characterdef \cyryo        6t  188
\characterdef \CYRII        6t  73
\characterdef \cyrii        6t  105
\characterdef \CYRJE        6t  74
\characterdef \cyrje        6t  106
\characterdef \CYRQ         6t  81
\characterdef \cyrq         6t  113
\characterdef \CYRDZE       6t  83
\characterdef \cyrdze       6t  115
\characterdef \CYRW         6t  87
\characterdef \cyrw         6t  119

\accentdef \"  \CYRE   6a  156
\accentdef \"  \cyre   6a  188
\accentdef \U  \CYRI   6a  201
\accentdef \U  \cyri   6a  233
\accentdef \U  \CYRU   6a  146
\accentdef \U  \cyru   6a  178

%%% lccodes, uccodes:

\modifydef 6t: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    cmr6t       lbrm %
\registerECfont    cmbx6t      lbbx %
\registerECfont    cmti6t      lbti %
\registerECfont    cmbxti6t    lbbi %
\registerECfont    cmsl6t      lbsl %
\registerECfont    cmbxsl6t    lbbl %

\registerECfont    cmss6t      lbss %
\registerECfont    cmssbx6t    lbsx %
\registerECfont    cmssi6t     lbsi %
\registerECfont    cmssbxti6t  lbso %

\registerECTTfont  cmtt6t      lbtt %
\registerECTTfont  cmitt6t     lbit %
\registerECTTfont  cmsltt6t    lbst %

