From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/50271 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: New module t-zhspacing Date: Mon, 11 May 2009 19:36:59 +0200 Message-ID: <08AE48C1-39A3-4B7F-B481-BD9A8ED8EE2E@gmail.com> References: <68bfdc900905110755m781f0ea4l3931c0da6551bc79@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1242063523 16513 80.91.229.12 (11 May 2009 17:38:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 May 2009 17:38:43 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon May 11 19:38:34 2009 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 1M3ZST-0005b8-2V for gctc-ntg-context-518@m.gmane.org; Mon, 11 May 2009 19:38:33 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id ED7311FF0A; Mon, 11 May 2009 19:38:31 +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 02989-01-10; Mon, 11 May 2009 19:37:46 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 937AF1FED9; Mon, 11 May 2009 19:37:46 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5527B1FED9 for ; Mon, 11 May 2009 19:37: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 02952-02-8 for ; Mon, 11 May 2009 19:37:32 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by ronja.ntg.nl (Postfix) with ESMTP id E749B1FECC for ; Mon, 11 May 2009 19:37:31 +0200 (CEST) Original-Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.152]) by filter2-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n4BHbV4e028854 for ; Mon, 11 May 2009 19:37:31 +0200 Original-Received: by fg-out-1718.google.com with SMTP id l27so633940fgb.8 for ; Mon, 11 May 2009 10:37:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=6qIXm+BO6N56w5Cl7OiMbXV7DPq52SXIPkFu1aQfF1E=; b=GKWVzzuIpPxL4pY+m780un5M6VIZTjW5BmhcwMNL7pAkKMjmi+R+SUDctatORFudKj 47bBUibkfBXalbJ3gWDsZUjpOf0t3YNGnarRR5Xq0RJSgm7isWlHdbnluku55h1sh73l vVmam28y+vSQUl2mtT5rVBOfZ7i8hwBgTviAE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=MPNIYEQCzdDmbmrrmv0Y7m4JStQhzgabn/8LeYd01aNt0Sjbk1YyXwmIYJExEBnHOx 7DGGShxvKdC/QPHESOtPm3cN47BFU1jKLnUCm1pzyN6hTmXbh7JKYdECVtwJcOg2rquD zjF5c2SPwPYXxIRPO5JwWuDndG9UnDIcgj6ww= Original-Received: by 10.86.91.10 with SMTP id o10mr6709707fgb.13.1242063451039; Mon, 11 May 2009 10:37:31 -0700 (PDT) Original-Received: from ?10.40.167.107? ([82.113.121.154]) by mx.google.com with ESMTPS id e11sm4886670fga.16.2009.05.11.10.37.27 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 11 May 2009 10:37:30 -0700 (PDT) In-Reply-To: <68bfdc900905110755m781f0ea4l3931c0da6551bc79@mail.gmail.com> X-Mailer: Apple Mail (2.930.3) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=72.14.220.152; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 223289787 - a21fc92df983 - 20090511 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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:50271 Archived-At: Am 11.05.2009 um 16:55 schrieb Yue Wang: > Dear list: > > Chinese TeX Society is proud to announce the t-zhspacing module to the > ConTeXt society. > The module is developed by Yue Wang based on Yin Dian's zhspacing.sty > macro package and Jonathan Kew's unicode-letters.tex + xetex > interchartoks mechanism. > It is designed for the audience who interested perfect Chinese > typesetting using ConTeXt and XeTeX. > It handles Chinese font loading, switching, line breaking, and > punctuation compression rules quite well. > Moreover, since the freetype's performance is much better than > fontforge's on large cjk fonts, so the document compilation can be > much faster. > Users are free to visit http://code.google.com/p/ctex-kit/, and the > code is in svn (the trunk/zhspacing directory) now. After taking a closer look in zhspacing.sty I think it's better to include the code in your t-zhspacing module and to replace a lot of macros with their ConTeXT equivalent (e.g. \@for...\do.. with \processcommalist). The content from unicode-letters.tex should also be moved to a separate file (e.g. t-zhspacing-unicode.tex) which can be removed when the information is added to char-def.lua. Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________