From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/74988 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: CJK hyphenation/line breaking Date: Fri, 9 Mar 2012 20:31:05 +0100 Message-ID: <1824FEFF-1B26-42CD-8864-2A56F376574A@googlemail.com> References: <4F5A58AE.7010905@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1331321481 14383 80.91.229.3 (9 Mar 2012 19:31:21 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 9 Mar 2012 19:31:21 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Mar 09 20:31:20 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S65X6-0006aa-Bx for gctc-ntg-context-518@m.gmane.org; Fri, 09 Mar 2012 20:31:20 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B9EA8CB2C0; Fri, 9 Mar 2012 20:31:19 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id M9uITQEhvKu9; Fri, 9 Mar 2012 20:31:16 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F18EFCB2AA; Fri, 9 Mar 2012 20:31:15 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 64EC6CB2AA for ; Fri, 9 Mar 2012 20:31:15 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id aot9cxmeiBPX for ; Fri, 9 Mar 2012 20:31:13 +0100 (CET) Original-Received: from filter2-nij.mf.surf.net (filter2-nij.mf.surf.net [195.169.124.153]) by balder.ntg.nl (Postfix) with ESMTP id 7C684CB293 for ; Fri, 9 Mar 2012 20:31:13 +0100 (CET) Original-Received: from mail-wi0-f173.google.com (mail-wi0-f173.google.com [209.85.212.173]) by filter2-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q29JVAEX028516 for ; Fri, 9 Mar 2012 20:31:12 +0100 Original-Received: by wibhq7 with SMTP id hq7so674320wib.2 for ; Fri, 09 Mar 2012 11:31:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=xZdiFW9tck/3T8fwMNk5verw4rte720fZJgfcwKlidU=; b=F4aSThXDKUI3GRS6oXAOAznU1JWSMu48gidL7E8Um7M67VB5nxUnMcKSLyXwHLj9zg f+Fob8vJIdHjvz+WSrNo8G78e1XwnzF2dHoi7F8fUapXL1zoE7pcO+4a5pu7xLNbvSux K8nB6/UYKetJ68HgQLUeUcsaNd1c6n9nILoK5NHZyub/Acn3i2OBFKHJ2qUCx7f+/yDU yBAfB5II1OVQTdGVde7V3vQnpZEXtRYSvbJ03sW78UyZ/wLHPllMznOb9lx8WixcFjYf x7VNkk3ANxpXDjkzKsKtqMWYOGQCRzbk4WHGOuLDxZOsulw6NFReK+jW5rdyOwUuTb9O Wk5g== Original-Received: by 10.180.94.33 with SMTP id cz1mr7589298wib.13.1331321470173; Fri, 09 Mar 2012 11:31:10 -0800 (PST) Original-Received: from [192.168.2.36] (p57AFBE3A.dip.t-dialin.net. [87.175.190.58]) by mx.google.com with ESMTPS id w14sm7463541wiv.11.2012.03.09.11.31.07 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 09 Mar 2012 11:31:09 -0800 (PST) In-Reply-To: <4F5A58AE.7010905@googlemail.com> X-Mailer: Apple Mail (2.1257) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.212.173; 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: 0aGHvva70 - a4f8f311f8e8 - 20120309 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.153 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:74988 Archived-At: Am 09.03.2012 um 20:23 schrieb S Barmeier: > Korean has spaces, so I guess I am only asking for CJ, but I was > wondering if it is possible to enable line breaking, i.e. cheap > hyphenation for CJ(K). > I can only speak with certainty for Japanese, but at least here the > rules are quite simple. There is no kerning for Japanese characters, so > when the line is full it spaces all characters evenly (preferably as > close together as the font allows) and dumps everything else to the next > line, no matter if it is in the middle of a word (a concept not quite as > well defined as in languages with spaces anyway). > I can do this by hand if absolutely necessary, by inserting fake spaces > "\ \!", but this gets quite tedious, and it seems line breaking for > CJ(K) would be nice to have. I remember it working about a year and a > half ago(?)=85 \setscript[hanzi] \starttext =85 \stoptext Wolfgang ___________________________________________________________________________= ________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________