hunspell / hyphen

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hypenation when hypen is already part of the word

dimztimz opened this issue · comments

I am forwarding the issue hunspell/hunspell#347, wrongly reported under the spellchecker.

Hi,

I am using Hunspell for hyphenate and spell check in InDesign CC2014. I have this issue:

When I use a word with a hyphen sign already in (like Sint-Petersburg), Hunspell does not hyphenate right. Two (both wrong) possibilities:

When I don't have the line 'NOHYPHEN -' in the hyph_nl_NL.dic, it hyphenates like this:
.... ..... .... Sint-
-Petersburg .... ....

In other words, it generates the hyphen but leafs the self typed hyphen.

When i DO use the line 'NOHYPHEN -' in the hyph_nl_NL.dic, it hyphenates like this:
.... ..... ....
Sint-Petersburg .... ....

Which of course is exactly what the line means.

But: In InDesign CS5.5 and earlier, it hyphenated like this:
.... ..... .... Sint-
Petersburg .... ....
Which is exactly what should be done.

When we set Proximity instead of Hunspell it works fine.

What to do???

regards, Tony Meijer