Protrusion with compound word hyphenation (||)
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? -- Rik Kabel
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
On 2014-07-02 00:52, Wolfgang Schuster wrote:
Am 02.07.2014 um 03:16 schrieb Rik Kabel
mailto: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
participants (2)
-
Rik Kabel
-
Wolfgang Schuster