From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/55705 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: new language and hyphenation Date: Wed, 20 Jan 2010 17:23:49 +0100 Message-ID: <4B572E15.1000001@wxs.nl> References: <6faad9f01001200810q23c94fddm49000bafce4848fa@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1264004685 7697 80.91.229.12 (20 Jan 2010 16:24:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 20 Jan 2010 16:24:45 +0000 (UTC) Cc: Mojca Miklavec To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jan 20 17:24:37 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.50) id 1NXdMC-0007PY-0w for gctc-ntg-context-518@m.gmane.org; Wed, 20 Jan 2010 17:24:36 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4D98FC9D68; Wed, 20 Jan 2010 17:24:35 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Lf6km29nqMSF; Wed, 20 Jan 2010 17:24:16 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DC86EC9D59; Wed, 20 Jan 2010 17:24:15 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 13477C9D56 for ; Wed, 20 Jan 2010 17:24:08 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 4JVyxMYOO9NN for ; Wed, 20 Jan 2010 17:23:49 +0100 (CET) Original-Received: from mail.solcon.net (dsl-083-247-100-017.solcon.nl [83.247.100.17]) by balder.ntg.nl (Postfix) with ESMTP id 70B0CC9D59 for ; Wed, 20 Jan 2010 17:23:49 +0100 (CET) X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.100; Original-Received: from [10.100.1.100] (unverified [10.100.1.100]) by controller-9 (SurgeMail 4.2d2) with ESMTP id 1703-1713362 for multiple; Wed, 20 Jan 2010 17:23:34 +0100 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.5) Gecko/20091204 Lightning/1.0b1 Thunderbird/3.0 In-Reply-To: <6faad9f01001200810q23c94fddm49000bafce4848fa@mail.gmail.com> X-Authenticated-User: hagen@controller-9 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:55705 Archived-At: On 20-1-2010 17:10, Mojca Miklavec wrote: > On Wed, Jan 20, 2010 at 09:07, Marius wrote: >> >> The hyphenation patterns for lithuanian language are missing. So, how >> does one add a new language and hyphenation patterns for ConTeXt? > > In scripts/context/lua/mtx-patterns.lua Hans needs to add > > { "la", "hyph-la.tex", "latin" }, > [after this line] > { "lt", "hyph-lt.tex", "lithuanian" }, > { "lv", "hyph-lv.tex", "latvian" }, > > and regenerate the patterns (and double-checking that nothing broke in > the meantime). [You can also take hyph-lt.tex and copy it to > tex/context/patterns/lang-lt.pat as a temporary solution.] ok, generated, will be next beta, untested and unchecked of course > Apart from that you need to submit translation for your language (see > lang-ger.tex and lang-bal.tex), or at least that would be very nice. > Some settings there are necessary if you want to enable the extra > patterns. There are some more things to be done, but you may start by > translating the strings and filling other holes in lang-bal.tex. patterns indeed won't work until we have an entry in lang0-.tex for lithuanian 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 ----------------------------------------------------------------- ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________