%D \module
%D   [       file=lang-cyr,
%D        version=2003.01.24,
%D          title=\CONTEXT\ Language Macros,
%D       subtitle=Cyrillic Languages,
%D         author=see below,
%D           date=\currentdate,
%D      copyright={PRAGMA / Hans Hagen \& Ton Otten}]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for 
%C details. 

\writestatus{loading}{Cyrillic Languages}

%D The cyrillic languages always use a dedicated input regime.
%D Therefore we define the labels using symbolic names.
%D Support for cyrillic is initiated by Olga Briginets who
%D also layed the base for the language, encoding and font
%D definition. Later Alexander Bokovoy and Victor Figurnov 
%D improved things. I (Hans Hagen) mainly cleaned things up 
%D a bit. 

\unprotect

\installlanguage
  [\s!ru]
  [\s!lefthyphenmin=2,
   \s!righthyphenmin=2,
   \c!spatiering=\v!opelkaar,
   \c!leftsentence=\leftguillemot,
   \c!rightsentence=\rightguillemot,
   \c!leftsubsentence=\lowerleftdoubleninequote,
   \c!rightsubsentence=\upperrightdoubleninequote,
   \c!leftquote=\lowerleftdoubleninequote,
   \c!rightquote=\upperrightdoubleninequote,
   \c!leftquotation=\leftguillemot,
   \c!rightquotation=\rightguillemot,
   \c!datum={\v!dag,\ ,\v!maand,\ ,\v!jaar},
   \c!status=\v!stop]

\installlanguage
  [\s!ua]
  [\s!lefthyphenmin=2,
   \s!righthyphenmin=2,
   \c!spatiering=\v!opelkaar,
   \c!leftsentence=\leftguillemot,
   \c!rightsentence=\rightguillemot,
   \c!leftsubsentence=\lowerleftdoubleninequote,
   \c!rightsubsentence=\upperrightdoubleninequote,
   \c!leftquote=\lowerleftdoubleninequote,
   \c!rightquote=\upperrightdoubleninequote,
   \c!leftquotation=\leftguillemot,
   \c!rightquotation=\rightguillemot,
   \c!datum={\v!dag,\ ,\v!maand,\ ,\v!jaar},
   \c!status=\v!stop]

\installlanguage [russian]      [\s!ru]
\installlanguage [ukrainian]    [\s!ua]


%D Labels and header texts.

\setupheadtext [\s!ru]     [ \v!inhoud=\cyrillicS \cyrillico \cyrillicd
                                       \cyrillice \cyrillicr \cyrilliczh
                                       \cyrillica \cyrillicn \cyrillici
                                       \cyrillice]
\setupheadtext [\s!ua]      [\v!inhoud=\cyrillicZ \cyrillicm \cyrillicii
                                       \cyrillics \cyrillict]

\setupheadtext [\s!ru]    [\v!tabellen=\cyrillicS \cyrillicp \cyrillici
                                       \cyrillics \cyrillico \cyrillick
                                       \space     \cyrillict \cyrillica
                                       \cyrillicb \cyrillicl \cyrillici
                                       \cyrillicc]
\setupheadtext [\s!ua]    [\v!tabellen=\cyrillicP \cyrillice \cyrillicr
                                       \cyrillice \cyrillicl \cyrillicii
                                       \cyrillick \space     \cyrillict
                                       \cyrillica \cyrillicb \cyrillicl
                                       \cyrillici \cyrillicc \cyrillicsftsn]

\setupheadtext [\s!ru]     [\v!figuren=\cyrillicS \cyrillicp \cyrillici
                                       \cyrillics \cyrillico \cyrillick
                                       \space     \cyrillici \cyrillicl
                                       \cyrillicl \cyrillicyu\cyrillics
                                       \cyrillict \cyrillicr \cyrillica
                                       \cyrillicc \cyrillici \cyrillicishrt]
\setupheadtext [\s!ua]     [\v!figuren=\cyrillicP \cyrillice \cyrillicr
                                       \cyrillice \cyrillicl \cyrillicii
                                       \cyrillick \space     \cyrillicii
                                       \cyrillicl \cyrillicyu\cyrillics
                                       \cyrillict \cyrillicr \cyrillica
                                       \cyrillicc \cyrillicii\cyrillicishrt]

