From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/30001 Path: news.gmane.org!not-for-mail From: "Mojca Miklavec" Newsgroups: gmane.comp.tex.context Subject: Re: russian Date: Sat, 5 Aug 2006 17:45:14 +0200 Message-ID: <6faad9f00608050845r52b09cc6ub221e2a03f67355@mail.gmail.com> References: <44CD4601.4010900@wxs.nl> <6faad9f00607311503jf2efe3fp7911923ffd6b875f@mail.gmail.com> <44CF3C8E.6070908@wxs.nl> <6faad9f00608011606kec04b11r90f9d55864955bf@mail.gmail.com> <44D0230D.9040609@gmail.com> <44D065A7.9040607@wxs.nl> <44D2E013.3000506@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1154792759 16176 80.91.229.2 (5 Aug 2006 15:45:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 5 Aug 2006 15:45:59 +0000 (UTC) Cc: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Aug 05 17:45:53 2006 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 ciao.gmane.org with esmtp (Exim 4.43) id 1G9OLB-0003AH-Ff for gctc-ntg-context-518@m.gmane.org; Sat, 05 Aug 2006 17:45:31 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E6A8E1FF8F; Sat, 5 Aug 2006 17:45:28 +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 01054-01; Sat, 5 Aug 2006 17:45:20 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1DB801FF71; Sat, 5 Aug 2006 17:45:20 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id AEA4E1FF71 for ; Sat, 5 Aug 2006 17:45:17 +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 00762-05 for ; Sat, 5 Aug 2006 17:45:15 +0200 (CEST) Original-Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.190]) by ronja.ntg.nl (Postfix) with SMTP id 3B01A1FF5C for ; Sat, 5 Aug 2006 17:45:15 +0200 (CEST) Original-Received: by nf-out-0910.google.com with SMTP id x29so502760nfb for ; Sat, 05 Aug 2006 08:45:14 -0700 (PDT) Original-Received: by 10.78.142.14 with SMTP id p14mr1916214hud; Sat, 05 Aug 2006 08:45:14 -0700 (PDT) Original-Received: by 10.78.175.15 with HTTP; Sat, 5 Aug 2006 08:45:14 -0700 (PDT) Original-To: arkady.shraer@gmail.com In-Reply-To: <44D2E013.3000506@gmail.com> Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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:30001 Archived-At: I'm CC-ing this checklist about making new (Russian) hyphenation patterns work to the mailing list (also because a while ago I didn't manage to make them work either). Arkady Shraer wrote: > Yes, I replaced files from previous mail. While texexec --make --all I > saw, that lang-ru.* processed by ConTeXt. But in the log file (I > attached the full log) I cannot see if the "ru" language is loaded. > > In the output file text just ragged right as before -- no hypenation. OK, so once more a checklist for you. From the fact that you're a gmail user too I can imagine that you also got the files "garbled" just as I did (I mean: written inline instead of getting attachments unless you downloaded your mail with some program): 0. not necessary [texmfstart] ctxtools --update (although I had problems downloading the latest beta) 1. check if all the files are OK: - tex/context/patterns/lang-ru.hyp - tex/context/patterns/lang-ru.pat - new version of tex/context/base/lang-ctx.tex, has to include: \installlanguage [\s!ru] [\s!mapping=t2a,\s!encoding=t2a] (If you didn't get the files right, get them from a temporary location http://pub.mojca.org/tex/russian/lang-ru.zip) 2. I don't know when this is needed and when not, but it might be that you have to copy cont-usr.ori to cont-usr.tex and uncomment the following line: \installlanguage [\s!ru] [\c!state=\v!start] % russian (before I did that I couldn't make the Slovenian hyphenation work) 3. run mktexlsr (or I-forgot-the-synonym/other-command-if-this-doesn't-work) 4. [texmfstart] texexec --make --all > after "texmfstart texexec --make --all" I have > ConTeXt ver: 2006.07.24 10:49 fmt: 2006.7.27 int: english mes: english > Is it right? It's surely better than in one of the posts that you sent before this one ;) "fmt:" has to bear the date when you ran "texmfstart texexec --make --all". If that is older, the format file wasn't written to the right place. You seem to use Ubuntu. I don't know how things are configured there, but I had numerous problems under MikTeX. The reason was that "texexec --make --all" didn't have any influence there since a whole lot of environmental variables were missing (the standalone distribution doesn't have those problems). In general I would suggest you to put the content of scripts/context/stubs/unix to some "visible place", so that "texexec" will execute "texmfstart texexec", you can surely google a bit for it, there was also a discussion about installation on Ubuntu recently on the mailing list. 5. Here's what I did to get antykwa torunska (if you don't have it you can download it from here: http://www.janusz.nowacki.strefa.pl/torunska-e.html): \enableregime[utf] \mainlanguage[ru] \definetypeface [russian] [rm] [serif] [antykwa-torunska] [default] [encoding=t2a] \setupbodyfont[russian] (for computer modern it should be similar, but you need more than one line to set it properly; however if you managed to make it work already, your old file should already be OK) I hope that you'll find some hint in this, Mojca