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

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

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

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

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

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

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

\accentdef \"  \CYRE   6a  156
\accentdef \"  \cyre   6a  188
\accentdef \U  \CYRI   6a  201
\accentdef \U  \cyri   6a  233
\accentdef \"  \CYRII  6a  136
\accentdef \"  \cyrii  6a  168
\accentdef \c  \CYRZ   6a  134
\accentdef \c  \cyrz   6a  166
\accentdef \k  \CYRS   6a  145
\accentdef \k  \cyrs   6a  177
\accentdef \U  \CYRU   6a  146
\accentdef \U  \cyru   6a  178

%%% lccodes, uccodes:

\modifydef 6a: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    cmr6a       larm %
\registerECfont    cmbx6a      labx %
\registerECfont    cmti6a      lati %
\registerECfont    cmbxti6a    labi %
\registerECfont    cmsl6a      lasl %
\registerECfont    cmbxsl6a    labl %

\registerECfont    cmss6a      lass %
\registerECfont    cmssbx6a    lasx %
\registerECfont    cmssi6a     lasi %
\registerECfont    cmssbxti6a  laso %

\registerECTTfont  cmtt6a      latt %
\registerECTTfont  cmitt6a     lait %
\registerECTTfont  cmsltt6a    last %














