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

Wolfgang Schuster schuster.wolfgang at gmail.com
Wed Jul 2 06:52:37 CEST 2014


Am 02.07.2014 um 03:16 schrieb Rik Kabel <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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20140702/c9c18c60/attachment.html>


More information about the ntg-context mailing list