From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/69466 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: \setscript[hanzi] and kana Date: Thu, 23 Jun 2011 23:59:34 +0200 Message-ID: <4E03B746.50403@wxs.nl> References: <4E026638.9080702@wxs.nl> <4DEEFD88-FDD2-4CC4-8A4A-346F23F1B2E5@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252"; Format="flowed" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1308866410 14731 80.91.229.12 (23 Jun 2011 22:00:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 23 Jun 2011 22:00:10 +0000 (UTC) Cc: mailing list for ConTeXt users To: Wolfgang Schuster Original-X-From: ntg-context-bounces@ntg.nl Fri Jun 24 00:00:05 2011 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.69) (envelope-from ) id 1QZrwT-00021a-3G for gctc-ntg-context-518@m.gmane.org; Fri, 24 Jun 2011 00:00:05 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3B884CAE4E; Fri, 24 Jun 2011 00:00:04 +0200 (CEST) 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 58EaIXPYHGfO; Fri, 24 Jun 2011 00:00:01 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 97371CAE22; Fri, 24 Jun 2011 00:00:01 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A6774CAE22 for ; Fri, 24 Jun 2011 00:00:00 +0200 (CEST) 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 1IjdV4a1HvWg for ; Thu, 23 Jun 2011 23:59:49 +0200 (CEST) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id 99916CAE1B for ; Thu, 23 Jun 2011 23:59:49 +0200 (CEST) Original-Received: from smtp.ziggozakelijk.nl (D57D1DA2.static.ziggozakelijk.nl [213.125.29.162]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p5NLxmdX021990 for ; Thu, 23 Jun 2011 23:59:49 +0200 X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.101; Original-Received: from [10.100.1.101] (unverified [10.100.1.101]) by pragma-net.nl (SurgeMail 5.2a) with ESMTP id 5543-1713362 for multiple; Thu, 23 Jun 2011 23:59:46 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.18) Gecko/20110616 Lightning/1.0b2 Thunderbird/3.1.11 ThunderBrowse/3.3.5 In-Reply-To: <4DEEFD88-FDD2-4CC4-8A4A-346F23F1B2E5@googlemail.com> X-Authenticated-User: hagen@controller-9 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.125.29.162; country=NL; region=11; city=Den Haag; latitude=52.0833; longitude=4.3000; http://maps.google.com/maps?q=52.0833,4.3000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0eEXxXM3z - 06f19063e283 - 20110623 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 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:69466 Archived-At: On 23-6-2011 5:39, Wolfgang Schuster wrote: > > Am 23.06.2011 um 00:01 schrieb Hans Hagen: > >> japanese is not yet defined; we need entries in scrp-ini and scrp-cjk fo= r that, character categories and initializations and we need japanese exper= tise for that > > Japanese is supported (it=92s only a few extra chars for the chinese code= ) and worked till February 2011 and I was no able to narrow it down. > > The function scripts.preprocess in scrp-ini.lua has at line 381 > > if originals then c =3D originals[c] or c end > > which change the real character value to 65533 (REPLACEMENT CHARACTER), w= hen i comment the line there is a line break (see attachment). you can comment -- if not unicode then -- originals[index], tounicode[index] =3D 0xFFFD, "FFFD" -- end in font-map.lua (delete the cache of jump the otf version number) but nevertheless we probably need to add some mappings if we want to = treat japanese, like -- for i=3D0x03041,0x030FF do if not hash[i] then hash[i] =3D "japanese" = end end etc Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________