From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/50171 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: setuptex changes in minimals Date: Sun, 10 May 2009 17:35:16 +0200 Message-ID: <4A06F434.3000301@wxs.nl> References: <6faad9f00905080419m4c8064biaefd5189bae5aa13@mail.gmail.com> <6faad9f00905081043p1022d147m147c31b8ecddf233@mail.gmail.com> <68bfdc900905081857o4a54af57u65a2f1d14dd244e0@mail.gmail.com> <4A05388F.2010605@wxs.nl> <68bfdc900905090857l39067d1co939465e39fe4eb2d@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="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1241969799 24591 80.91.229.12 (10 May 2009 15:36:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 10 May 2009 15:36:39 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun May 10 17:36:29 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 1M3B4m-0007aE-Of for gctc-ntg-context-518@m.gmane.org; Sun, 10 May 2009 17:36:28 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3C77F1FDD9; Sun, 10 May 2009 17:36:28 +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 05694-03; Sun, 10 May 2009 17:35:34 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6AC2C1FD76; Sun, 10 May 2009 17:35:34 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 274751FD76 for ; Sun, 10 May 2009 17:35:32 +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 06403-01-4 for ; Sun, 10 May 2009 17:35:17 +0200 (CEST) Original-Received: from filter4-nij.mf.surf.net (filter4-nij.mf.surf.net [195.169.124.155]) by ronja.ntg.nl (Postfix) with ESMTP id 200F61FCEF for ; Sun, 10 May 2009 17:35:17 +0200 (CEST) Original-Received: from mail.pragma-ade.net (dsl-083-247-100-017.solcon.nl [83.247.100.17]) by filter4-nij.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n4AFZGkN016863 for ; Sun, 10 May 2009 17:35:16 +0200 Original-Received: from [10.100.1.100] (unverified [10.100.1.100]) by controller-1 (SurgeMail 3.9e) with ESMTP id 8573-1840426 for ; Sun, 10 May 2009 17:35:16 +0200 User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: <68bfdc900905090857l39067d1co939465e39fe4eb2d@mail.gmail.com> X-Originating-IP: 10.100.1.100 X-Authenticated-User: hagen@controller-1 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=83.247.100.17; country=NL; region=15; city=Almelo; latitude=52.3500; longitude=6.6667; http://maps.google.com/maps?q=52.3500,6.6667&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 222461181 - 13e9f4b5f254 - 20090510 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.155 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:50171 Archived-At: Yue Wang wrote: > - 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. ok, but it might even be more clever, like minimum number of glyphs on last line or so (and words in case of other scripts) > - 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. i had code for that but removes it as fonts are pretty inconsistent; i will look into that again when we have (1) a couple of reference fonts without bugs in the tex distribution and (2) wiki pages with info about the quality of fonts (can later become a database); otherwise we end up in messy support situations > 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. that would be very helpful > pace, we will have a very prospective solution near luatex 1.0:) sure ----------------------------------------------------------------- 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 ----------------------------------------------------------------- ___________________________________________________________________________________ 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 ___________________________________________________________________________________