\setupheadtext [\s!ru]   [\v!grafieken=\cyrillicS \cyrillicp \cyrillici
                                       \cyrillics \cyrillico \cyrillick
                                       \space     \cyrillicg \cyrillicr
                                       \cyrillica \cyrillicf \cyrillici
                                       \cyrillick \cyrillico \cyrillicv]
\setupheadtext [\s!ua]   [\v!grafieken=\cyrillicP \cyrillice \cyrillicr
                                       \cyrillice \cyrillicl \cyrillicii
                                       \cyrillick \space     \cyrillicg
                                       \cyrillicr \cyrillica \cyrillicf
                                       \cyrillicii\cyrillick \cyrillico
                                       \cyrillicv]

\setupheadtext [\s!ru] [\v!intermezzos=\cyrillicS \cyrillicp \cyrillici
                                       \cyrillics \cyrillico \cyrillick
                                       \space     \cyrillicv \cyrillics
                                       \cyrillict \cyrillica \cyrillicv
                                       \cyrillico \cyrillick]
\setupheadtext [\s!ua] [\v!intermezzos=\cyrillicP \cyrillice \cyrillicr
                                       \cyrillice \cyrillicl \cyrillicii
                                       \cyrillick \space     \cyrillicv
                                       \cyrillics \cyrillict \cyrillica
                                       \cyrillicv \cyrillico \cyrillick]

\setupheadtext [\s!ru]       [\v!index=\cyrillicA \cyrillicl \cyrillicf
                                       \cyrillica \cyrillicv \cyrillici
                                       \cyrillict \cyrillicn \cyrillicery
                                       \cyrillicishrt \space \cyrillicu
                                       \cyrillick \cyrillica \cyrillicz
                                       \cyrillica \cyrillict \cyrillice
                                       \cyrillicl \cyrillicsftsn]
\setupheadtext [\s!ua]       [\v!index=\cyrillicP  \cyrillico \cyrillick
                                       \cyrillica  \cyrilliczh\cyrillicch
                                       \cyrillici  \cyrillick]

\setupheadtext [\s!ru] [\v!afkortingen=\cyrillicS \cyrillicp \cyrillici
                                       \cyrillics \cyrillico \cyrillick
                                       \space     \cyrillics \cyrillico
                                       \cyrillick \cyrillicr \cyrillica
                                       \cyrillicshch         \cyrillice
                                       \cyrillicn
                                       \cyrillici \cyrillicishrt]
\setupheadtext [\s!ua] [\v!afkortingen=\cyrillicP \cyrillice \cyrillicr
                                       \cyrillice \cyrillicl \cyrillicii
                                       \cyrillick \space     \cyrillics
                                       \cyrillick \cyrillico \cyrillicr
                                       \cyrillico \cyrillicch\cyrillice
                                       \cyrillicn \cyrillicsftsn]

\setupheadtext [\s!ru]       [\v!logos=\cyrillicL \cyrillico \cyrillicg
                                       \cyrillico \cyrillict \cyrillici
                                       \cyrillicp \cyrillicery]
\setupheadtext [\s!ua]       [\v!logos=\cyrillicL \cyrillico \cyrillicg
                                       \cyrillico \cyrillict \cyrillici
                                       \cyrillicp \cyrillici]

\setupheadtext [\s!ru]    [\v!eenheden=\cyrillicE \cyrillicd \cyrillici
                                       \cyrillicn \cyrillici \cyrillicc
                                       \cyrillicery \space   \cyrillici
                                       \cyrillicz \cyrillicm \cyrillice
                                       \cyrillicr \cyrillice \cyrillicn
                                       \cyrillici \cyrillicya]
\setupheadtext [\s!ua]    [\v!eenheden=\cyrillicO \cyrillicd \cyrillici
                                       \cyrillicn \cyrillici \cyrillicc
                                       \cyrillicii\space     \cyrillicv
                                       \cyrillici \cyrillicm \cyrillicii
                                       \cyrillicr \cyrillicu]

\setuplabeltext [\s!ru]      [\v!tabel=\cyrillicT \cyrillica \cyrillicb
                                       \cyrillicl \cyrillici \cyrillicc
                                       \cyrillica \space]
