From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/18261 Path: main.gmane.org!not-for-mail From: Rob Ermers Newsgroups: gmane.comp.tex.context Subject: Re: Russia (cyrillic letters) Date: Sun, 13 Feb 2005 11:39:18 +0100 Message-ID: <420F2E56.9040907@hccnet.nl> References: <420F1F1E.9080401@hccnet.nl> Reply-To: r.ermers@hccnet.nl, mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------090004000700070005040208" X-Trace: sea.gmane.org 1108290774 20211 80.91.229.2 (13 Feb 2005 10:32:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 13 Feb 2005 10:32:54 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sun Feb 13 11:32:54 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 1D0H3V-0000eX-Jd for gctc-ntg-context-518@m.gmane.org; Sun, 13 Feb 2005 11:32:45 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EBEA812783; Sun, 13 Feb 2005 11:34:54 +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 06687-02; Sun, 13 Feb 2005 11:34:54 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F1D9F127E3; Sun, 13 Feb 2005 11:31:26 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A3D03127E3 for ; Sun, 13 Feb 2005 11:31:24 +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 06489-02 for ; Sun, 13 Feb 2005 11:31:23 +0100 (CET) Original-Received: from hnexfe06.hetnet.nl (hnexfe06.hetnet.nl [195.121.6.172]) by ronja.ntg.nl (Postfix) with ESMTP id A83ED127CA for ; Sun, 13 Feb 2005 11:31:23 +0100 (CET) Original-Received: from [127.0.0.1] ([81.206.233.107]) by hnexfe06.hetnet.nl with Microsoft SMTPSVC(5.0.2195.6874); Sun, 13 Feb 2005 11:31:23 +0100 User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en Original-To: Mikael Persson , mailing list for ConTeXt users In-Reply-To: X-OriginalArrivalTime: 13 Feb 2005 10:31:23.0416 (UTC) FILETIME=[2A2C4980:01C511B7] 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:18261 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:18261 This is a multi-part message in MIME format. --------------090004000700070005040208 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Thanks Mikael for your advise. However, I have a 1000 page document which I have been typesetting in=20 Latex thusfar, and I am considering shifting to Context. There are some other things to say about this project, but the first=20 step would be to get koi8 working. I have attached my sample file. Kind regards, Robert Mikael Persson wrote: > On Sun, 13 Feb 2005 10:34:22 +0100, Rob Ermers wro= te: >=20 >>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=3Dt2a] >> >>\definetypeface [swedish] >> [rm] [serif] [latin-modern] [default] [encoding=3Dtexnansi] >> >>\setupbodyfont[russian] >> >>\starttext >>Some swedish text: >> >>{\switchtobodyfont[swedish]Jag tycker att Katja studerar d\aring ligt.} >> >>Some russian text: >> >>=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 >> >>%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 >=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. >=20 > 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. >=20 > /Micke P >=20 > 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... > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context >=20 >=20 --------------090004000700070005040208 Content-Type: text/plain; name="rus-example.tex" Content-Disposition: inline; filename="rus-example.tex" Content-Transfer-Encoding: quoted-printable \enableregime[koi8-r] \useencoding[cyr] \definetypeface [russian] [rm] [serif] [computer-modern] [default] [encoding=3Dt2a] \definetypeface [swedish] [rm] [serif] [latin-modern] [default] [encoding=3Dtexnansi] \setupbodyfont[russian] \starttext Some swedish text: {\switchtobodyfont[swedish]Jag tycker att Katja studerar d\aring ligt.} Some russian text: =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 %=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 --------------090004000700070005040208 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context --------------090004000700070005040208--