From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/39277 Path: news.gmane.org!not-for-mail From: "Yue Wang" Newsgroups: gmane.comp.tex.context Subject: MKII font-chi.tex bug fix Date: Sat, 23 Feb 2008 17:06:04 +0800 Message-ID: <68bfdc900802230106k109a2a4ayafb389aea4ea38ba@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="iso-2022-jp" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1203757644 29806 80.91.229.12 (23 Feb 2008 09:07:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 23 Feb 2008 09:07:24 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Sat Feb 23 10:07:46 2008 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 1JSqME-0006Rd-H2 for gctc-ntg-context-518@m.gmane.org; Sat, 23 Feb 2008 10:07:46 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1F9991FBB5; Sat, 23 Feb 2008 10:07:15 +0100 (CET) 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 17022-02; Sat, 23 Feb 2008 10:06:39 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C88211FBC1; Sat, 23 Feb 2008 10:06:38 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 16CB01FBC1 for ; Sat, 23 Feb 2008 10:06:37 +0100 (CET) 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 15715-02-5 for ; Sat, 23 Feb 2008 10:06:05 +0100 (CET) Original-Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.152]) by ronja.ntg.nl (Postfix) with ESMTP id 0444E1FBB9 for ; Sat, 23 Feb 2008 10:06:04 +0100 (CET) Original-Received: by fg-out-1718.google.com with SMTP id e12so510719fga.8 for ; Sat, 23 Feb 2008 01:06:04 -0800 (PST) Original-Received: by 10.86.3.4 with SMTP id 4mr186198fgc.69.1203757564354; Sat, 23 Feb 2008 01:06:04 -0800 (PST) Original-Received: by 10.86.26.1 with HTTP; Sat, 23 Feb 2008 01:06:04 -0800 (PST) Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:39277 Archived-At: Hi, there I am still using MKII to do Chinese typesetting. As I mentioned before, User should use this in their source files to produce correct spaces between the chinese characters and english words 中文English\ 中文 instead of 中文 English 中文 or 中文English中文 which is quite annoying. In order to remove this constraint, here is what I have found out: Uncomment line 248 and line 267 of font-chi.tex will do. --- font-chi.tex.orig 2008-02-23 11:32:55.000000000 +0800 +++ font-chi.tex 2008-02-23 11:30:48.000000000 +0800 @@ -245,7 +245,6 @@ \insertchineseglyph \ifcase\chineseAstatus\relax \hskip\chineseinterglyphskip % unknown - \hskip\chinesesurroundskip \ifcase\chineseSstatus \hskip\chineseSsignal \or @@ -264,7 +263,6 @@ \hskip\chineseRsignal \or \hskip\chineseinterglyphskip % space - \hskip\chinesesurroundskip \hskip\chineseSsignal \fi \or % left This patch works pretty good on most of the cases if you use 中文 English 中文. however, 中文English中文 makes no space between chinese and English. and changing the \chinesesurroundskip will only affect the space after English. But it works now. I hope this information helpful. Maybe ConTeXt experts can make more improvements in the future and test from ConTeXt users are helpful. Yue Wang ___________________________________________________________________________________ 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 ___________________________________________________________________________________