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
Yue Wang wrote:
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.
the problem is that tex cannot look back or forward with respect to glyphs; chinese chars are active in mkii but regular latin is not and cannot be active, so ther ei sno robust solution possible in mkiv we can try to deal with it (given clear rules) 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 -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Yue Wang