\setuplabeltext [\s!ua]      [\v!tabel=\cyrillicT \cyrillica \cyrillicb
                                       \cyrillicl \cyrillici \cyrillicc
                                       \cyrillicya\space]

\setuplabeltext [\s!ru]     [\v!figuur=\cyrillicR \cyrillici \cyrillics
                                       \cyrillicu \cyrillicn \cyrillico
                                       \cyrillick \space]
\setuplabeltext [\s!ua]     [\v!figuur=\cyrillicM \cyrillica \cyrillicl
                                       \cyrillicyu\cyrillicn \cyrillico
                                       \cyrillick \space]

\setuplabeltext [\s!ru] [\v!intermezzo=\cyrillicV \cyrillics \cyrillict
                                       \cyrillica \cyrillicv \cyrillick
                                       \cyrillica \space]
\setuplabeltext [\s!ua] [\v!intermezzo=\cyrillicV \cyrillics \cyrillict
                                       \cyrillica \cyrillicv \cyrillick
                                       \cyrillica \space]

\setuplabeltext [\s!ru]    [\v!grafiek=\cyrillicG \cyrillicr \cyrillica
                                       \cyrillicf \cyrillici \cyrillick
                                       \space]
\setuplabeltext [\s!ua]    [\v!grafiek=\cyrillicG \cyrillicr \cyrillica
                                       \cyrillicf \cyrillici \cyrillick
                                       \space]

\setuplabeltext [\s!ru]                    [\v!hoofdstuk=]
\setuplabeltext [\s!ua]                    [\v!hoofdstuk=]

\setuplabeltext [\s!ru]                    [\v!paragraaf=]
\setuplabeltext [\s!ua]                    [\v!paragraaf=]

\setuplabeltext [\s!ru]              [\v!sub\v!paragraaf=]
\setuplabeltext [\s!ua]              [\v!sub\v!paragraaf=]

\setuplabeltext [\s!ru]        [\v!sub\v!sub\v!paragraaf=]
\setuplabeltext [\s!ua]        [\v!sub\v!sub\v!paragraaf=]

\setuplabeltext [\s!ru]  [\v!sub\v!sub\v!sub\v!paragraaf=]
\setuplabeltext [\s!ua]  [\v!sub\v!sub\v!sub\v!paragraaf=]

\setuplabeltext [\s!ru]                      [\v!bijlage=]
\setuplabeltext [\s!ua]                      [\v!bijlage=]

\setuplabeltext [\s!ru]      [\v!deel=\cyrillicCH\cyrillica \cyrillics
                                      \cyrillict \cyrillicsftsn
                                      \space]
\setuplabeltext [\s!ua]      [\v!deel=\cyrillicCH\cyrillica \cyrillics
                                      \cyrillict \cyrillici \cyrillicn
                                      \cyrillica \space]

\setuplabeltext [\s!ru]     [\v!regel=\cyrillics \cyrillict \cyrillicr
                                      \cyrillico \cyrillick \cyrillica
                                      \space]
\setuplabeltext [\s!ua]     [\v!regel=\cyrillicr \cyrillicya\cyrillicd
                                      \cyrillico \cyrillick \space]

\setuplabeltext [\s!ru]    [\v!regels=\cyrillics \cyrillict \cyrillicr
                                      \cyrillico \cyrillick \cyrillici
                                      \space]
\setuplabeltext [\s!ua]    [\v!regels=\cyrillicr \cyrillicya\cyrillicd
                                      \cyrillick \cyrillici \space]

\setuplabeltext [\s!ru]    [\v!pagina=\cyrillics \cyrillict \cyrillicr
                                      \cyrillica \cyrillicn \cyrillici
                                      \cyrillicc \cyrillica \space]
\setuplabeltext [\s!ru]  [\v!oppagina=\cyrillicn \cyrillica \space
                                      \cyrillics \cyrillict \cyrillicr
                                      \cyrillica \cyrillicn \cyrillici
                                      \cyrillicc \cyrillice \space]
\setuplabeltext [\s!ru] [\v!hierboven=\cyrillics \cyrillicm.\space
                                      \cyrillicv \cyrillicery \cyrillicsh
                                      \cyrillice]
\setuplabeltext [\s!ru] [\v!hieronder=\cyrillics \cyrillicm.\space
                                      \cyrillicn \cyrillici \cyrilliczh
                                      \cyrillice]
