[NTG-context] Russia (cyrillic letters)

Rob Ermers r.ermers at hccnet.nl
Sun Feb 13 10:34:22 CET 2005


Dear Contexers,

I am still struggling with a Russian text in koi8.
The sample below, which I partially copied (from Mikael Persson's site) 
does not work.

Can anyone help me out?

Kind regards

Robert Ermers

-----------

\enableregime[koi8-r]
\useencoding[cyr]

\definetypeface [russian]
   [rm] [serif] [computer-modern] [default] [encoding=t2a]

\definetypeface [swedish]
   [rm] [serif] [latin-modern] [default] [encoding=texnansi]

\setupbodyfont[russian]

\starttext
Some swedish text:

{\switchtobodyfont[swedish]Jag tycker att Katja studerar d\aring ligt.}

Some russian text:

ÂÌÁÇÏÓÌÏ×ÉÔ áÌÌÁÈ ÅÇÏ É ÅÇÏ ÂÌÉÖÎÉÈ ÂÌÁÇÏÒÏÄÎÅÊÛÅÇÏ ÐÒÏÉÓÈÏÖÄÅÎÉÑ É 
ÄÁÒÕÅÔ ÉÍ ÍÉÒ

%this sample works, but it's not koi8: Ìèå êàæåòñÿ, ÷òî Êàòÿ ïëîõî ó÷èòñÿ.
\stoptext


More information about the ntg-context mailing list