From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/40830 Path: news.gmane.org!not-for-mail From: Oleg Kolosov Newsgroups: gmane.comp.tex.context Subject: Re: minimal example for Cyrillic Date: Wed, 30 Apr 2008 20:38:05 +0400 Message-ID: <4818A06D.9000705@mail.ru> References: <87mynesb2u.fsf@nitai.hr> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1058553441==" X-Trace: ger.gmane.org 1209573840 12199 80.91.229.12 (30 Apr 2008 16:44:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 30 Apr 2008 16:44:00 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Apr 30 18:44:35 2008 connect(): Connection refused Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1JrFPy-0004za-U2 for gctc-ntg-context-518@m.gmane.org; Wed, 30 Apr 2008 18:44:31 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E2BCC1FC06; Wed, 30 Apr 2008 18:43:46 +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 10524-01-6; Wed, 30 Apr 2008 18:43:06 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E477B1FBEF; Wed, 30 Apr 2008 18:43:05 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 395171FBEF for ; Wed, 30 Apr 2008 18:43:00 +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 10524-01-5 for ; Wed, 30 Apr 2008 18:42:24 +0200 (CEST) Original-Received: from mx27.mail.ru (mx27.mail.ru [194.67.23.23]) by ronja.ntg.nl (Postfix) with ESMTP id 9E0851FBE8 for ; Wed, 30 Apr 2008 18:42:23 +0200 (CEST) Original-Received: from [80.254.105.157] (port=35323 helo=[80.254.105.157]) by mx27.mail.ru with asmtp id 1JrFNu-000EGm-00 for ntg-context@ntg.nl; Wed, 30 Apr 2008 20:42:22 +0400 User-Agent: Thunderbird 2.0.0.12 (X11/20080423) In-Reply-To: <87mynesb2u.fsf@nitai.hr> X-Spam: Not detected X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:40830 Archived-At: This is a multi-part message in MIME format. --===============1058553441== Content-Type: multipart/alternative; boundary="------------020304020307090801040500" This is a multi-part message in MIME format. --------------020304020307090801040500 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable \usetypescript[modern-base][t2a] \setupbodyfont[modern] Should work in MkII if you have cm-super font package installed, but=20 doesn't work for me, so I personally use my own typescript with custom=20 fonts. Maybe someone can help me figure out why ConTeXt doesn't try to=20 generate .tfm's for cm-super? Is there some command to increase verbosity= ? Gour wrote: > Hello! > > I was able to persuade one user to prepare ConTeXt package for NixOS > distro, but, unfortunately, being from Russia he quickly discovered tha= t > he minimal example from wiki (http://wiki.contextgarden.net/Russian) > does not work, i.e. > > \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= characters > \stoptext > > > does transliterate Russian characters. > > I do not have any experience working with Cyrillic, so if anyone can > provide minimal working example it would be very nice? > > I persistently claimed that "it must work!" :-) > > > Sincerely, > Gour > > =20 > -----------------------------------------------------------------------= - > > _______________________________________________________________________= ____________ > If your question is of interest to others as well, please add an entry = to the Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-= context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > _______________________________________________________________________= ____________ > =20 --=20 Best Regards, Oleg Kolosov --------------020304020307090801040500 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable \usetypescript[modern-base][t2a]
\setupbodyfont[modern]

Should work in MkII if you have cm-super font package installed, but doesn't work for me, so I personally use my own typescript with custom fonts. Maybe someone can help me figure out why ConTeXt doesn't try to generate .tfm's for cm-super? Is there some command to increase verbosity?

Gour wrote:
Hello!

I was able to persuade one user to prepare ConTeXt package for NixOS
distro, but, unfortunately, being from Russia he quickly discovered that
he minimal example from wiki (http://wiki.contextgarden.net/Russ=
ian)
does not work, i.e.

\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 c=
haracters
\stoptext


does transliterate Russian characters.

I do not have any experience working with Cyrillic, so if anyone can
provide minimal working example it would be very nice?

I persistently claimed that "it must work!" :-)


Sincerely,
Gour

  

_________________________________________________________________________= __________ If your question is of interest to others as well, please add an entry to= the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/m= ailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/context= rev/ wiki : http://contextgarden.net _________________________________________________________________________= __________

--=20
Best Regards,
Oleg Kolosov
--------------020304020307090801040500-- --===============1058553441== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============1058553441==--