From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/50160 Path: news.gmane.org!not-for-mail From: Yue Wang Newsgroups: gmane.comp.tex.context Subject: Re: setuptex changes in minimals Date: Sat, 9 May 2009 23:57:05 +0800 Message-ID: <68bfdc900905090857l39067d1co939465e39fe4eb2d@mail.gmail.com> References: <6faad9f00905080419m4c8064biaefd5189bae5aa13@mail.gmail.com> <6faad9f00905081043p1022d147m147c31b8ecddf233@mail.gmail.com> <68bfdc900905081857o4a54af57u65a2f1d14dd244e0@mail.gmail.com> <4A05388F.2010605@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1241884724 10800 80.91.229.12 (9 May 2009 15:58:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 9 May 2009 15:58:44 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat May 09 17:58: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 1M2owa-0003xZ-N2 for gctc-ntg-context-518@m.gmane.org; Sat, 09 May 2009 17:58:32 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5575F1FE78; Sat, 9 May 2009 17:58:30 +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 22316-04-2; Sat, 9 May 2009 17:57:26 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id AB0CE1FE66; Sat, 9 May 2009 17:57:26 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2A4C11FE66 for ; Sat, 9 May 2009 17:57:25 +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 23631-03-5 for ; Sat, 9 May 2009 17:57:08 +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 0838F1FE5B for ; Sat, 9 May 2009 17:57:08 +0200 (CEST) Original-Received: from yw-out-1718.google.com (yw-out-1718.google.com [74.125.46.155]) by filter2-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n49Fv6jc002408 for ; Sat, 9 May 2009 17:57:07 +0200 Original-Received: by yw-out-1718.google.com with SMTP id 5so1159368ywm.74 for ; Sat, 09 May 2009 08:57:05 -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=wMSHKITEDdyO1504qXQK6BiL0/1cuYmvw8E5JtHD3Pc=; b=X5sU70nxhGPxjhjujdC3Bsyfm3ZsAEb+uA6bfdDzJJrw7Txg/eObjpCj3qY+/1qVqQ TmoWNxecJc02ANV0thg8OCtqCrdngN8vF496WVbjaAOBRbCYUrWZD3Y9DnqljvTCThMr Mk0Ko0gjIdbtoy6wl3lUiIW59m9IatjVLcsAQ= 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=Ru9xKzp10w9xAOSmJoX7cBHPx8KnMOEJFZ0E8mW8hqBznkjrex8LhVzFHiK8+Z+zZp j+9O3NQfJNnnwT4FrUNoPcwcnjju2u9Thn5MNaBwMT1fLZK1JDOgnpvTzpto8lLfIgFN zmPGwEdrStk5Ya+tqLUUIPPqE5BdGF9wYlWuY= Original-Received: by 10.90.98.12 with SMTP id v12mr4257567agb.19.1241884625670; Sat, 09 May 2009 08:57:05 -0700 (PDT) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.46.155; 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: 222240208 - 16651a2a3440 - 20090509 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:50160 Archived-At: Hi, list: Well, TeX is evolving rapidly these years (especially in the LuaTeX world). So there are many things that Chinese typographers never imagine about in the past can now be solved thanks to LuaTeX's development. For example: - Now we can use Lua to detect the character code. so it is possible to assign different fonts for latin, CJK, CJK-ext A, CJK-extB. font switching is easy and elegent. This is not possible in tex82. - It is ugly to produce a paragraph whose last line only consists one Chinese character. In order to avoid that, tex82 programmers should write very complicated macros. So many developers here tend to ignore this problem. However, in LuaTeX, this is quite easy. It is simple to scan the position before the punctuation and \par in lua, and insert a line break penalty there. - Punctuation compression. In the past this is not easy to do (a lot of macros should be defined), and because each Chinese fonts are so distinctly designed, their punctuations' positions in the character box are different. So different parameters should be applied when different fonts are involved in typesetting. However, LuaTeX make it possible to calculate character bounding box information, so punctuation compression is as easy as re-setting the punctuation width. There are many more examples, and these are just three. But we can see that with the development of TeX engine (especially the open-up of TeX engine), users might consider better ways for old solutions, and even request for possibilities they never thought about before. So it is possible for different users to provide different specifications. But we (me, Li Yanrui, Chen Zhichu) as the board members of the Chinese TeX Society, will try our best to organized the typesetting discussion on local forums, taking different opinions into consideration, and later provide a complete specification as long as we can. Chinese support in ConTeXt is not easy, we should thank all the developers who contribute to our language (esp, Hans, Taco and Wolfgang), their innovation and hardworking make Chinese typesetting in ConTeXt possible, and drastically improve the performance of font loading. Though the current solution is not perfect (eg. there are many more things we should fix and implement, and the current font loading time is still a bit too long), I think with the current fast pace, we will have a very prospective solution near luatex 1.0:) Yue Wang On 5/9/09, Yanrui Li wrote: > On Sat, May 9, 2009 at 4:02 PM, Hans Hagen wrote: > > Yue Wang wrote: > >> > >> On Sat, May 9, 2009 at 2:20 AM, Yanrui Li wrote: > >>> > >>> Sorry! > >>> > >>> s/MkIV have not support Chinese typesetting now / MkIV have not > >>> support Chinese typesetting well now/g > >> > >> > >> We can start a fork of scrp-* on code.google.com/p/ctex-kit, > >> making a usable version, and later ask Hans to merge back into ConTeXt. > > > > it all depends how scrp evolves as it has to deal with more issues too; i > > will not merge code that i don't fully understand but experimenting does not > > hurt; one problem with script stuff is that (in the future) it might be > > closely cooperate with other mechanisms of context (it used to be part of > > the font analyser, now it's plugged in elsewhere but even that might change, > > for instance when in upcoming versions of luatex we have a bit more control) > > > > What I have done is only experiment. I will try my best to follow the > evolves of the > scrp-* files until that day, when MkIV support Chinese typesetting well, comes. > I have to introduce MkIV to Chinese users and make them paying close attention > to it in this way. > > > also, some issues will be dealt with in other code in the future (i simply > > cannot touch all code at the same time) so don't expect mkiv to be finished > > before 2012 (when luatex 1 is ready); it's a stepwise process and it's only > > driven by context (i.e. generic code only shows up when context code works > > okay); > > > > anyhow, as long as nobody tells me what the expected behaviour is, with test > > code etc i can;t fix anything; one complication (e.g. with chinese) is that > > over the last few year is got conflicting requests; now, if there are > > multiple ways to deal with it, then i can implement variants but only if i > > know the exact conventions (with proper names for them) > > > > Yes. It is a key reson that we are still not familiar with MkIV well > now. But with > in-depth understanding of MkIV, maybe many suggestions will be post to you. > Of course these suggestions should be collected according actual demands by > Chinese TeX users group. > > > for instance when i found out that cjk-korean is not the same as cjk-chinese > > (one of them) i split the machinery so we're not talking cjk here, but very > > specific needs; after the split i never tested chinese (no samples) and no > > one else propbably did that either > > > > keep in mind that context is not meant for one language but for many and > > that when possible mechanisms need to be able to used mixed; there will > > never be exclusive solutions for one languages unless it's a very > > specialized module > > > > anyhow, we can best follow the same route as with other language / script > > support > > > > - we need consistent specs, or maybe multiple specs as variants > > - as well as test files for each such case > > - and then we can look into what can be improved or added > > > > I think that maybe this needs a very long time until CJK users know what each > other needs. But three years should be enough :) > > -- > Best wishes, > Li Yanrui > ___________________________________________________________________________________ > 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 > ___________________________________________________________________________________ > ___________________________________________________________________________________ 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 ___________________________________________________________________________________