From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/17933 Path: main.gmane.org!not-for-mail From: h h extern Newsgroups: gmane.comp.tex.context Subject: Re: Russia (cyrillic letters) Date: Sun, 23 Jan 2005 22:47:57 +0100 Message-ID: <41F41B8D.20908@wxs.nl> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1106572315 9979 80.91.229.6 (24 Jan 2005 13:11:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 24 Jan 2005 13:11:55 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Jan 24 14:11:47 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 1Ct40R-0007LR-00 for ; Mon, 24 Jan 2005 14:11:47 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 50357127B2; Mon, 24 Jan 2005 14:11:47 +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 04683-08-6; Mon, 24 Jan 2005 14:11:46 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5C29F127AE; Mon, 24 Jan 2005 14:11:46 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 640A1127B0 for ; Mon, 24 Jan 2005 14:11:44 +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 05001-03-3 for ; Mon, 24 Jan 2005 14:11:43 +0100 (CET) Original-Received: from mailrelay02.solcon.nl (unknown [212.45.32.200]) by ronja.ntg.nl (Postfix) with ESMTP id 0F6F1127AE for ; Mon, 24 Jan 2005 14:11:43 +0100 (CET) Original-Received: from server-1.pragma-net.nl (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by mailrelay02.solcon.nl (8.12.11/SQL-8.12.11-5/8.12.11) with ESMTP id j0ODBY6D018002; Mon, 24 Jan 2005 14:11:34 +0100 Original-Received: by server-1.pragma-net.nl (Postfix, from userid 65534) id 0CA1117B44; Mon, 24 Jan 2005 14:04:28 +0100 (CET) Original-Received: from [10.100.1.191] (unknown [10.100.1.191]) by server-1.pragma-net.nl (Postfix) with ESMTP id 1068D17B62; Mon, 24 Jan 2005 13:04:25 +0000 (UTC) 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-Virus-Scanned: ClamAV 0.80/540/Tue Oct 19 14:59:23 2004 clamav-milter version 0.80j on mailrelay02 X-Virus-Status: Clean 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:17933 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:17933 Mikael Persson wrote: > I am looking for a way of writing some home exercises in my Russian > course in ConTeXt. However, so far I have not succeed with it. Should > it work out of the box without installing any new fonts (I am having > the fonts from a full install of TeXLive2003 now)? I have looked a bit > in the source files for context, but with no luck. well, i just took a look in the latest tex tree, and i cannot find a trace of the russian fonts that are defined in abundance in context's type-enc.tex; one problem with russian is that nobody seems to be responsible to get all the right stuff on tex live; Based on the definitions, the following should work (and is reported to work): \starttext \definetypeface [latin] [rm] [serif] [latin-modern] [default] [encoding=texnansi] \definetypeface [russian] [rm] [serif] [computer-modern] [default] [encoding=cyr] % t2a \latin \dostepwiserecurse{`a}{`z}{1}{\char\recurselevel} \endgraf \russian \dostepwiserecurse{`a}{`z}{1}{\char\recurselevel} \endgraf \stoptext In order to get it working i suggest those using russian to do the following: - determine what encodings are *really* in use - collect the tfm/vf/pfb files that are needed to get that done - build me the right map files (i probably involves some fonts from cmsuper; so ... what is the reasonable subset that we need; if needed we can stick to a few reasonable sized (as we do with greek); it's mostly the math that is sensitive to design sizes) we can then make a proper subset for (1) tex live and (2) the minimal context distribution; even better would be to have those glyohs needed to be added to the latin modern fonts [i can look into that later] > I guess there are different ways to achieve this, however, since I > also want some swedish text in the same documents, the best would > probably be if one of the following options worked: the simpliest is to switch font and language at the same time (but i cannot test anything if i have no fonts running on my sytstem] > 1) Typing everything in utf8, and get the different languages > automatically when compiling. currently the utf handler does not change fonts, but since language switches are to be given anyway, it can be hooked into the language handler if needed > 2) Typing everything with western letters, having some kind of > \startrussia Boris \stoprussia and get Boris typeset with Cyrillic > letters. Just language+font switches using the typeface macros. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------