From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/18259 Path: main.gmane.org!not-for-mail From: Mikael Persson Newsgroups: gmane.comp.tex.context Subject: Re: Russia (cyrillic letters) Date: Sun, 13 Feb 2005 10:40:25 +0100 Message-ID: References: <420F1F1E.9080401@hccnet.nl> Reply-To: Mikael Persson , mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1108287608 14532 80.91.229.2 (13 Feb 2005 09:40:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 13 Feb 2005 09:40:08 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sun Feb 13 10:40:07 2005 Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1D0GEV-0002yL-NO for gctc-ntg-context-518@m.gmane.org; Sun, 13 Feb 2005 10:40:03 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C64B71278B; Sun, 13 Feb 2005 10:42:12 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 06071-05; Sun, 13 Feb 2005 10:42:12 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6CE10127D6; Sun, 13 Feb 2005 10:40:29 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1F473127D6 for ; Sun, 13 Feb 2005 10:40:28 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 06071-04 for ; Sun, 13 Feb 2005 10:40:27 +0100 (CET) Original-Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.197]) by ronja.ntg.nl (Postfix) with ESMTP id 0820F1278B for ; Sun, 13 Feb 2005 10:40:26 +0100 (CET) Original-Received: by wproxy.gmail.com with SMTP id 50so575997wri for ; Sun, 13 Feb 2005 01:40:25 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=KviziSpQ6TVo3OiYWuEBQbL1Kg7E9SzmHiJqkeI0XMzHImHHuaVHd4+x2mJ4mHDzh8clsAjfterAScWxjyx0hNWQnDdpGXi935mIgSGhRrxRwdqQSSsa5DePiBC64bsZCn82lByBOopn4gV6ISI9f7qG5ew9JMO6I0o1NPXRM5s= Original-Received: by 10.54.52.74 with SMTP id z74mr53068wrz; Sun, 13 Feb 2005 01:40:25 -0800 (PST) Original-Received: by 10.54.40.67 with HTTP; Sun, 13 Feb 2005 01:40:25 -0800 (PST) Original-To: r.ermers@hccnet.nl, mailing list for ConTeXt users In-Reply-To: <420F1F1E.9080401@hccnet.nl> X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: by amavisd-new at ntg.nl X-MailScanner-From: ntg-context-bounces@ntg.nl X-MailScanner-To: gctc-ntg-context-518@m.gmane.org Xref: main.gmane.org gmane.comp.tex.context:18259 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:18259 On Sun, 13 Feb 2005 10:34:22 +0100, Rob Ermers wrote: > Dear Contexers, >=20 > 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. >=20 > Can anyone help me out? >=20 > Kind regards >=20 > Robert Ermers >=20 > ----------- >=20 > \enableregime[koi8-r] > \useencoding[cyr] >=20 > \definetypeface [russian] > [rm] [serif] [computer-modern] [default] [encoding=3Dt2a] >=20 > \definetypeface [swedish] > [rm] [serif] [latin-modern] [default] [encoding=3Dtexnansi] >=20 > \setupbodyfont[russian] >=20 > \starttext > Some swedish text: >=20 > {\switchtobodyfont[swedish]Jag tycker att Katja studerar d\aring ligt.} >=20 > Some russian text: >=20 > =C2=CC=C1=C7=CF=D3=CC=CF=D7=C9=D4 =E1=CC=CC=C1=C8 =C5=C7=CF =C9 =C5=C7=CF= =C2=CC=C9=D6=CE=C9=C8 =C2=CC=C1=C7=CF=D2=CF=C4=CE=C5=CA=DB=C5=C7=CF =D0=D2= =CF=C9=D3=C8=CF=D6=C4=C5=CE=C9=D1 =C9 > =C4=C1=D2=D5=C5=D4 =C9=CD =CD=C9=D2 >=20 > %this sample works, but it's not koi8: =CC=E8=E5 =EA=E0=E6=E5=F2=F1=FF, = =F7=F2=EE =CA=E0=F2=FF =EF=EB=EE=F5=EE =F3=F7=E8=F2=F1=FF. > \stoptext > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context >=20 Hm, there seems to be a problem somewhere, saving a file on my computer, uploading it to the web-server, downloading it to your place and opening it. It is probably the web server that tells it is not koi8-r but iso8859-1 or something. However, the koi8-r is not yet working. What is working is the Windows-1251 encoding, as in the example (ok, type your own russian characters and be sure to save the file in Windows-1251 encoding). I would recommend though, to use utf-8 as described at http://contextgarden.net/Russian . I should probably remove my page and refer to the one at contextgarden instead. I had a conversation with Hans about adding support for koi8r aswell, but I don't know exactly what to do. If somebody tells me, then I'll do it. /Micke P PS I spoke to another russian I know, who is a Windows person. She told me that they use the Windows-1251 encoding at her department, contrary to the first russian I asked who said koi8r was the most common...