From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/56657 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Occasional words sticking out from flush-right Date: Wed, 03 Mar 2010 20:36:42 +0100 Message-ID: <4B8EBA4A.4010901@googlemail.com> References: <771da05a1003031119x16b761c1j211e16db19b668e@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: dough.gmane.org 1267645018 15457 80.91.229.12 (3 Mar 2010 19:36:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 3 Mar 2010 19:36:58 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Mar 03 20:36:54 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from [195.12.62.10] (helo=balder.ntg.nl) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NmuNJ-0004xM-JD for gctc-ntg-context-518@m.gmane.org; Wed, 03 Mar 2010 20:36:53 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 08647C9CFE; Wed, 3 Mar 2010 20:36:53 +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 fohRZFUbixM0; Wed, 3 Mar 2010 20:36:50 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 625ADC9D0E; Wed, 3 Mar 2010 20:36:50 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 30696C9D0E for ; Wed, 3 Mar 2010 20:36:49 +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 tpxIpBXtH-DI for ; Wed, 3 Mar 2010 20:36:46 +0100 (CET) Original-Received: from mail-fx0-f215.google.com (mail-fx0-f215.google.com [209.85.220.215]) by balder.ntg.nl (Postfix) with ESMTP id C8A6DC9CFE for ; Wed, 3 Mar 2010 20:36:46 +0100 (CET) Original-Received: by fxm7 with SMTP id 7so311973fxm.34 for ; Wed, 03 Mar 2010 11:36:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=/4WFbPWAikOkszXtvBenwN4fChwT5CaW0II4NuyCJGk=; b=ALevoFBN8uM9yL1LfEpENEPaD8HddNp9EU2lvZLfE5cyeWSrsZOzkKFMiiCLF7npM0 cm8p9XT2RlZLQ3Ge/Qz6nMRN0XSi/A76IZpCCbcq6a2EQvaSDhhIc1QEuFeLyx9g8p+C UAuj/Wfi2yDfPkz+5SM+2s9PZAHVDSl/Cy2kk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=vlVrQfxWmIK3CAqFZQMSbcQ3uBqkqqVquqAc8nkggLw+IBAakeo+jRD1Tj02bffm5A Rmj6+NbzyUkM0r2KNy4UuzPIpxdzMORUyBIGoJqG4BRD7WHrjYrdG3Ipvtyh7Sjh3w/A Hx3aO3aOz+MVyimRi1zlW6iFge2+AAKSLs+XE= Original-Received: by 10.223.14.71 with SMTP id f7mr484879faa.48.1267645006412; Wed, 03 Mar 2010 11:36:46 -0800 (PST) Original-Received: from ?192.168.2.23? (p5B295123.dip.t-dialin.net [91.41.81.35]) by mx.google.com with ESMTPS id 2sm9750915fks.42.2010.03.03.11.36.43 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 03 Mar 2010 11:36:43 -0800 (PST) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.1.8) Gecko/20100216 Thunderbird/3.0.2 In-Reply-To: <771da05a1003031119x16b761c1j211e16db19b668e@mail.gmail.com> 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:56657 Archived-At: Am 03.03.10 20:19, schrieb James Fisher: > Hi, > > > I'm experiencing an issue where, when the width of a block of text is > small, the occasional word sticks out from the otherwise flush right. > I've previously seen an example of this in an image on the > contextgarden wiki, but now can't find it. To reproduce what I mean, > compile this with Mark IV: > > \mainlanguage[en] > \usetypescript[palatino] > \setupbodyfont[palatino,11pt] In this case you don't need \usetypescript. > \setuppapersize[A4][A4] > > \setuphead[title][header=empty] > > \starttext > \title{Personal statement} > > \startcolumns[n=2] > This heavily-hyphenated > jauntily-formatted > flush-left > flush-right > justified-text > paragraph set in > a two-column layout and > subtly-quirky-but-never-offensive > Palatino shouldn't produce > out-of-flush > sticking-out-like-a-sore-thumb > words from the > flush-right. > \stopcolumns > \stoptext > > > In this example, the string 'sticking-out-like-a-sore-thumb' sticks > out to approx 3mm from the right edge of the paper. In this > situation, I would much prefer that that string is hyphenated, using > one of the hyphens already in the string. > > Based on one other test (in which my text was far less hyphenated than > the above), it seems that the hyphenation algorithm refuses to > hyphenate strings of words that are already hyphenated. Is this > true? If so, is it deliberate? And how do I turn it off? (And do > other people agree with me that it's awfully ugly?) Add \setbreakpoints[compound] to your file. Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________