On 2014-07-02 00:52, Wolfgang Schuster wrote:

Am 02.07.2014 um 03:16 schrieb Rik Kabel <cont...@rik.users.panix.com <mailto:cont...@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
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to