From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/56661 Path: news.gmane.org!not-for-mail From: James Fisher Newsgroups: gmane.comp.tex.context Subject: Re: Occasional words sticking out from flush-right Date: Wed, 3 Mar 2010 20:41:17 +0000 Message-ID: <771da05a1003031241l4867c1fnbea8d174712bac2b@mail.gmail.com> References: <771da05a1003031119x16b761c1j211e16db19b668e@mail.gmail.com> <4B8EBA4A.4010901@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1414475817==" X-Trace: dough.gmane.org 1267648891 30069 80.91.229.12 (3 Mar 2010 20:41:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 3 Mar 2010 20:41:31 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Mar 03 21:41:26 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 1NmvNl-00062N-Hy for gctc-ntg-context-518@m.gmane.org; Wed, 03 Mar 2010 21:41:25 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1EEE6C9DC5; Wed, 3 Mar 2010 21:41:25 +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 NHXnXZ48m5Fk; Wed, 3 Mar 2010 21:41:22 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6F2AFC9D8B; Wed, 3 Mar 2010 21:41:22 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DE2E4C9D8B for ; Wed, 3 Mar 2010 21:41:20 +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 sJCAbkvgaBYT for ; Wed, 3 Mar 2010 21:41:18 +0100 (CET) Original-Received: from mail-ew0-f227.google.com (mail-ew0-f227.google.com [209.85.219.227]) by balder.ntg.nl (Postfix) with ESMTP id 53CC0C9D80 for ; Wed, 3 Mar 2010 21:41:18 +0100 (CET) Original-Received: by ewy27 with SMTP id 27so284980ewy.34 for ; Wed, 03 Mar 2010 12:41:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=KaWVWdOwY7cBJWvctF0H1LoW/F2pNNkaCJ+lVqiLTcY=; b=HRICnUp9r4jjHhSMEnCi9GX99CGcs1QOzZ8YhFv9GUfinJD5S9UhSs2G72mfkiJKL1 9ovRE5H8pZv2255SiJlFYJ3kyX3bZ9G3TBHyTZbeeBy7jg99kFbFFkobavEUuVi2bonA qKHrSqc1e+TI0kOfB0Ss499bEkTufNR4azGNE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=IFuByf43LsXjBKWMn4uSH9nrbWUMfBoNHw/Na8Gh+FPjkaK8J+YnTcFSXIndEzdvP4 n+aXIFcwNf+AaP4hCvQmXhivuiT6FiR0cJ23SxgaZSFRo8FIlag9gowvkYxKuCghdOwn 2Bv7JOkFsr6wz4rH9OTgsfOCgWvxof5azfCNI= Original-Received: by 10.213.100.203 with SMTP id z11mr96495ebn.43.1267648877518; Wed, 03 Mar 2010 12:41:17 -0800 (PST) In-Reply-To: <4B8EBA4A.4010901@googlemail.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:56661 Archived-At: --===============1414475817== Content-Type: multipart/alternative; boundary=001636c5b9850b62c80480eb81d4 --001636c5b9850b62c80480eb81d4 Content-Type: text/plain; charset=ISO-8859-1 Certainly works -- thanks Wolfgang. Stymies me how people on this mailing list know this stuff -- even a Google search for "setbreakpoints", assuming I knew the command in advance, returns nada. James On Wed, Mar 3, 2010 at 7:36 PM, Wolfgang Schuster < schuster.wolfgang@googlemail.com> wrote: > 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 > > ___________________________________________________________________________________ > --001636c5b9850b62c80480eb81d4 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Certainly works -- thanks Wolfgang.

Stymies me how people on this ma= iling list know this stuff -- even a Google search for "setbreakpoints= ", assuming I knew the command in advance, returns nada.


James

On Wed, Mar 3, 2010 at 7:36 PM, Wol= fgang Schuster <schuster.wolfgang@googlemail.com> wrote:
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 s= mall, the occasional word sticks out from the otherwise flush right. =A0I&#= 39;ve previously seen an example of this in an image on the contextgarden w= iki, but now can't find it. =A0To reproduce what I mean, compile this w= ith Mark IV:

\mainlanguage[en]
\usetypescript[palatino]
\setupbodyfont[palatino,11pt]
In this case you don't need \usetypescript.

\setuppapersize[A4][A4]

\setuphead[title][header=3Dempty]

\starttext
\title{Personal statement}

\startcolumns[n=3D2]
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. =A0In this situation, = I would much prefer that that string is hyphenated, using one of the hyphen= s 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 string= s of words that are already hyphenated. =A0Is this true? =A0If so, is it de= liberate? =A0And how do I turn it off? =A0(And do other people agree with m= e 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 t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage =A0: http://= www.pragma-ade.nl / http://tex.aanhet.net
archive =A0: http://foundry.supelec.fr/projects/contextrev/
wiki =A0 =A0 : http:= //contextgarden.net
___________________________________________________________________________= ________

--001636c5b9850b62c80480eb81d4-- --===============1414475817== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1414475817==--