# [NTG-context] Hyphenmark and composed words

Wolfgang Schuster schuster.wolfgang at googlemail.com
Fri Jul 11 08:39:30 CEST 2008

On Fri, Jul 11, 2008 at 3:45 AM, Olivier Guéry <nemolivier at gmail.com> wrote:
> Hello,
>
> I tried to force hyphen in composed word with this : « composed||word
> » as explain in the manual.
> (Strange that context can't know that he can cut composed words after
> the dash, maybe it's only a french rule).
>
> In french, the hyphenmark is « - », not « – » (endash).
>
> So I tried \setuphyphenmark [sign = -] but no effect, I still get a « – ».
> This syntax : « composed|-|word » works.

\definetextmodediscretionary {}
{\hyphenliketextmodediscretionary\defaultdiscretionaryhyphen\defaultdiscretionaryhyphen\empty\defaultdiscretionaryhyphen}

\setuphyphenmark[sign=-]

\starttext
composed||word
\stoptext

Wolfgang

More information about the ntg-context mailing list