From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/44734 Path: news.gmane.org!not-for-mail From: Radhelorn Newsgroups: gmane.comp.tex.context Subject: Re: minimal example for Cyrillic Date: Tue, 14 Oct 2008 16:01:34 +0400 Message-ID: <48F48A1E.6060108@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="===============1590937474==" X-Trace: ger.gmane.org 1223986174 11249 80.91.229.12 (14 Oct 2008 12:09:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 Oct 2008 12:09:34 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Oct 14 14:10:34 2008 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 1Kpigo-0005eB-Vc for gctc-ntg-context-518@m.gmane.org; Tue, 14 Oct 2008 14:07:51 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7A9061FC7A; Tue, 14 Oct 2008 14:06:44 +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 23389-05-2; Tue, 14 Oct 2008 14:05:43 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E2BEF1FD5E; Tue, 14 Oct 2008 14:05:42 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 141861FD5E for ; Tue, 14 Oct 2008 14:05:42 +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 23389-05 for ; Tue, 14 Oct 2008 14:05:07 +0200 (CEST) Original-Received: from mx40.mail.ru (mx40.mail.ru [194.67.23.36]) by ronja.ntg.nl (Postfix) with ESMTP id 94D7D1FC7A for ; Tue, 14 Oct 2008 14:01:41 +0200 (CEST) Original-Received: from [84.51.196.115] (port=4469 helo=[84.51.196.115]) by mx40.mail.ru with asmtp id 1Kpiaq-0009CS-00 for ntg-context@ntg.nl; Tue, 14 Oct 2008 16:01:40 +0400 User-Agent: Thunderbird 2.0.0.17 (X11/20081009) In-Reply-To: <87mynesb2u.fsf@nitai.hr> X-Spam: Not detected X-Mras: OK 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:44734 Archived-At: This is a multi-part message in MIME format. --===============1590937474== Content-Type: multipart/alternative; boundary="------------000209000805010805050901" This is a multi-part message in MIME format. --------------000209000805010805050901 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Some time ago this example used to work: \enableregime[utf] \usetypescript[modern-base][t2a] \setupbodyfont[modern] \starttext =D0=9D=D0=B5=D0=BC=D0=BD=D0=BE=D0=B3=D0=BE =D1=82=D0=B5=D0=BA=D1=81=D1=82= =D0=B0. \stopbuffer This requires cm-super package. Unfortunately after some update this stopped working. If someone puts me on a right way to start debugging font loading mechanism I'll try to sort this out. Problem is that map files seem to be loaded, fonts are installed in right places but ConTeXt doesn't try to generate tfm. It just always uses default fonts (LM ones with ec encoding). I've tried varous combinations (\setupencoding, fiddling with typescripts) with no difference. Tried this on MkII, as MkIV seem to require even more tuning. 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 --------------000209000805010805050901 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Some time ago this example used to work:

\enableregime[utf]

\usetypescript[modern-base][t2a]
\setupbodyfont[modern]

\starttext
=D0=9D=D0=B5=D0=BC=D0=BD=D0=BE=D0=B3=D0=BE =D1=82=D0=B5=D0=BA=D1=81=D1=82= =D0=B0.
\stopbuffer

This requires cm-super package. Unfortunately after some update this stopped working.

If someone puts me on a right way to start debugging font loading mechanism I'll try to sort this out. Problem is that map files seem to be loaded, fonts are installed in right places but ConTeXt doesn't try to generate tfm. It just always uses default fonts (LM ones with ec encoding). I've tried varous combinations (\setupencoding, fiddling with typescripts) with no difference. Tried this on MkII, as MkIV seem to require even more tuning.

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/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 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.n= l/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://te= x.aanhet.net archive : https://foundry= .supelec.fr/projects/contextrev/ wiki : http://contextgarden.net _________________________________________________________________________= __________

--=20
Best Regards,
Oleg Kolosov
--------------000209000805010805050901-- --===============1590937474== 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 ___________________________________________________________________________________ --===============1590937474==--