[NTG-context] Protrusion with compound word hyphenation (||)

Rik Kabel context at rik.users.panix.com
Wed Jul 2 15:48:45 CEST 2014


On 2014-07-02 00:52, Wolfgang Schuster wrote:
>
> Am 02.07.2014 um 03:16 schrieb Rik Kabel <context at rik.users.panix.com 
> <mailto:context at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20140702/acb95c7e/attachment.html>


More information about the ntg-context mailing list