From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/50232 Path: news.gmane.org!not-for-mail From: Yue Wang Newsgroups: gmane.comp.tex.context Subject: Re: New module - mkiv font loading Date: Mon, 11 May 2009 21:44:15 +0800 Message-ID: <68bfdc900905110644x30a09704rde0630668b77fe1d@mail.gmail.com> References: <21CC4ADE-574E-48D5-9365-A6D1CCD00B68@gmail.com> <68bfdc900905110541n2b172f49m2f8e50a42e1839a2@mail.gmail.com> <7A5B8339-9323-4DC3-9115-01EE8B0576DB@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1242049615 26846 80.91.229.12 (11 May 2009 13:46:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 May 2009 13:46:55 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon May 11 15:46:45 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 1M3Vq8-0001cU-4a for gctc-ntg-context-518@m.gmane.org; Mon, 11 May 2009 15:46:44 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F34941FD76; Mon, 11 May 2009 15:46:38 +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 14198-01-5; Mon, 11 May 2009 15:45:28 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A759B1FE93; Mon, 11 May 2009 15:44:43 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F1A881FBC9 for ; Mon, 11 May 2009 15:44:40 +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 14198-01 for ; Mon, 11 May 2009 15:44:17 +0200 (CEST) Original-Received: from filter1-nij.mf.surf.net (filter1-nij.mf.surf.net [195.169.124.152]) by ronja.ntg.nl (Postfix) with ESMTP id 811411FD76 for ; Mon, 11 May 2009 15:44:17 +0200 (CEST) Original-Received: from mail-qy0-f103.google.com (mail-qy0-f103.google.com [209.85.221.103]) by filter1-nij.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n4BDiG4x019831 for ; Mon, 11 May 2009 15:44:16 +0200 Original-Received: by qyk1 with SMTP id 1so3967413qyk.16 for ; Mon, 11 May 2009 06:44:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=xnI4+IloKSdKUYKkRCL6AOs9qXHDeEb1QObVXH7OXHo=; b=AZ7zY5UrD59NF2btewjLEKzBW896rSxEfH+deVvhtBpsP2QyIIF4tGXwQmpiawlued JQvp4x6XV3gJI5qZ+DzLJVDTv6G/1pnfb0EfJVo8LXodKy+Dl/MfUUB9drJ3/BXiwUNv lYfnBOoDOgSLEUhji5U8iiIammkbtxYWfztS4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=W0CP7iNHCm8fv2iy51qVvbSTGdnpw0XB7rbbmOzsalycQW4S9kmslqIEfGycCkOUEd p4zvvBHiHeXe0KJjUF5RccRmY3ivOeufBeqQhVDM8AXQQHdGJcX2sqB2slUVin8AuXij g9T9o9MNxxtMOmA+pChr+ymJTgK0Qjx0/m08E= Original-Received: by 10.229.84.209 with SMTP id k17mr312872qcl.61.1242049455371; Mon, 11 May 2009 06:44:15 -0700 (PDT) In-Reply-To: <7A5B8339-9323-4DC3-9115-01EE8B0576DB@gmail.com> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.221.103; 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: 223135874 - a50a05c5e28d - 20090511 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.152 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:50232 Archived-At: On Mon, May 11, 2009 at 9:00 PM, Wolfgang Schuster wrote: > > Am 11.05.2009 um 14:41 schrieb Yue Wang: > >> Hi Wolfgang: >> >> nice script. >> >> Can the module meet my needs discussed in >> http://www.ntg.nl/pipermail/ntg-context/2009/040831.html ? > > dunno, i have to see more from your code > The code is already in http://code.google.com/p/ctex-kit/ It's located in /trunk/zhspacing/ directory. Thanks for reviewing. The key idea is to group chinese words in {\zhfonts } automatically using XeTeX's interchartok mechanism. In LaTeX, It saves the current latin nfss style state in a macro, then apply to the zhfonts group. related code is in zhspacing/tex/latex/zhfont.sty. But I don't know how to do that in ConTeXt. >> or is it possible to extend the support to xetex? > > possible yes but it's a lot of work because the complete fallback mechani= sm > needs to be written for XeTeX which is available for MkIV since a while. > > 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 =A0: http://www.pragma-ade.nl / http://tex.aanhet.net > archive =A0: https://foundry.supelec.fr/projects/contextrev/ > wiki =A0 =A0 : http://contextgarden.net > _________________________________________________________________________= __________ > ___________________________________________________________________________= ________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________