From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/87947 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Protrusion with compound word hyphenation (||) Date: Wed, 2 Jul 2014 06:52:37 +0200 Message-ID: References: <53B35D80.5040502@rik.users.panix.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: multipart/mixed; boundary="===============0111497971==" X-Trace: ger.gmane.org 1404276792 31225 80.91.229.3 (2 Jul 2014 04:53:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Jul 2014 04:53:12 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jul 02 06:53:08 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1X2CXY-00070j-N6 for gctc-ntg-context-518@m.gmane.org; Wed, 02 Jul 2014 06:53:04 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6616A102A0 for ; Wed, 2 Jul 2014 06:53:04 +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 6zuPHOaD4xhT for ; Wed, 2 Jul 2014 06:53:04 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 56C3210223 for ; Wed, 2 Jul 2014 06:52:56 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F3BC7101E7 for ; Wed, 2 Jul 2014 06:52:52 +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 jzxfTHtQj3sp for ; Wed, 2 Jul 2014 06:52:48 +0200 (CEST) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id BBA23101E6 for ; Wed, 2 Jul 2014 06:52:43 +0200 (CEST) Original-Received: from mail-we0-x233.google.com (mail-we0-x233.google.com [IPv6:2a00:1450:400c:c03::233]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s624qgjm032247 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Wed, 2 Jul 2014 06:52:43 +0200 Original-Received: by mail-we0-f179.google.com with SMTP id w62so10638142wes.10 for ; Tue, 01 Jul 2014 21:52:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:message-id:mime-version:subject:date:references :to:in-reply-to; bh=AoeWNeYKp2vGcEUvoDcH7VjWdgFAIPhF/Oj5sA6+GiY=; b=URE3Ge2W3Ex6pvD37hjJW2NG+0R694l28h8nIjUOq7D5KnEZM8yyY+T/b6j/4rcOKF 0c1x//zW6/K7ogHIDZUy12hrzyhShBGZt/rMubU2BpKnuwEkBLQw0BRBEgJKCm4sk9Ao dsT1jub6iRQaB6GULHXC86pCvGJKFemAeefkCVVvHOQM4OTvjRlEuKcepYwLCl8Dy0bs bEFoEX+oYZTLx4BAPTz9aXS/vkAeG2wfxxGGFWcaeS0ex6bX0GnaurSfALcTmsqfpWTB VBfDXGyWKbdoqZG16yUpe2RLSp6HMhbzr4fGRjQglqUUt+kGtDQNwkvax1uzocumMgWE J4Sg== X-Received: by 10.180.206.109 with SMTP id ln13mr1736201wic.17.1404276762558; Tue, 01 Jul 2014 21:52:42 -0700 (PDT) Original-Received: from keima.localdomain (x2f378a8.dyn.telefonica.de. [2.243.120.168]) by mx.google.com with ESMTPSA id cd1sm52505770wjc.19.2014.07.01.21.52.39 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 01 Jul 2014 21:52:39 -0700 (PDT) In-Reply-To: <53B35D80.5040502@rik.users.panix.com> X-Mailer: Apple Mail (2.1878.6) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c03::233; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0RMlgQGPS - 7f6a3387a603 - 20140702 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:87947 Archived-At: --===============0111497971== Content-Type: multipart/alternative; boundary="Apple-Mail=_079EA41F-FB87-4A09-9FAB-49D3A879577D" --Apple-Mail=_079EA41F-FB87-4A09-9FAB-49D3A879577D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 Am 02.07.2014 um 03:16 schrieb Rik Kabel : > I notice that with compound words broken across lines protrusion does = not get applied. This looks pretty rough when there are normal = hyphenated words in the same paragraph. >=20 > WE (exaggerated, but demonstrates the point): > \setuppapersize [monarch] > \definefontfeature [default] [protrusion=3Dquality] > \setupalign [hanging] > \setuptolerance [horizontal,strict] > \setuphyphenmark [sign=3Dsmall] > \showframe [text] [text] > \starttext > \dorecurse{21}{Multisyllabic||words||separated||by||hyphens. } > \stoptext > Is this expected behavior? Can it be changed? Use a normal hyphen and the \setbreakpoints command. \setuppapersize [monarch] \definefontfeature [default] [default] [protrusion=3Dquality] \setupalign [hanging] \setuptolerance [horizontal,strict] \setbreakpoints [compound] \showframe [text] [text] \starttext \dorecurse{21}{Multisyllabic-words-separated-by-hyphens. } \stoptext Wolfgang --Apple-Mail=_079EA41F-FB87-4A09-9FAB-49D3A879577D Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=iso-8859-1
Am 02.07.2014 um 03:16 schrieb Rik Kabel <context@rik.users.panix.com>:

I notice that with compound words broken across lines protrusion does not get applied. This looks pretty rough when there are normal hyphenated words in the same paragraph.

WE (exaggerated, but demonstrates the point):
\setuppapersize    [monarch]
\definefontfeature [default] [protrusion=quality]
\setupalign        [hanging]
\setuptolerance    [horizontal,strict]
\setuphyphenmark   [sign=small]
\showframe         [text] [text]
\starttext
\dorecurse{21}{Multisyllabic||words||separated||by||hyphens. }
\stoptext
Is this expected behavior? Can it be changed?

Use a normal hyphen and the \setbreakpoints command.

\setuppapersize    [monarch]
\definefontfeature [default] [default] [protrusion=quality]
\setupalign        [hanging]
\setuptolerance    [horizontal,strict]
\setbreakpoints    [compound]
\showframe         [text] [text]
\starttext
\dorecurse{21}{Multisyllabic-words-separated-by-hyphens. }
\stoptext

Wolfgang

--Apple-Mail=_079EA41F-FB87-4A09-9FAB-49D3A879577D-- --===============0111497971== 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 ___________________________________________________________________________________ --===============0111497971==--