From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/68610 Path: news.gmane.org!not-for-mail From: Otso Helenius Newsgroups: gmane.comp.tex.context Subject: Hyphenating compound words in MKIV & microtypography Date: Mon, 23 May 2011 15:07:04 +0300 Message-ID: <20110523120704.GA9754@innsmouth.lan> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1306152439 16172 80.91.229.12 (23 May 2011 12:07:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 23 May 2011 12:07:19 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Mon May 23 14:07:15 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QOTuj-0005OZ-HK for gctc-ntg-context-518@m.gmane.org; Mon, 23 May 2011 14:07:13 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7EA57CAD38; Mon, 23 May 2011 14:07:11 +0200 (CEST) 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 yMdO6h5rluHT; Mon, 23 May 2011 14:07:08 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D589BCAD33; Mon, 23 May 2011 14:07:08 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 08A60CAD33 for ; Mon, 23 May 2011 14:07:08 +0200 (CEST) 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 o3+4EGM9WPgG for ; Mon, 23 May 2011 14:07:06 +0200 (CEST) Original-Received: from filter3-nij.mf.surf.net (filter3-nij.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id 3A745CAD32 for ; Mon, 23 May 2011 14:07:06 +0200 (CEST) Original-Received: from innsmouth.pi-xi.net (pi-xi.net [83.145.207.200]) by filter3-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p4NC74CE000629 for ; Mon, 23 May 2011 14:07:05 +0200 Original-Received: by innsmouth.pi-xi.net (Postfix, from userid 500) id 7F7AD1C0729; Mon, 23 May 2011 15:07:04 +0300 (EEST) Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-12-10) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=83.145.207.200; country=FI; region=13; city=Espoo; latitude=60.2167; longitude=24.6667; http://maps.google.com/maps?q=60.2167,24.6667&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0dEL075vw - c96d9b0fbda4 - 20110523 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 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:68610 Archived-At: Hi, MKIV seems to have a problem in hyphenating long finnish compound words in = MKIV (2011.05.18 22:26). Here is a minimalist example (columns added to exaggerate the problem): \mainlanguage[fi] \language[fi] \starttext \startcolumns[n=3D3] kolmivaihekilowattituntimittari ymp=E4rist=F6liiketoiminta ep=E4j=E4rjestel= m=E4llisyydellistyttym=E4tt=F6myydell=E4ns=E4k=E4=E4n j=E4rjestelm=E4llisen= telentelem=E4tt=F6myydell=E4ns=E4k=E4=E4n = \stopcolumns \stoptext Similarly with en-hyphenation and \input knuth, some of the lines stretch o= ut in an ugly fashion. What am I doing wrong? I don't have these problems in LaTeX. P.S. The punctuation characters should be partially hung out in a justified= paragraph (similar to what microtype package does on LaTeX). Wikipedia says ConTeXt has "interfac= es for handling microtypography" but they don't seem as apparent and as easy as using micro= type on LaTeX. The wiki article Protrusion#MkIV presents \definefontfeature but I find it = counterintuitive that one has to use \definefontfeature[default][default][protrusion=3Dquality,expansion=3Dquali= ty] \setupalign[hz,hanging] to enable the features. It is unclear if these lines switch the features on= globally for all loaded fonts (for example ttf/otf ones defined with \starttypescript). IMHO these featur= es should be enabled by default because they produce better typographic quality by default (which should be= the preference), and could be switched off anyway if wanted. The less setup lines one has to add before \= starttext to get high quality results the better. Otso Helenius ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________