From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/18056 Path: main.gmane.org!not-for-mail From: Mikael Persson Newsgroups: gmane.comp.tex.context Subject: Re: Russia (cyrillic letters) Date: Mon, 31 Jan 2005 21:21:22 +0100 Message-ID: References: <20050127144629.6537@news.comp.lancs.ac.uk> <41FA00D7.3030508@wxs.nl> <41FB91D2.4010001@wxs.nl> <41FD57E7.2070209@wxs.nl> Reply-To: Mikael Persson , mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1107203136 14927 80.91.229.6 (31 Jan 2005 20:25:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 31 Jan 2005 20:25:36 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Jan 31 21:25:30 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Cvi70-0000ek-00 for ; Mon, 31 Jan 2005 21:25:30 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BA3F312792; Mon, 31 Jan 2005 21:25:41 +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 04667-03; Mon, 31 Jan 2005 21:25:41 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7704E12791; Mon, 31 Jan 2005 21:21:26 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 49C8B12791 for ; Mon, 31 Jan 2005 21:21: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 04667-02-2 for ; Mon, 31 Jan 2005 21:21:23 +0100 (CET) Original-Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.203]) by ronja.ntg.nl (Postfix) with ESMTP id 5E5E11278F for ; Mon, 31 Jan 2005 21:21:23 +0100 (CET) Original-Received: by wproxy.gmail.com with SMTP id 50so921967wri for ; Mon, 31 Jan 2005 12:21:22 -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=Dy9//V0MElfFDcnWCigGaZEjolSzKDsk4gYCFtIEhWDo1BK2YwpSK3zTGWNaKwEVWr46XMFTWeMu1CcrUIBMeumeM1TInm9o1BbWSwsd3TYJ4Db/VQPR9kdWjFFFwwIRgXWJN9pxEuhVnYtx9bNcJpbuJocAn9ljE44/TDb5ZYQ= Original-Received: by 10.54.32.33 with SMTP id f33mr65830wrf; Mon, 31 Jan 2005 12:21:22 -0800 (PST) Original-Received: by 10.54.40.52 with HTTP; Mon, 31 Jan 2005 12:21:22 -0800 (PST) Original-To: mailing list for ConTeXt users In-Reply-To: <41FD57E7.2070209@wxs.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 Xref: main.gmane.org gmane.comp.tex.context:18056 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:18056 On Sun, 30 Jan 2005 22:55:51 +0100, h h extern wrote: > Mikael Persson wrote: >=20 > > Hm, I am entering utf8 code. I am not sure how it got converted in the > > email, however, when I type my .tex file I am sure that it is in > > utf-8. But you mean that this example should work? > > > > I attatch the testfile and the resulting pdf and logs and so on... >=20 > tracing shows that the utf part is okay: >=20 > \enableregime[utf] >=20 > % \definetypeface [russian] > % [rm] [serif] [computer-modern] [default] [encoding=3Dt2a] > % > % \setupbodyfont[russian] >=20 > \starttext >=20 > \startbuffer > =C3=90=C5=93=C3=90=C2=B0=C3=90=C2=BC=C3=90=C2=B0 =C3=90=C2=B8 =C3=90=C5= =B8=C3=90=C2=B0=C3=90=C2=BF=C3=90=C2=B0 % Some russian characters > \stopbuffer >=20 > \chardef\utfunicodetracer=3D0 \blank \getbuffer \blank > \chardef\utfunicodetracer=3D2 \blank \getbuffer \blank > \chardef\utfunicodetracer=3D7 \blank \getbuffer \blank >=20 > \stoptext >=20 > but i cannot test the font part, can you send me a zip with your t2a tfm = files > and map file and enc file? >=20 > Hans Just for information (mostly to the ones reading this email list from archives). It now works using utf input and get. A minimal file: % start of test file % \enableregime[utf] \useencoding[cyr] \definetypeface [russian] [rm] [serif] [computer-modern] [default] [encoding=3Dt2a] \setupbodyfont[russian] \starttext =D0=9C=D0=B0=D0=BC=D0=B0 =D0=B8 =D0=9F=D0=B0=D0=BF=D0=B0 % Some russian ch= aracters \stoptext % stop of test file % For this to work, you have to generate the tfm-files if you do not already have them (which can be done with the afm2tfm util). Thanks Hans and Adam for the fast replies to get this working :) /Micke P