2008/7/11 Wolfgang Schuster
On Fri, Jul 11, 2008 at 3:45 AM, Olivier Guéry
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=-]
It works. Is this the new usual syntax (please, no ! ;)) or just a workaround ? Is there something to setup that hyphenate should alway cut composed words after the « - » ? For the moment, I must enter all composed word with « || » ? Like « où va||t||il ? » instead of « où va-t-il ? » We should never cut like this : «foo bar com- posed-word » but « foo bar composed- word. » Cheers, Olivier. -- [Message tapé sur un clavier Bépo : http://www.clavier-dvorak.org ] http://nemolivier.blogspot.com