From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/21392 Path: news.gmane.org!not-for-mail From: Radhelorn Newsgroups: gmane.comp.tex.context Subject: Re: Basic question on Unicode and ConTeXt Date: Fri, 15 Jul 2005 09:16:46 +0400 Message-ID: <42D746BE.3010101@mail.ru> References: <1121368405.42d6b9557eabf@www.domainfactory-webmail.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1121404447 15723 80.91.229.2 (15 Jul 2005 05:14:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 15 Jul 2005 05:14:07 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Jul 15 07:14:02 2005 Return-path: 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 1DtIWB-0006AO-Je for gctc-ntg-context-518@m.gmane.org; Fri, 15 Jul 2005 07:13:47 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 637F5127DE; Fri, 15 Jul 2005 07:13:47 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 20411-01; Fri, 15 Jul 2005 07:13:47 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 47AF7127DD; Fri, 15 Jul 2005 07:11:42 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 41368127DD for ; Fri, 15 Jul 2005 07:11:40 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 20079-03 for ; Fri, 15 Jul 2005 07:11:39 +0200 (CEST) Original-Received: from mx2.mail.ru (mx2.mail.ru [194.67.23.122]) by ronja.ntg.nl (Postfix) with ESMTP id 42B15127D4 for ; Fri, 15 Jul 2005 07:11:39 +0200 (CEST) Original-Received: from [217.106.91.40] (port=42446 helo=[172.16.6.202]) by mx2.mail.ru with esmtp id 1DtIU5-000LVP-00 for ntg-context@ntg.nl; Fri, 15 Jul 2005 09:11:37 +0400 User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <1121368405.42d6b9557eabf@www.domainfactory-webmail.de> X-Virus-Scanned: 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-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on smtp.ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:21392 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:21392 Steffen Wolfrum wrote: >>>I know there is \enableregime[utf] >>>but what else I needed that the output equals my utf-8 input? >>> >>>Could some maybe give a short and usable How-To on common examples: >>>Greek >>>Russian >>>an East European language >>>and an Asian language? >> >>You did read http://contextgarden.net/Encodings_and_Regimes and >>linked pages, did you? >>If you learn anything new, please add it to the wiki! >=20 > Well, yes, I wasn't interested in e.g. VISCII, but I read the info for = UTF. > But as you wrote "linked pages" I became more curious and looked up als= o those > pages. Indeed, there is more: >=20 > But, why is the Vietnamese example with > \enableregime[utf] > \setupencoding[default=3Dt5 > linked under > vis =3D viscii VISCII Vietnamesevis =3D viscii VISCII Vietnamese > and not accessable with > utf UTF-8 Unicode ? (Same for cyrillic) >=20 > Is this just a wrong link, or does this show that I don't have understo= od the > realationship between regimes and encoding? >=20 > Shouldn't all UTF relevant examples be listed under UTF? >=20 >=20 \enableregime is not enough. You need to setup font encoding and=20 appropriate bodyfont. For these see type-enc, type-pre and such. Example for cyrillic: \enableregime [utf] \setupencoding [default=3Dt2a] \usetypescript [modern-base] [\defaultencoding] \setupbodyfont [modern] \starttext =D0=A2=D0=B5=D1=81=D1=82. \stoptext --=20 Radhelorn