From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/87955 Path: news.gmane.org!not-for-mail From: Rik Kabel Newsgroups: gmane.comp.tex.context Subject: Re: Protrusion with compound word hyphenation (||) Date: Wed, 02 Jul 2014 09:48:45 -0400 Message-ID: <53B40DBD.4030904@rik.users.panix.com> References: <53B35D80.5040502@rik.users.panix.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2112515266==" X-Trace: ger.gmane.org 1404308970 24335 80.91.229.3 (2 Jul 2014 13:49:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Jul 2014 13:49:30 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jul 02 15:49:25 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 1X2KuQ-00037C-Oe for gctc-ntg-context-518@m.gmane.org; Wed, 02 Jul 2014 15:49:14 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C11B01028F for ; Wed, 2 Jul 2014 15:49:13 +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 e4D+5xEU6Ffa for ; Wed, 2 Jul 2014 15:49:13 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 4688E10223 for ; Wed, 2 Jul 2014 15:49:05 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EBDB6101E7 for ; Wed, 2 Jul 2014 15:49:00 +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 YAQgYgrojBKu for ; Wed, 2 Jul 2014 15:48:56 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id D91D3101E6 for ; Wed, 2 Jul 2014 15:48:51 +0200 (CEST) Original-Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s62Dmn9p003437 for ; Wed, 2 Jul 2014 15:48:50 +0200 Original-Received: from [192.168.201.10] (cpe-67-240-55-150.nycap.res.rr.com [67.240.55.150]) by mailbackend.panix.com (Postfix) with ESMTP id A57272E92B for ; Wed, 2 Jul 2014 09:48:48 -0400 (EDT) User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=166.84.1.89; country=US; region=New York; city=Richmond Hill; latitude=40.7005; longitude=-73.8345; http://maps.google.com/maps?q=40.7005,-73.8345&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0VMlpMNOs - bd20a31388ec - 20140702 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 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:87955 Archived-At: This is a multi-part message in MIME format. --===============2112515266== Content-Type: multipart/alternative; boundary="------------050601070309010903030106" This is a multi-part message in MIME format. --------------050601070309010903030106 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 2014-07-02 00:52, Wolfgang Schuster wrote: > > 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. >> >> 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 > Perfect, thank you Wolfgang. And it leaves the text much easier-to-read as well. -- Rik Kabel --------------050601070309010903030106 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
On 2014-07-02 00:52, Wolfgang Schuster wrote:

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

Perfect, thank you Wolfgang. And it leaves the text much easier-to-read as well.

--
Rik Kabel
--------------050601070309010903030106-- --===============2112515266== 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 ___________________________________________________________________________________ --===============2112515266==--