\setuplabeltext [\s!ru]       [\v!zie=\cyrillics \cyrillicm.\space]

\setuplabeltext [\s!en]    [\v!pagina=\cyrillics \cyrillict \cyrillico
                                      \cyrillicr \cyrillicii\cyrillicn
                                      \cyrillick \cyrillica \space]
\setuplabeltext [\s!en]  [\v!oppagina=\cyrillicn \cyrillica \space
                                      \cyrillics \cyrillict \cyrillico
                                      \cyrillicr \cyrillicii\cyrillicn
                                      \cyrillicc \cyrillicii\space]
\setuplabeltext [\s!en] [\v!hierboven=\cyrillicya\cyrillick \space
                                      \cyrillicp \cyrillico \cyrillick
                                      \cyrillica \cyrillicz \cyrillica
                                      \cyrillicn \cyrillico \space
                                      \cyrillicv \cyrillici \cyrillicshch
                                      \cyrilice]
\setuplabeltext [\s!en] [\v!hieronder=\cyrillicya\cyrillick \space
                                      \cyrillicp \cyrillico \cyrillick
                                      \cyrillica \cyrillicz \cyrillica
                                      \cyrillicn \cyrillico \space
                                      \cyrillicn \cyrillici \cyrilliczh
                                      \cyrillicch\cyrillice]
\setuplabeltext [\s!en]       [\v!zie=\cyrillicd \cyrillici \cyrillicv.\ ]


\setuplabeltext [\s!ru]   [\v!january=\cyrillicya\cyrillicn \cyrillicv
                                      \cyrillica \cyrillicr \cyrillicya]
\setuplabeltext [\s!ru]  [\v!february=\cyrillicf \cyrillice \cyrillicv
                                      \cyrillicr \cyrillica \cyrillicl
                                      \cyrillicya]
\setuplabeltext [\s!ru]     [\v!march=\cyrillicm \cyrillica \cyrillicr
                                      \cyrillict \cyrillica]
\setuplabeltext [\s!ru]     [\v!april=\cyrillica \cyrillicp \cyrillicr
                                      \cyrillice \cyrillicl \cyrillicya]
\setuplabeltext [\s!ru]       [\v!may=\cyrillicm \cyrillica \cyrillicya]
\setuplabeltext [\s!ru]      [\v!june=\cyrillici \cyrillicyu\cyrillicn
                                      \cyrillicya]
\setuplabeltext [\s!ru]      [\v!july=\cyrillici \cyrillicyu\cyrillicl
                                      \cyrillicya]
\setuplabeltext [\s!ru]    [\v!august=\cyrillica \cyrillicv \cyrillicg
                                      \cyrillicu \cyrillics \cyrillict
                                      \cyrillica]
\setuplabeltext [\s!ru] [\v!september=\cyrillics \cyrillice \cyrillicn
                                      \cyrillict \cyrillicya\cyrillicb
                                      \cyrillicr \cyrillicya]
\setuplabeltext [\s!ru]   [\v!october=\cyrillico \cyrillick \cyrillict
                                      \cyrillicya\cyrillicb \cyrillicr
                                      \cyrillicya]
\setuplabeltext [\s!ru]  [\v!november=\cyrillicn \cyrillico \cyrillicya
                                      \cyrillicb \cyrillicr \cyrillicya]
\setuplabeltext [\s!ru]  [\v!december=\cyrillicd \cyrillice \cyrillick
                                      \cyrillica \cyrillicb \cyrillicr
                                      \cyrillicya]

\setuplabeltext [\s!ua]   [\v!january=\cyrillics \cyrillicii\cyrillicch
                                      \cyrillicn \cyrillicya]
\setuplabeltext [\s!ua]  [\v!february=\cyrillicl \cyrillicyu\cyrillict
                                      \cyrillico \cyrillicg \cyrillico]
\setuplabeltext [\s!ua]     [\v!march=\cyrillicb \cyrillice \cyrillicr
                                      \cyrillice \cyrillicz \cyrillicn
                                      \cyrillicya]
\setuplabeltext [\s!ua]     [\v!april=\cyrillick \cyrillicv \cyrillicii
                                      \cyrillict \cyrillicn \cyrillicya]
