On Fri, Jul 11, 2008 at 11:52 AM, Olivier Guéry
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 ?
Just a workaroung, it's up to Hans to fix this in some way. A short solution for the moment is: \def\compoundhyphen{-}
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 ? »
For MkII, I don't think so, MkIV should be possible but Hans or Taco can give you a better answer. You shouldn't forget in some cases like 'X-Rays' a break after the hyphen is not allowed.
We should never cut like this : «foo bar com- posed-word » but « foo bar composed- word. »
Regards, Wolfgang