From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/74987 Path: news.gmane.org!not-for-mail From: S Barmeier Newsgroups: gmane.comp.tex.context Subject: CJK hyphenation/line breaking Date: Sat, 10 Mar 2012 00:53:26 +0530 Message-ID: <4F5A58AE.7010905@googlemail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1331321019 10976 80.91.229.3 (9 Mar 2012 19:23:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 9 Mar 2012 19:23:39 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Fri Mar 09 20:23:38 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 1S65Pe-0001i4-Oa for gctc-ntg-context-518@m.gmane.org; Fri, 09 Mar 2012 20:23:38 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6C621CB2B5; Fri, 9 Mar 2012 20:23:38 +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 ysjoMHZJuXgj; Fri, 9 Mar 2012 20:23:36 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EDB33CB2A2; Fri, 9 Mar 2012 20:23:35 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A9087CB2A2 for ; Fri, 9 Mar 2012 20:23:34 +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 CwMCMJGyVKhF for ; Fri, 9 Mar 2012 20:23:32 +0100 (CET) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id A97A7CB281 for ; Fri, 9 Mar 2012 20:23:32 +0100 (CET) Original-Received: from mail-pz0-f41.google.com (mail-pz0-f41.google.com [209.85.210.41]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q29JNVXZ002393 for ; Fri, 9 Mar 2012 20:23:31 +0100 Original-Received: by dadv6 with SMTP id v6so1957704dad.14 for ; Fri, 09 Mar 2012 11:23:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=VDYgdGssMCbqgmvWLK8VpGM+o8YS9rVft4fsUeaGskE=; b=Y9KG9aoll00mu0b2RSl+8TfuG028K10jGhXAZGtEApZLYJS8fh5hxwU7i4WsHQTMTg Ddg8zAJWCZ7b7+Gb8PScK8fF6bJHgzBpOTAetzzB5MwIo+8zCWhh+dT6lbtK1ttK7wxo LiKoQpneFRZ+CDBYNzW0wT7nJKAxh8xjIjit/Gr7l4KfUHz3U7OfRHpe4ofXFUKX7n1/ EUTXkFH5wTgPrZrZh2jM6XLNt7r7GjMwxlFiekfvl6tRmQXLS/P2/RklUFdLbFrXD4Uv Ycwe1FWT4KXTg+XpyJgNB0XWQxCxPepNcdXU+9w87KGTKUDAnzOWPA/Hjuh5zuO2J+aZ 0gNg== Original-Received: by 10.68.224.233 with SMTP id rf9mr5881275pbc.162.1331321010526; Fri, 09 Mar 2012 11:23:30 -0800 (PST) Original-Received: from [192.168.1.5] ([117.218.48.4]) by mx.google.com with ESMTPS id d4sm4961452pbe.36.2012.03.09.11.23.28 (version=SSLv3 cipher=OTHER); Fri, 09 Mar 2012 11:23:29 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 In-Reply-To: X-Enigmail-Version: 1.3.5 X-Bayes-Prob: 0.1848 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.210.41; 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: 0TGHvnvbF - d400e92d17b9 - 20120309 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 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:74987 Archived-At: 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(?)... Severin ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________