\setuplabeltext [\s!ua]       [\v!may=\cyrillict \cyrillicr \cyrillica
                                      \cyrillicv \cyrillicn \cyrillicya]
\setuplabeltext [\s!ua]      [\v!june=\cyrillicch\cyrillice \cyrillicr
                                      \cyrillicv \cyrillicn \cyrillicya]
\setuplabeltext [\s!ua]      [\v!july=\cyrillicl \cyrillici \cyrillicp
                                      \cyrillicn \cyrillicya]
\setuplabeltext [\s!ua]    [\v!august=\cyrillics \cyrillice \cyrillicr
                                      \cyrillicp \cyrillicn \cyrillicya]
\setuplabeltext [\s!ua] [\v!september=\cyrillicv \cyrillice \cyrillicr
                                      \cyrillice \cyrillics \cyrillicn
                                      \cyrillicya]
\setuplabeltext [\s!ua]   [\v!october=\cyrilliczh\cyrillico \cyrillicv
                                      \cyrillict \cyrillicn \cyrillicya]
\setuplabeltext [\s!ua]  [\v!november=\cyrillicl \cyrillici \cyrillics
                                      \cyrillict \cyrillico \cyrillicp
                                      \cyrillica \cyrillicd \cyrillica]
\setuplabeltext [\s!ua]  [\v!december=\cyrillicg \cyrillicr \cyrillicu
                                      \cyrillicd \cyrillicn \cyrillicya]

\setuplabeltext [\s!ru]    [\v!sunday=\cyrillicv \cyrillico \cyrillics
                                      \cyrillick \cyrillicr \cyrillice
                                      \cyrillics \cyrillice \cyrillicn
                                      \cyrillicsftsn        \cyrillice]
\setuplabeltext [\s!ru]    [\v!monday=\cyrillicp \cyrillico \cyrillicn
                                      \cyrillice \cyrillicd \cyrillice
                                      \cyrillicl \cyrillicsftsn
                                      \cyrillicn \cyrillici \cyrillick]
\setuplabeltext [\s!ru]   [\v!tuesday=\cyrillicv \cyrillict \cyrillico
                                      \cyrillicr \cyrillicn \cyrillici
                                      \cyrillick]
\setuplabeltext [\s!ru] [\v!wednesday=\cyrillics \cyrillicr \cyrillice
                                      \cyrillicd \cyrillica]
\setuplabeltext [\s!ru]  [\v!thursday=\cyrillicch\cyrillice \cyrillict
                                      \cyrillicv \cyrillice \cyrillicr
                                      \cyrillicg]
\setuplabeltext [\s!ru]    [\v!friday=\cyrillicp \cyrillicya\cyrillict
                                      \cyrillicn \cyrillici \cyrillicc
                                      \cyrillica]
\setuplabeltext [\s!ru]  [\v!saturday=\cyrillics \cyrillicu \cyrillicb
                                      \cyrillicb \cyrillico \cyrillict
                                      \cyrillica]

\setuplabeltext [\s!ua]    [\v!sunday=\cyrillicn \cyrillice \cyrillicd
                                      \cyrillicii\cyrillicl \cyrillicya]
\setuplabeltext [\s!ua]    [\v!monday=\cyrillicp \cyrillico \cyrillicn
                                      \cyrillice \cyrillicd \cyrillicii
                                      \cyrillicl \cyrillico \cyrillick]
\setuplabeltext [\s!ua]   [\v!tuesday=\cyrillicv \cyrillicii\cyrillicv
                                      \cyrillict \cyrillico \cyrillicr
                                      \cyrillico \cyrillick]
\setuplabeltext [\s!ua] [\v!wednesday=\cyrillics \cyrillice \cyrillicr
                                      \cyrillice \cyrillicd \cyrillica]
\setuplabeltext [\s!ua]  [\v!thursday=\cyrillicch\cyrillice \cyrillict
                                      \cyrillicv \cyrillice \cyrillicr]
\setuplabeltext [\s!ua]    [\v!friday=\cyrillicp'\cyrillicya\cyrillict
                                      \cyrillicn \cyrillici \cyrillicc
                                      \cyrillicya]
\setuplabeltext [\s!ua]  [\v!saturday=\cyrillics \cyrillicu \cyrillicb
                                      \cyrillico \cyrillict \cyrillica]

\protect \endinput
